From 844d95b6fb26f7a725c3ba64bc05e3fa531d01e0 Mon Sep 17 00:00:00 2001 From: Daryl Koopersmith Date: Fri, 23 Mar 2012 00:16:46 +0000 Subject: [PATCH] Theme Customizer: Use a more complex name for the save parameter to prevent the customizer from clashing with plugins. see #19910. git-svn-id: https://develop.svn.wordpress.org/trunk@20266 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/class-wp-customize.php | 4 ++-- wp-includes/customize-controls.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/class-wp-customize.php b/wp-includes/class-wp-customize.php index 2a345c87b3..9eabe31048 100644 --- a/wp-includes/class-wp-customize.php +++ b/wp-includes/class-wp-customize.php @@ -63,7 +63,7 @@ final class WP_Customize { if ( ! isset( $_REQUEST['customize'] ) || 'on' != $_REQUEST['customize'] ) return; - if ( ! $this->set_stylesheet() || isset( $_REQUEST['save'] ) ) + if ( ! $this->set_stylesheet() || isset( $_REQUEST['save_customize_controls'] ) ) return; $this->previewing = true; @@ -270,7 +270,7 @@ final class WP_Customize { * @since 3.4.0 */ public function admin_init() { - if ( isset( $_REQUEST['save'] ) ) + if ( isset( $_REQUEST['save_customize_controls'] ) ) $this->save(); wp_enqueue_script( 'customize-loader' ); diff --git a/wp-includes/customize-controls.php b/wp-includes/customize-controls.php index 4ce2127b68..fcc220534b 100644 --- a/wp-includes/customize-controls.php +++ b/wp-includes/customize-controls.php @@ -44,7 +44,7 @@ do_action( 'customize_controls_print_scripts' ); ?> -
+