mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
These functions import $wpdb but do not use it.
See #27882. git-svn-id: https://develop.svn.wordpress.org/trunk@28539 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -623,8 +623,6 @@ function post_comment_meta_box_thead($result) {
|
||||
* @param object $post
|
||||
*/
|
||||
function post_comment_meta_box( $post ) {
|
||||
global $wpdb;
|
||||
|
||||
wp_nonce_field( 'get-comments', 'add_comment_nonce', false );
|
||||
?>
|
||||
<p class="hide-if-no-js" id="add-new-comment"><a class="button" href="#commentstatusdiv" onclick="window.commentReply && commentReply.addcomment(<?php echo $post->ID; ?>);return false;"><?php _e('Add comment'); ?></a></p>
|
||||
|
||||
Reference in New Issue
Block a user