Changeset 16286 for trunk/wp-includes/meta.php
- Timestamp:
- 11/11/2010 10:06:05 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/meta.php
r16266 r16286 370 370 * @param string $primary_table 371 371 * @param string $primary_id_column 372 * @param object $context (optional) The main query object 372 373 * @return array( 'join' => $join_sql, 'where' => $where_sql ) 373 374 */ 374 function get_meta_sql( $meta_query, $meta_type, $primary_table, $primary_id_column ) {375 function get_meta_sql( $meta_query, $meta_type, $primary_table, $primary_id_column, $context = null ) { 375 376 global $wpdb; 376 377 … … 441 442 } 442 443 443 return apply_filters ( 'get_meta_sql', compact( 'join', 'where' ), $meta_query, $meta_type, $primary_table, $primary_id_column);444 return apply_filters_ref_array( 'get_meta_sql', array( compact( 'join', 'where' ), $meta_query, $meta_type, $primary_table, $primary_id_column, &$context ) ); 444 445 } 445 446
Note: See TracChangeset
for help on using the changeset viewer.