Changeset 13770 for trunk/wp-includes/query.php
- Timestamp:
- 03/19/2010 09:29:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r13758 r13770 2235 2235 $where .= $wpdb->prepare(" AND $wpdb->postmeta.meta_key = %s ", $q['meta_key']); 2236 2236 if ( ! empty($q['meta_value']) ) { 2237 if ( ! isset($q['meta_compare']) ||empty($q['meta_compare']) || ! in_array($q['meta_compare'], array('=', '!=', '>', '>=', '<', '<=')) )2237 if ( empty($q['meta_compare']) || ! in_array($q['meta_compare'], array('=', '!=', '>', '>=', '<', '<=')) ) 2238 2238 $q['meta_compare'] = '='; 2239 2239
Note: See TracChangeset
for help on using the changeset viewer.