Changeset 17170
- Timestamp:
- 12/29/2010 07:31:35 PM (15 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/meta.php
r17088 r17170 357 357 * 358 358 * @since 3.1.0 359 * @access private 359 360 * 360 361 * @param array $meta_query List of metadata queries. A single query is an associative array: … … 374 375 * @return array( 'join' => $join_sql, 'where' => $where_sql ) 375 376 */ 376 function get_meta_sql( $meta_query, $meta_type, $primary_table, $primary_id_column, $context = null ) {377 function _get_meta_sql( $meta_query, $meta_type, $primary_table, $primary_id_column, $context = null ) { 377 378 global $wpdb; 378 379 -
trunk/wp-includes/query.php
r17162 r17170 2348 2348 2349 2349 if ( !empty( $q['meta_query'] ) ) { 2350 $clauses = call_user_func_array( ' get_meta_sql', array( $q['meta_query'], 'post', $wpdb->posts, 'ID', &$this) );2350 $clauses = call_user_func_array( '_get_meta_sql', array( $q['meta_query'], 'post', $wpdb->posts, 'ID', &$this) ); 2351 2351 $join .= $clauses['join']; 2352 2352 $where .= $clauses['where']; -
trunk/wp-includes/user.php
r17142 r17170 509 509 510 510 if ( !empty( $qv['meta_query'] ) ) { 511 $clauses = call_user_func_array( ' get_meta_sql', array( $qv['meta_query'], 'user', $wpdb->users, 'ID', &$this ) );511 $clauses = call_user_func_array( '_get_meta_sql', array( $qv['meta_query'], 'user', $wpdb->users, 'ID', &$this ) ); 512 512 $this->query_from .= $clauses['join']; 513 513 $this->query_where .= $clauses['where'];
Note: See TracChangeset
for help on using the changeset viewer.