Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#36852 closed defect (bug) (fixed)

WP_Customize_Manager::after_setup_theme() refers to $_SERVER['customized'] instead of $_POST['customized']

Reported by: westonruter's profile westonruter Owned by: westonruter's profile westonruter
Milestone: 4.6 Priority: normal
Severity: normal Version: 4.2
Component: Customize Keywords: has-patch commit
Focuses: Cc:


The isset( $_SERVER['customized'] ) check in WP_Customize_Manager::after_setup_theme() will always be false. It should be isset( $_POST['customized'] ). Introduced in r31421.

Attachments (1)

36852.diff (670 bytes) - added by westonruter 7 years ago.

Download all attachments as: .zip

Change History (4)

7 years ago

#1 @westonruter
7 years ago

  • Keywords has-patch commit added
  • Owner set to westonruter
  • Status changed from new to accepted

#2 @celloexpressions
7 years ago

Looks good to me.

#3 @westonruter
7 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 37520:

Customize: Replace invalid reference to $_SERVER['customized'] with $_POST['customized'].

Introduced in r31421.
Fixes #36852.

Note: See TracTickets for help on using tickets.