Pink the whites.

git-svn-id: https://develop.svn.wordpress.org/trunk@17435 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2011-02-09 17:35:36 +00:00
parent 683912a877
commit 451d7d8ffb
14 changed files with 38 additions and 38 deletions

View File

@@ -3072,7 +3072,7 @@ function wp_list_filter( $list, $args = array(), $operator = 'AND' ) {
foreach ( $list as $key => $obj ) {
$matched = count( array_intersect_assoc( (array) $obj, $args ) );
if ( ( 'AND' == $operator && $matched == $count )
if ( ( 'AND' == $operator && $matched == $count )
|| ( 'OR' == $operator && $matched <= $count )
|| ( 'NOT' == $operator && 0 == $matched ) ) {
$filtered[$key] = $obj;