mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Add hotkeys.js to all pages that list comments and prevent error if not loaded, see #7643
git-svn-id: https://develop.svn.wordpress.org/trunk@8780 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -131,6 +131,7 @@ case 'edit':
|
||||
wp_enqueue_script('media-upload');
|
||||
wp_enqueue_script('word-count');
|
||||
wp_enqueue_script( 'admin-comments' );
|
||||
wp_enqueue_script( 'jquery-table-hotkeys' );
|
||||
|
||||
if ( current_user_can('edit_post', $post_ID) ) {
|
||||
if ( $last = wp_check_post_lock( $post->ID ) ) {
|
||||
|
||||
Reference in New Issue
Block a user