Changeset 30031 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 10/26/2014 10:56:36 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r29945 r30031 833 833 */ 834 834 protected static function is_first_order_clause( $query ) { 835 return empty( $query ) || array_key_exists( 'terms', $query ) || array_key_exists( 'taxonomy', $query ) || array_key_exists( 'include_children', $query ) || array_key_exists( 'field', $query ) || array_key_exists( 'operator', $query);835 return is_array( $query ) && ( empty( $query ) || array_key_exists( 'terms', $query ) || array_key_exists( 'taxonomy', $query ) || array_key_exists( 'include_children', $query ) || array_key_exists( 'field', $query ) || array_key_exists( 'operator', $query ) ); 836 836 } 837 837
Note: See TracChangeset
for help on using the changeset viewer.