Changeset 10226 for trunk/wp-includes/post.php
- Timestamp:
- 12/18/2008 10:26:57 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r10222 r10226 2128 2128 extract( $r, EXTR_SKIP ); 2129 2129 2130 $cache = array(); 2130 2131 $key = md5( serialize( compact(array_keys($defaults)) ) ); 2131 2132 if ( $cache = wp_cache_get( 'get_pages', 'posts' ) ) { 2132 if ( is set( $cache[ $key ] ) ) {2133 if ( is_array($cache) && isset( $cache[ $key ] ) ) { 2133 2134 $pages = apply_filters('get_pages', $cache[ $key ], $r ); 2134 2135 return $pages; 2135 2136 } 2136 2137 } 2138 2139 if ( !is_array($cache) ) 2140 $cache = array(); 2137 2141 2138 2142 $inclusions = '';
Note: See TracChangeset
for help on using the changeset viewer.