[wp-trac] [WordPress Trac] #28709: Improve/introduce Customizer models for Controls, Sections, and Panels
WordPress Trac
noreply at wordpress.org
Wed Jul 2 15:30:41 UTC 2014
#28709: Improve/introduce Customizer models for Controls, Sections, and Panels
-------------------------+-----------------------------
Reporter: westonruter | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Customize | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: javascript
-------------------------+-----------------------------
Comment (by celloexpressions):
I'm also creating controls and sections in the Menu Customizer, so this
would be a big help. Should also be able to use it internally for #28580.
While the contents of panels should be loaded as-needed, I don't think it
makes sense to be creating panels dynamically, internally or externally.
That being said, some sort of structure is needed to assign sections to
panels, so having a panel model makes sense. I'd also be okay with moving
the section and panel expanding/collapsing functionalities from
`accordion.js` to something more structured and customizer-specific.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28709#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list