From 16d087854414f4cf6723ed0bfaeb6b1b4a4774f7 Mon Sep 17 00:00:00 2001 From: nacin Date: Thu, 28 Oct 2010 05:22:45 +0000 Subject: [PATCH] Remove unnecessary wp_cache_delete calls. props shidouhikari, fixes #14080. git-svn-id: http://svn.automattic.com/wordpress/trunk@16029 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/theme.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/wp-includes/theme.php b/wp-includes/theme.php index a17a83b08..2eebafe81 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -1361,7 +1361,6 @@ function set_theme_mod( $name, $value ) { $theme = get_option( 'stylesheet' ); update_option( "theme_mods_$theme", $mods ); - wp_cache_delete( "theme_mods_$theme", 'options' ); } /** @@ -1388,7 +1387,6 @@ function remove_theme_mod( $name ) { $theme = get_option( 'stylesheet' ); update_option( "theme_mods_$theme", $mods ); - wp_cache_delete( "theme_mods_$theme", 'options' ); } /**