Changeset 16576
- Timestamp:
- 11/24/2010 08:34:22 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r16544 r16576 2308 2308 2309 2309 // Filter all clauses at once, for convenience 2310 $clauses = apply_filters_ref_array( 'posts_clauses', array( compact( $pieces ), &$this ) );2310 $clauses = (array) apply_filters_ref_array( 'posts_clauses', array( compact( $pieces ), &$this ) ); 2311 2311 foreach ( $pieces as $piece ) 2312 2312 $$piece = isset( $clauses[ $piece ] ) ? $clauses[ $piece ] : ''; … … 2327 2327 2328 2328 // Filter all clauses at once, for convenience 2329 $clauses = apply_filters_ref_array( 'posts_clauses_request', array( compact( $pieces ), &$this ) );2329 $clauses = (array) apply_filters_ref_array( 'posts_clauses_request', array( compact( $pieces ), &$this ) ); 2330 2330 foreach ( $pieces as $piece ) 2331 2331 $$piece = isset( $clauses[ $piece ] ) ? $clauses[ $piece ] : '';
Note: See TracChangeset
for help on using the changeset viewer.