Changeset 14495
- Timestamp:
- 05/07/2010 03:24:47 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r14410 r14495 2934 2934 foreach ( $list as $key => $obj ) { 2935 2935 $matched = count(array_intersect_assoc(get_object_vars($obj), $args)); 2936 if ( ('and' == $operator && $matched == $count) || ('or' == $operator && $matched <= $count) ) 2937 $filtered[$key] = $field ? $obj->$field : $obj; 2936 if ( ('and' == $operator && $matched == $count) || ('or' == $operator && $matched <= $count) ) { 2937 if ( $field ) 2938 $filtered[] = $obj->$field; 2939 else 2940 $filtered[$key] = $obj; 2941 } 2938 2942 } 2939 2943
Note: See TracChangeset
for help on using the changeset viewer.