Ticket #21499: 21499.3.patch
File 21499.3.patch, 1.2 KB (added by , 13 years ago) |
---|
-
wp-admin/js/comment.js
1 1 jQuery(document).ready( function($) { 2 2 3 postboxes.add_postbox_toggles('comment'); 4 3 5 var stamp = $('#timestamp').html(); 4 6 $('.edit-timestamp').click(function () { 5 7 if ($('#timestampdiv').is(":hidden")) { -
wp-includes/script-loader.php
376 376 'comma' => _x( ',', 'tag delimiter' ), 377 377 ) ); 378 378 379 $scripts->add( 'link', "/wp-admin/js/link$suffix.js", array( 'wp-lists', 'postbox'), false, 1 );379 $scripts->add( 'link', "/wp-admin/js/link$suffix.js", array( 'wp-lists', 'postbox' ), false, 1 ); 380 380 381 $scripts->add( 'comment', "/wp-admin/js/comment$suffix.js", array( 'jquery') );381 $scripts->add( 'comment', "/wp-admin/js/comment$suffix.js", array( 'jquery', 'postbox' ) ); 382 382 $scripts->add_data( 'comment', 'group', 1 ); 383 383 did_action( 'init' ) && $scripts->localize( 'comment', 'commentL10n', array( 384 384 'submittedOn' => __('Submitted on:')