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. *