From c819e450a1dbd82690ef18507d57a93f00d7feb4 Mon Sep 17 00:00:00 2001 From: nacin Date: Thu, 7 Jun 2012 23:33:00 +0000 Subject: [PATCH] Remove the set_theme_mods() method from customize manager. We ended up not using it. see #20871. git-svn-id: http://core.svn.wordpress.org/trunk@21027 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-customize-manager.php | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php index b05c0bfbcf..782ff6038d 100644 --- a/wp-includes/class-wp-customize-manager.php +++ b/wp-includes/class-wp-customize-manager.php @@ -52,24 +52,6 @@ final class WP_Customize_Manager { add_action( 'customize_controls_enqueue_scripts', array( $this, 'enqueue_control_scripts' ) ); } - /** - * Update theme modifications for the current theme. - * Note: Candidate core function. - * http://core.trac.wordpress.org/ticket/20091 - * - * @since 3.4.0 - * - * @param array $mods Theme modifications. - */ - public function set_theme_mods( $mods ) { - $current = get_theme_mods(); - - $mods = wp_parse_args( $mods, $current ); - - $theme = get_stylesheet(); - update_option( "theme_mods_$theme", $mods ); - } - /** * Start preview and customize theme. *