Changeset 51018 for trunk/src/wp-includes/post.php
- Timestamp:
- 05/25/2021 11:40:12 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r51015 r51018 5785 5785 $cache = wp_cache_get( $cache_key, 'posts' ); 5786 5786 if ( false !== $cache ) { 5787 _prime_post_caches( $cache, false, false ); 5788 5787 5789 // Convert to WP_Post instances. 5788 5790 $pages = array_map( 'get_post', $cache ); 5789 5791 /** This filter is documented in wp-includes/post.php */ 5790 5792 $pages = apply_filters( 'get_pages', $pages, $parsed_args ); 5793 5791 5794 return $pages; 5792 5795 } … … 5949 5952 /** This filter is documented in wp-includes/post.php */ 5950 5953 $pages = apply_filters( 'get_pages', array(), $parsed_args ); 5954 5951 5955 return $pages; 5952 5956 } … … 7606 7610 7607 7611 /** 7608 * Adds any posts from the given IDs to the cache that do not already exist in cache 7612 * Adds any posts from the given IDs to the cache that do not already exist in cache. 7609 7613 * 7610 7614 * @since 3.4.0
Note: See TracChangeset
for help on using the changeset viewer.