mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-24 07:14:28 +00:00
Load the meta box sortables JS on the Edit Comment screen. props SergeyBiryukov. fixes #21499.
git-svn-id: https://develop.svn.wordpress.org/trunk@21697 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -376,9 +376,9 @@ function wp_default_scripts( &$scripts ) {
|
||||
'comma' => _x( ',', 'tag delimiter' ),
|
||||
) );
|
||||
|
||||
$scripts->add( 'link', "/wp-admin/js/link$suffix.js", array('wp-lists', 'postbox'), false, 1 );
|
||||
$scripts->add( 'link', "/wp-admin/js/link$suffix.js", array( 'wp-lists', 'postbox' ), false, 1 );
|
||||
|
||||
$scripts->add( 'comment', "/wp-admin/js/comment$suffix.js", array('jquery') );
|
||||
$scripts->add( 'comment', "/wp-admin/js/comment$suffix.js", array( 'jquery', 'postbox' ) );
|
||||
$scripts->add_data( 'comment', 'group', 1 );
|
||||
did_action( 'init' ) && $scripts->localize( 'comment', 'commentL10n', array(
|
||||
'submittedOn' => __('Submitted on:')
|
||||
|
||||
Reference in New Issue
Block a user