WordPress.org

Make WordPress Core

Ticket #21499: 21499.patch

File 21499.patch, 958 bytes (added by SergeyBiryukov, 3 years ago)
  • 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.dev.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")) {