[wp-trac] [WordPress Trac] #29948: Use contextual controls (active_callback) API for conditionally-displayed core contextual controls
WordPress Trac
noreply at wordpress.org
Mon Oct 13 18:18:29 UTC 2014
#29948: Use contextual controls (active_callback) API for conditionally-displayed
core contextual controls
------------------------------+-----------------------------
Reporter: celloexpressions | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.0
Severity: normal | Keywords: needs-patch
Focuses: |
------------------------------+-----------------------------
See `wp-admin/js/customize-controls.js`, near the bottom. Rather than
doing some unstructured JS to show/hide controls based on the values of
other settings, this should use custom callbacks for the active_callback
argument when adding the control (in php).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29948>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list