Ticket #43025: 43025.diff
File 43025.diff, 503 bytes (added by , 7 years ago) |
---|
-
wp-includes/functions.php
diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 9b5f292..398249b 100644
a b function wp_filter_object_list( $list, $args = array(), $operator = 'and', $fiel 3756 3756 * @return array Array of found values. 3757 3757 */ 3758 3758 function wp_list_filter( $list, $args = array(), $operator = 'AND' ) { 3759 if ( ! is_array( $list ) ) {3759 if ( ! is_array( $list ) && ! is_a( $list, 'Traversable' ) ) { 3760 3760 return array(); 3761 3761 } 3762 3762