Changeset 14528 for trunk/wp-includes/query.php
- Timestamp:
- 05/10/2010 12:58:39 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r14499 r14528 1622 1622 $q['cache_results'] = true; 1623 1623 1624 if ( !isset($q['update_post_term_cache']) ) 1625 $q['update_post_term_cache'] = true; 1626 1627 if ( !isset($q['update_post_meta_cache']) ) 1628 $q['update_post_meta_cache'] = true; 1629 1624 1630 if ( !isset($q['post_type']) ) { 1625 1631 if ( $this->is_search ) … … 2505 2511 2506 2512 if ( $q['cache_results'] ) 2507 update_post_caches($this->posts, $post_type );2513 update_post_caches($this->posts, $post_type, $q['update_post_term_cache'], $q['update_post_meta_cache']); 2508 2514 2509 2515 if ( $this->post_count > 0 ) {
Note: See TracChangeset
for help on using the changeset viewer.