mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-23 07:51:49 +01:00
* Allow passing settings in keyed object (e.g. `settings: { default: 'id' } ), or as an array (e.g. `settings: [ 'id' ]`) with first being default; again, `Setting`/`Value` objects may be supplied instead of IDs. * Allow a single setting to be supplied with just a single `setting` param, either a string or a `Setting`/`Value` object. * Update `changeset_status` and `scheduled_changeset_date` to be added dynamically with JS and simply passing of `api.state()` instances as `setting`. * Introduce a `data-customize-setting-key-link` attribute which, unlike `data-customize-setting-link`, allows passing the setting key (e.g. `default`) as opposed to the setting ID. * Allow `WP_Customize_Control::get_link()` to return `data-customize-setting-key-link` when setting is not registered. * Eliminate `default_value` from `WP_Customize_Date_Time_Control` since now comes from supplied `Value`. * Export status choices as `wp.customize.settings.changeset.statusChoices`. * Export date and time formats as `wp.customize.settings.dateFormat` and `wp.customize.settings.timeFormat` respectively. Props westonruter, sayedwp. See #39896, #30738, #30741, #42083. Fixes #37964, #36167. Built from https://develop.svn.wordpress.org/trunk@41750 git-svn-id: http://core.svn.wordpress.org/trunk@41584 1a063a9b-81f0-0310-95a4-ce76da25c4cd |
||
---|---|---|
.. | ||
class-wp-customize-background-image-control.php | ||
class-wp-customize-background-image-setting.php | ||
class-wp-customize-background-position-control.php | ||
class-wp-customize-code-editor-control.php | ||
class-wp-customize-color-control.php | ||
class-wp-customize-cropped-image-control.php | ||
class-wp-customize-custom-css-setting.php | ||
class-wp-customize-date-time-control.php | ||
class-wp-customize-filter-setting.php | ||
class-wp-customize-header-image-control.php | ||
class-wp-customize-header-image-setting.php | ||
class-wp-customize-image-control.php | ||
class-wp-customize-media-control.php | ||
class-wp-customize-nav-menu-auto-add-control.php | ||
class-wp-customize-nav-menu-control.php | ||
class-wp-customize-nav-menu-item-control.php | ||
class-wp-customize-nav-menu-item-setting.php | ||
class-wp-customize-nav-menu-location-control.php | ||
class-wp-customize-nav-menu-name-control.php | ||
class-wp-customize-nav-menu-section.php | ||
class-wp-customize-nav-menu-setting.php | ||
class-wp-customize-nav-menus-panel.php | ||
class-wp-customize-new-menu-control.php | ||
class-wp-customize-new-menu-section.php | ||
class-wp-customize-partial.php | ||
class-wp-customize-selective-refresh.php | ||
class-wp-customize-sidebar-section.php | ||
class-wp-customize-site-icon-control.php | ||
class-wp-customize-theme-control.php | ||
class-wp-customize-themes-panel.php | ||
class-wp-customize-themes-section.php | ||
class-wp-customize-upload-control.php | ||
class-wp-widget-area-customize-control.php | ||
class-wp-widget-form-customize-control.php |