From f93aebd4330242c95f6136a2e9f53fe9e7d9cc6a Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 18 May 2010 15:33:32 +0000 Subject: [PATCH] Remove taxonomy children cache purge. see #11866 git-svn-id: https://develop.svn.wordpress.org/trunk@14727 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/upgrade.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/wp-admin/includes/upgrade.php b/wp-admin/includes/upgrade.php index b338112068..4c2c7b36ed 100644 --- a/wp-admin/includes/upgrade.php +++ b/wp-admin/includes/upgrade.php @@ -1114,12 +1114,6 @@ function upgrade_300() { add_site_option( 'siteurl', '' ); } - // #11866 (Convert the taxonomy children cache into a transient) - Remove old cache. - if ( $wp_current_db_version < 14139 ) { - foreach ( get_taxonomies( array('hierarchical' => true) ) as $taxonomy ) - delete_option($taxonomy . '_children'); - } - // 3.0-alpha nav menu postmeta changes. can be removed before release. // r13802 if ( $wp_current_db_version >= 13226 && $wp_current_db_version < 13974 ) $wpdb->query( "DELETE FROM $wpdb->postmeta WHERE meta_key IN( 'menu_type', 'object_id', 'menu_new_window', 'menu_link', '_menu_item_append', 'menu_item_append', 'menu_item_type', 'menu_item_object_id', 'menu_item_target', 'menu_item_classes', 'menu_item_xfn', 'menu_item_url' )" );