Changeset 16106
- Timestamp:
- 10/31/2010 12:21:06 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class.wp-object-query.php
r16053 r16106 154 154 } 155 155 $where .= $wpdb->prepare( " AND CAST($alias.meta_value AS {$meta_type}) {$meta_compare} {$meta_compare_string}", $meta_value ); 156 unset($meta_compare_string); 157 } 158 159 return compact( 'join', 'where' ); 156 157 unset( $meta_compare_string ); 158 } 159 160 return apply_filters( 'get_meta_sql', compact( 'join', 'where' ), $meta_query, $primary_table, $primary_id_column, $meta_table, $meta_id_column ); 160 161 } 161 162
Note: See TracChangeset
for help on using the changeset viewer.