Make WordPress Core


Ignore:
Timestamp:
09/01/2008 05:28:41 AM (17 years ago)
Author:
ryan
Message:

Comment hotkey: move to next or previous page on pressing next/prev at end of the current page. Prop nbachiyski. see #7643

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r8784 r8789  
    161161        $scripts->add( 'admin-comments', '/wp-admin/js/edit-comments.js', array('wp-lists', 'jquery-ui-draggable', 'jquery-ui-resizable', 'quicktags'), '20080828' );
    162162        $scripts->localize( 'admin-comments', 'adminCommentsL10n', array(
    163             'pending' => __('%i% pending') // must look like: "# blah blah"
     163            'pending' => __('%i% pending'), // must look like: "# blah blah"
     164            'hotkeys_highlight_first' => isset($_GET['hotkeys_highlight_first']),
     165            'hotkeys_highlight_last' => isset($_GET['hotkeys_highlight_last']),
    164166        ) );
    165167        $scripts->add( 'admin-users', '/wp-admin/js/users.js', array('wp-lists'), '20070823' );
Note: See TracChangeset for help on using the changeset viewer.