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:
Scott Taylor
2014-05-22 17:36:42 +00:00
parent ce653e1925
commit 312ef7b264
8 changed files with 3 additions and 16 deletions

View File

@@ -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>