WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/23/2012 12:16:46 AM (8 years ago)
Author:
koopersmith
Message:

Theme Customizer: Use a more complex name for the save parameter to prevent the customizer from clashing with plugins. see #19910.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-customize.php

    r20263 r20266  
    6464            return;
    6565
    66         if ( ! $this->set_stylesheet() || isset( $_REQUEST['save'] ) )
     66        if ( ! $this->set_stylesheet() || isset( $_REQUEST['save_customize_controls'] ) )
    6767            return;
    6868
     
    271271     */
    272272    public function admin_init() {
    273         if ( isset( $_REQUEST['save'] ) )
     273        if ( isset( $_REQUEST['save_customize_controls'] ) )
    274274            $this->save();
    275275
Note: See TracChangeset for help on using the changeset viewer.