Ticket #13109: wp_filter_object_list.2.diff
| File wp_filter_object_list.2.diff, 700 bytes (added by , 16 years ago) |
|---|
-
wp-includes/functions.php
2933 2933 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 2940 2944 return $filtered;
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)