Changeset 22163
- Timestamp:
- 10/10/2012 12:29:51 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r22114 r22163 3495 3495 $key = md5( serialize( compact(array_keys($defaults)) ) ); 3496 3496 if ( $cache = wp_cache_get( 'get_pages', 'posts' ) ) { 3497 if ( is_array($cache) && isset( $cache[ $key ] ) ) {3497 if ( is_array($cache) && isset( $cache[ $key ] ) && is_array( $cache[ $key ] ) ) { 3498 3498 // Convert to WP_Post instances 3499 3499 $pages = array_map( 'get_post', $cache[ $key ] );
Note: See TracChangeset
for help on using the changeset viewer.