mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 06:29:30 +00:00
Allow IP comment search to search spam if initiated from spam page. props vladimir_kolesnikov. fixes #8394
git-svn-id: http://svn.automattic.com/wordpress/trunk@10143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
91082d58b1
commit
fc9076f6e9
@ -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…
x
Reference in New Issue
Block a user