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

Fixes #27459.


git-svn-id: https://develop.svn.wordpress.org/trunk@28875 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2014-06-28 02:15:45 +00:00
parent e8f2862421
commit cf67d53408
1 changed files with 0 additions and 3 deletions

View File

@ -5258,9 +5258,6 @@ function clean_post_cache( $post ) {
*/
do_action( 'clean_post_cache', $post->ID, $post );
if ( is_post_type_hierarchical( $post->post_type ) )
wp_cache_delete( 'get_pages', 'posts' );
if ( 'page' == $post->post_type ) {
wp_cache_delete( 'all_page_ids', 'posts' );