mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 12:14:25 +00:00
Publish box: apply changes post.js to comment.js
See [22250], [27035], [24046], [33340] and [33341]. Fixes #33063. git-svn-id: https://develop.svn.wordpress.org/trunk@33348 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -523,7 +523,9 @@ function wp_default_scripts( &$scripts ) {
|
||||
$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:')
|
||||
'submittedOn' => __( 'Submitted on:' ),
|
||||
/* translators: 1: month, 2: day, 3: year, 4: hour, 5: minute */
|
||||
'dateFormat' => __( '%1$s %2$s, %3$s @ %4$s:%5$s' )
|
||||
) );
|
||||
|
||||
$scripts->add( 'admin-gallery', "/wp-admin/js/gallery$suffix.js", array( 'jquery-ui-sortable' ) );
|
||||
|
||||
Reference in New Issue
Block a user