Changeset 20216
- Timestamp:
- 03/19/2012 07:09:03 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r20172 r20216 3125 3125 global $wpdb; 3126 3126 3127 if ( ! $page_ids = wp_cache_get('all_page_ids', 'posts') ) { 3127 $page_ids = wp_cache_get('all_page_ids', 'posts'); 3128 if ( ! is_array( $page_ids ) ) { 3128 3129 $page_ids = $wpdb->get_col("SELECT ID FROM $wpdb->posts WHERE post_type = 'page'"); 3129 3130 wp_cache_add('all_page_ids', $page_ids, 'posts');
Note: See TracChangeset
for help on using the changeset viewer.