[wp-trac] [WordPress Trac] #30936: Dynamically create WP_Customize_Settings for settings created on JS client
WordPress Trac
noreply at wordpress.org
Sun Feb 8 23:10:07 UTC 2015
#30936: Dynamically create WP_Customize_Settings for settings created on JS client
-------------------------+----------------------
Reporter: westonruter | Owner: ocean90
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.2
Component: Customize | Version: 3.9
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
-------------------------+----------------------
Changes (by ocean90):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"31370"]:
{{{
#!CommitTicketReference repository="" revision="31370"
Customizer: Introduce an API to create WP_Customize_Settings for
dynamically-created settings.
* Introduce WP_Customize_Manager::add_dynamic_settings() to register
dynamically-created settings.
* Introduce `customize_dynamic_setting_args` filter to pass an array of
args to a dynamic setting's constructor.
* Add unit tests for WP_Customize_Manager and WP_Customize_Widgets.
* See WP_Customize_Widgets as an example.
props westonruter.
fixes #30936.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30936#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list