[wp-trac] [WordPress Trac] #30737: JS templates for Customizer Panels and Sections
WordPress Trac
noreply at wordpress.org
Sun Mar 8 11:17:21 UTC 2015
#30737: JS templates for Customizer Panels and Sections
------------------------------+------------------
Reporter: celloexpressions | Owner:
Type: enhancement | Status: new
Priority: high | Milestone: 4.2
Component: Customize | Version: 4.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+------------------
Comment (by westonruter):
In [attachment:30737.4.diff]:
* Remove `check_capabilities()` calls from `json()` methods since
redundant with `prepare_controls()`
* Wrap setting exporting with cap checks.
* Add cap checks to panels, sections, and controls before adding to JS
exports.
@celloexpressions: I'll try to add the unit tests over the next 48 hours.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30737#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list