Ticket #47246: 47246.patch
File 47246.patch, 818 bytes (added by , 5 years ago) |
---|
-
wp-admin/includes/meta-boxes.php
804 804 function post_comment_meta_box( $post ) { 805 805 wp_nonce_field( 'get-comments', 'add_comment_nonce', false ); 806 806 ?> 807 <p class="hide-if-no-js" id="add-new-comment"><button type="button" class="button" onclick="window.commentReply && commentReply.addcomment(<?php echo $post->ID; ?>);"><?php _e( 'Add comment' ); ?></button></p>807 <p class="hide-if-no-js" id="add-new-comment"><button type="button" class="button" onclick="window.commentReply && commentReply.addcomment(<?php echo $post->ID; ?>);"><?php _e( 'Add Comment' ); ?></button></p> 808 808 <?php 809 809 810 810 $total = get_comments(