mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
Revert stowaway in [22087]
git-svn-id: http://core.svn.wordpress.org/trunk@22088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
75e64cface
commit
b1834eae16
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user