[wp-trac] [WordPress Trac] #35242: PHP Noticed caused by Customizer if widgets panel removed

WordPress Trac noreply at wordpress.org
Thu Jan 7 06:05:11 UTC 2016


#35242: PHP Noticed caused by Customizer if widgets panel removed
--------------------------+------------------------------
 Reporter:  DJPaul        |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Customize     |     Version:  4.4
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------
Changes (by westonruter):

 * owner:   => westonruter
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"36216"]:
 {{{
 #!CommitTicketReference repository="" revision="36216"
 Customizer: Call `_doing_it_wrong()` if `widgets` or `nav_menus` are
 manually removed via `WP_Customize_Manager::remove_panel()`.

 Advise that the `customize_loaded_components` filter should be used
 instead.

 Props voldemortensen.
 See #33552.
 Fixes #35242.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35242#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list