Wordpress/tests/qunit/wp-admin/js
westonruter 0cc238c7c7 Customize: Allow controls to be created with pre-instantiated Setting object(s), or even with plain Value object(s).
* 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@41750 602fd350-edb4-49c9-b593-d223f7449a82
2017-10-04 20:01:12 +00:00
..
widgets Widgets: Introduce Gallery widget for displaying image galleries. 2017-09-25 06:27:32 +00:00
customize-base.js Customize: Add global notifications area. 2017-09-12 07:02:49 +00:00
customize-controls-utils.js Customizer: Move private helper functions to wp.customize.utils so they can be unit tested. 2014-12-02 22:55:48 +00:00
customize-controls.js Customize: Allow controls to be created with pre-instantiated Setting object(s), or even with plain Value object(s). 2017-10-04 20:01:12 +00:00
customize-header.js Customizer: Allow to skip cropping header images if image width is smaller than or equal to theme width. 2014-04-25 20:24:28 +00:00
customize-nav-menus.js Remove svn:executable property from Requests and some other files. 2016-07-13 14:38:21 +00:00
customize-widgets.js Customize: Re-architect and harden panel/section UI logic. 2016-09-23 22:22:09 +00:00
nav-menu.js Menus: Increase timeout for QUnit wpNavMenu trigger tests. 2017-10-02 18:34:53 +00:00
password-strength-meter.js Libraries: Update zxcvbn from version 1.0 to 4.4.1 2016-12-13 11:22:28 +00:00
updates.js Update/Install: Shiny Updates v2. 2016-06-15 16:36:07 +00:00
word-count.js Editor: word count: better names for types. 2015-07-27 11:18:55 +00:00