Changeset 34090
- Timestamp:
- 09/12/2015 09:05:14 PM (9 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-meta-query.php
r33761 r34090 549 549 $clause['cast'] = $meta_type; 550 550 551 // Fallback for clause keys is the table alias. 552 if ( ! $clause_key ) {551 // Fallback for clause keys is the table alias. Key must be a string. 552 if ( is_int( $clause_key ) || ! $clause_key ) { 553 553 $clause_key = $clause['alias']; 554 554 } -
trunk/src/wp-includes/query.php
r34089 r34090 2281 2281 } 2282 2282 2283 if ( ! in_array( $orderby, $allowed_keys ) ) {2283 if ( ! in_array( $orderby, $allowed_keys, true ) ) { 2284 2284 return false; 2285 2285 }
Note: See TracChangeset
for help on using the changeset viewer.