Make WordPress Core

Ticket #21499: 21499.2.patch

File 21499.2.patch, 946 bytes (added by SergeyBiryukov, 12 years ago)

Refreshed after [21592]

  • wp-admin/comment.php

     
    5959        '<p>' . __( '<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>'
    6060        );
    6161
    62         wp_enqueue_script('comment');
    63         require_once('./admin-header.php');
     62        wp_enqueue_script( 'comment' );
     63        wp_enqueue_script( 'postbox' );
     64        require_once( './admin-header.php' );
    6465
    6566        $comment_id = absint( $_GET['c'] );
    6667
  • wp-admin/js/comment.js

     
    11jQuery(document).ready( function($) {
    22
     3        postboxes.add_postbox_toggles('comment');
     4
    35        var stamp = $('#timestamp').html();
    46        $('.edit-timestamp').click(function () {
    57                if ($('#timestampdiv').is(":hidden")) {