[wp-trac] [WordPress Trac] #31334: Customizer JS API should handle container removal from document
WordPress Trac
noreply at wordpress.org
Sat Feb 14 22:28:09 UTC 2015
#31334: Customizer JS API should handle container removal from document
----------------------------+-----------------------------
Reporter: Aniruddh | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.1
Severity: normal | Keywords:
Focuses: administration |
----------------------------+-----------------------------
When we do
`wp.customize.section.remove('my_section')`
or
`wp.customize.control.remove('my_control')`
The API should handle removing their container from document, too. The
current process requires you to execute this before removing a section (or
control):
`wp.customize.section('my_section').container.remove()`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31334>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list