Changeset 14665 for trunk/wp-includes/query.php
- Timestamp:
- 05/15/2010 03:00:53 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r14607 r14665 1601 1601 */ 1602 1602 function &get_posts() { 1603 global $wpdb, $user_ID ;1603 global $wpdb, $user_ID, $_wp_using_ext_object_cache; 1604 1604 1605 1605 do_action_ref_array('pre_get_posts', array(&$this)); … … 1630 1630 $q['suppress_filters'] = false; 1631 1631 1632 if ( !isset($q['cache_results']) ) 1633 $q['cache_results'] = true; 1632 if ( !isset($q['cache_results']) ) { 1633 if ( $_wp_using_ext_object_cache ) 1634 $q['cache_results'] = false; 1635 else 1636 $q['cache_results'] = true; 1637 } 1634 1638 1635 1639 if ( !isset($q['update_post_term_cache']) )
Note: See TracChangeset
for help on using the changeset viewer.