From 2c9d6c594650063daebc77589b8f7f718631bc41 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Tue, 9 Dec 2008 12:31:41 +0000 Subject: [PATCH] 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 --- wp-admin/includes/template.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index bce9fb2b44..e856b9888b 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -2059,7 +2059,10 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true, } echo ''; + echo '&mode=detail'; + if ( 'spam' == $comment_status ) + echo '&comment_status=spam'; + echo '">'; comment_author_IP(); echo ''; } //current_user_can