Allow IP comment search to search spam if initiated from spam page. props vladimir_kolesnikov. fixes #8394
git-svn-id: https://develop.svn.wordpress.org/trunk@10143 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3bdf883c22
commit
2c9d6c5946
@ -2059,7 +2059,10 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true,
|
||||
}
|
||||
echo '<a href="edit-comments.php?s=';
|
||||
comment_author_IP();
|
||||
echo '&mode=detail">';
|
||||
echo '&mode=detail';
|
||||
if ( 'spam' == $comment_status )
|
||||
echo '&comment_status=spam';
|
||||
echo '">';
|
||||
comment_author_IP();
|
||||
echo '</a>';
|
||||
} //current_user_can
|
||||
|
Loading…
Reference in New Issue
Block a user