WordPress.org

Make WordPress Core

Ticket #51469: 51469.diff

File 51469.diff, 527 bytes (added by david.binda, 12 months ago)
  • src/wp-includes/post.php

     
    54835483        $cache_key = "get_pages:$key:$last_changed";
    54845484        $cache     = wp_cache_get( $cache_key, 'posts' );
    54855485        if ( false !== $cache ) {
     5486                _prime_post_caches( $cache, false, false );
    54865487                // Convert to WP_Post instances.
    54875488                $pages = array_map( 'get_post', $cache );
    54885489                /** This filter is documented in wp-includes/post.php */