[wp-trac] [WordPress Trac] #44976: Proposal to add deregister_control_type(), deregister_panel_type() and deregister_section_type() methods to WP_Customize_Manager
WordPress Trac
noreply at wordpress.org
Fri Sep 21 12:14:59 UTC 2018
#44976: Proposal to add deregister_control_type(), deregister_panel_type() and
deregister_section_type() methods to WP_Customize_Manager
-------------------------------------------------+-------------------------
Reporter: Collizo4sky | Owner: (none)
Type: enhancement | Status: assigned
Priority: normal | Milestone: Awaiting
| Review
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing dev- | Focuses:
feedback | accessibility
-------------------------------------------------+-------------------------
Comment (by Collizo4sky):
You patch look great. Kindly change array_search to a simply in_array.
Array_search is an overkill for something as simple as this.
I don’t have the time now otherwise I will do it myself when I am free.
Do that please.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44976#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list