mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-09 23:24:34 +00:00
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:
@@ -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' );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user