Opened 10 years ago
Closed 10 years ago
#35354 closed enhancement (fixed)
Make the Customizer components list reusable
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.5 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Customize | Keywords: | has-patch |
| Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
In 36262: