Remove unnecessary wp_cache_delete calls. props shidouhikari, fixes #14080.

git-svn-id: https://develop.svn.wordpress.org/trunk@16029 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-10-28 05:22:45 +00:00
parent 7b6f24eeeb
commit af1bafa67b
1 changed files with 0 additions and 2 deletions

View File

@ -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' );
}
/**