[wp-trac] [WordPress Trac] #35354: Make the Customizer components list reusable

WordPress Trac noreply at wordpress.org
Thu Jan 7 21:38:18 UTC 2016


#35354: Make the Customizer components list reusable
--------------------------+-----------------------------
 Reporter:  DrewAPicture  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Customize     |    Version:
 Severity:  normal        |   Keywords:  has-patch
  Focuses:                |
--------------------------+-----------------------------
 In #35242, logic was added to `WP_Customize_Manager->remove_panel()` that
 leverages a list of the default components to toss a `_doing_it_wrong()`
 notice. We also use similar list with the `customize_loaded_components`
 hook in the constructor. So I think we should make the list reusable to
 keep the information all in one place.

 Patch attached.

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


More information about the wp-trac mailing list