Make WordPress Core

Changeset 28875


Ignore:
Timestamp:
06/28/2014 02:15:45 AM (10 years ago)
Author:
wonderboymusic
Message:

Remove obsolete wp_cache_delete('get_pages', 'posts') from clean_post_cache().

Fixes #27459.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r28791 r28875  
    52595259    do_action( 'clean_post_cache', $post->ID, $post );
    52605260
    5261     if ( is_post_type_hierarchical( $post->post_type ) )
    5262         wp_cache_delete( 'get_pages', 'posts' );
    5263 
    52645261    if ( 'page' == $post->post_type ) {
    52655262        wp_cache_delete( 'all_page_ids', 'posts' );
Note: See TracChangeset for help on using the changeset viewer.