Ticket #18092: 18092.diff
File 18092.diff, 612 bytes (added by , 14 years ago) |
---|
-
wp-includes/functions.php
3182 3182 foreach ( $list as $key => $obj ) { 3183 3183 $matched = count( array_intersect_assoc( (array) $obj, $args ) ); 3184 3184 if ( ( 'AND' == $operator && $matched == $count ) 3185 || ( 'OR' == $operator && $matched <= $count)3186 || ( 'NOT' == $operator && 0 ==$matched ) ) {3185 || ( 'OR' == $operator && $matched ) 3186 || ( 'NOT' == $operator && ! $matched ) ) { 3187 3187 $filtered[$key] = $obj; 3188 3188 } 3189 3189 }