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

Fixes #27459.

Built from https://develop.svn.wordpress.org/trunk@28875


git-svn-id: http://core.svn.wordpress.org/trunk@28674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-06-28 02:16:14 +00:00
parent a60b01b138
commit 8b3bb6cc2d
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' );