[wp-trac] [WordPress Trac] #36852: WP_Customize_Manager::after_setup_theme() refers to $_SERVER['customized'] instead of $_POST['customized']

WordPress Trac noreply at wordpress.org
Mon May 16 15:46:21 UTC 2016


#36852: WP_Customize_Manager::after_setup_theme() refers to $_SERVER['customized']
instead of $_POST['customized']
--------------------------+-----------------
 Reporter:  westonruter   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.6
Component:  Customize     |    Version:  4.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------
 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36852>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list