From 51905ec6c7f23fbeaded8777ec48cc28fa5d5026 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 1 Oct 2012 14:26:45 +0000 Subject: [PATCH] Revert stowaway in [22087] git-svn-id: https://develop.svn.wordpress.org/trunk@22088 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/comment.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wp-includes/comment.php b/wp-includes/comment.php index ef1f90b7f5..d0223b7666 100644 --- a/wp-includes/comment.php +++ b/wp-includes/comment.php @@ -263,10 +263,6 @@ class WP_Comment_Query { $approved = "comment_approved = '0'"; elseif ( 'approve' == $status ) $approved = "comment_approved = '1'"; - elseif ( 'all' == $status ) - $approved = "( comment_approved = '0' OR comment_approved = '1' )"; - elseif ( 'full' == $status ) - $approved = '0 = 0'; elseif ( ! empty( $status ) ) $approved = $wpdb->prepare( "comment_approved = %s", $status ); else