[wp-trac] [WordPress Trac] #19910: Appearance Improvements: Theme Customization Frame
WordPress Trac
wp-trac at lists.automattic.com
Thu Mar 29 06:35:58 UTC 2012
#19910: Appearance Improvements: Theme Customization Frame
----------------------------+--------------------------
Reporter: koopersmith | Owner: koopersmith
Type: task (blessed) | Status: accepted
Priority: normal | Milestone: 3.4
Component: Themes | Version: 3.3.1
Severity: normal | Resolution:
Keywords: |
----------------------------+--------------------------
Comment (by koopersmith):
In [20319]:
{{{
#!CommitTicketReference repository="" revision="20319"
Theme Customizer: Move upload and image controls to subclasses. see
#19910.
Instead of grouping together every control parameter into a single array
and passing them all to the JS, use subclasses with custom parameters to
implement additional PHP functionality and the parameter to send only the
necessary variables to the JavaScript control.
Replaces WP_Customize_Control->control_params with
WP_Customize_Control->json and WP_Customize_Control->to_json(). The
to_json() method refreshes the json array passed to the JavaScript control
(set to control.param by default).
Creates WP_Customize_Upload_Control and WP_Customize_Image_Control.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19910#comment:54>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list