Changeset 17427 for trunk/wp-includes/functions.php
- Timestamp:
- 02/09/2011 05:06:22 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r17251 r17427 3035 3035 */ 3036 3036 function wp_filter_object_list( $list, $args = array(), $operator = 'and', $field = false ) { 3037 if ( ! is_array( $list ) ) 3038 return array(); 3039 3037 3040 $list = wp_list_filter( $list, $args, $operator ); 3038 3041 … … 3058 3061 */ 3059 3062 function wp_list_filter( $list, $args = array(), $operator = 'AND' ) { 3063 if ( ! is_array( $list ) ) 3064 return array(); 3065 3060 3066 if ( empty( $args ) ) 3061 3067 return $list;
Note: See TracChangeset
for help on using the changeset viewer.