WordPress/wp-admin/js
Weston Ruter 8043c2d8e5 Customize: Introduce drafting and scheduling for Customizer changesets.
* Incorporates code from the Customize Snapshots and Customize Posts feature plugins.
* Adds a new Publish Settings section for managing the changeset status, scheduled date, and frontend preview link.
* Updates Publish button to reflect the status selected in the Publish Settings (including Save Draft and Schedule).
* Deactivates the Themes section when a non-publish status selected, and deactivates the Publish Settings section when previewing a theme switch.
* Introduces an `outer` section type (`wp.customize.OuterSection` in JS) for the Publish Settings section to use and for available widgets and available nav menu panels to use in the future. These sections can be expanded while other sections are expanded.
* Introduces `WP_Customize_Date_Time_Control` in PHP and `wp.customize.DateTimeControl` in JS for managing a date/time value.
* Keeps track of scheduled time and proactively publish from the client when the time arrives, as opposed to waiting for WP Cron.
* Auto-publishes a scheduled changeset when attempting to access one that missed its schedule.
* Starts a new changeset if attempting to save a changeset that was previously publish.
* Adds `force` arg to `requestChangesetUpdate()` to force an update request even when there are no pending changes.
* Adds utils methods for `getCurrentTimestamp` and `getRemainingTime`.
* Adds new state values for `selectedChangesetStatus`, `changesetDate`, `selectedChangesetDate`.
* Fixes logic for when to short-circuit check to close Customizer when there are unsaved changes.
* Adds getter methods for `autosaved` and `branching` parameters, with the latter applying the `customize_changeset_branching` filter.
* Call to `establish_loaded_changeset` on the fly when `changeset_uuid()` is called if no changeset UUID was specififed.
* De-duplicates logic for dismissing auto-draft changesets.
* Includes unit tests.

Builds on [41597].
Props sayedwp, westonruter, melchoyce, JoshuaWold, folletto, stubgo, karmatosed, dlh, paaljoachim, afercia, johnregan3, utkarshpatel, valendesigns.
See #30937.
Fixes #39896, #28721, #39275.

Built from https://develop.svn.wordpress.org/trunk@41626


git-svn-id: http://core.svn.wordpress.org/trunk@41461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-27 22:25:46 +00:00
..
widgets Widgets: Introduce Gallery widget for displaying image galleries. 2017-09-25 06:28:45 +00:00
accordion.js
accordion.min.js Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +00:00
code-editor.js Code Editor: Remove scrollIntoView of editor's cursor line upon focus to prevent jumping issues for editor scroll position. 2017-09-17 03:58:44 +00:00
code-editor.min.js Code Editor: Remove scrollIntoView of editor's cursor line upon focus to prevent jumping issues for editor scroll position. 2017-09-17 03:58:44 +00:00
color-picker.js Accessibility: Improve the color picker UI accessibility, interaction, and generated markup. 2017-09-03 16:02:46 +00:00
color-picker.min.js Accessibility: Improve the color picker UI accessibility, interaction, and generated markup. 2017-09-03 16:02:46 +00:00
comment.js Docs: Add documentation for wp-admin/js/comment.js. 2017-06-15 13:02:40 +00:00
comment.min.js
common.js Permalinks: Change structure tag button state more reliably. 2017-09-26 08:24:46 +00:00
common.min.js Permalinks: Change structure tag button state more reliably. 2017-09-26 08:24:46 +00:00
custom-background.js Docs: Add wp-admin/js/custom-background.js documentation. 2017-06-15 13:24:41 +00:00
custom-background.min.js Customize: Improve custom background properties UI. 2016-10-26 06:52:29 +00:00
custom-header.js
customize-controls.js Customize: Introduce drafting and scheduling for Customizer changesets. 2017-09-27 22:25:46 +00:00
customize-controls.min.js Customize: Introduce drafting and scheduling for Customizer changesets. 2017-09-27 22:25:46 +00:00
customize-nav-menus.js Customize: Restrict click target of menu deletion, moving to button from its container. 2017-07-10 18:40:44 +00:00
customize-nav-menus.min.js Customize: Restrict click target of menu deletion, moving to button from its container. 2017-07-10 18:40:44 +00:00
customize-widgets.js Customize: Add global notifications area. 2017-09-12 07:03:46 +00:00
customize-widgets.min.js Customize: Add global notifications area. 2017-09-12 07:03:46 +00:00
dashboard.js Dashboard: Don't trigger an Events search when the search field is empty. 2017-05-19 17:27:43 +00:00
dashboard.min.js Dashboard: Don't trigger an Events search when the search field is empty. 2017-05-19 17:27:43 +00:00
edit-comments.js List Tables: Hide 'Empty Trash' and 'Empty Spam' buttons when view is already empty. 2017-03-17 16:54:42 +00:00
edit-comments.min.js List Tables: Hide 'Empty Trash' and 'Empty Spam' buttons when view is already empty. 2017-03-17 16:54:42 +00:00
editor-expand.js Docs: improve JS docs for editor-expand.js 2017-08-24 17:48:45 +00:00
editor-expand.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
editor.js Text widget: add the Add Media button and enable the wpview plugin to show embedded media previews in the editor. 2017-09-08 10:57:43 +00:00
editor.min.js Text widget: add the Add Media button and enable the wpview plugin to show embedded media previews in the editor. 2017-09-08 10:57:43 +00:00
farbtastic.js
gallery.js
gallery.min.js
image-edit.js Media: ensure JavaScript initialized when media edit screen is loaded directly. 2017-01-27 18:30:43 +00:00
image-edit.min.js Media: ensure JavaScript initialized when media edit screen is loaded directly. 2017-01-27 18:30:43 +00:00
inline-edit-post.js Docs: Improve inline docs for inlineEditPost. 2017-05-19 15:45:42 +00:00
inline-edit-post.min.js Quick/Bulk Edit: Fix the Tag suggestions position on the Bulk Edit textarea. 2017-03-31 16:35:45 +00:00
inline-edit-tax.js Docs: Add documentation for wp-admin/js/inline-edit-tax.js. 2016-09-22 18:50:28 +00:00
inline-edit-tax.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
iris.min.js Customize: Add hue-only mode to color picker. 2016-10-25 22:33:30 +00:00
language-chooser.js
language-chooser.min.js
link.js
link.min.js
media-gallery.js Media: Add some docs to media-gallery.js RIP. 2016-08-20 22:59:29 +00:00
media-gallery.min.js
media-upload.js jQuery: Replace the use of the .size() method with the .length property. 2016-01-13 16:17:27 +00:00
media-upload.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
media.js Docs: Add wp-admin/js/media.js documentation. 2017-06-15 15:37:53 +00:00
media.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
nav-menu.js Menus: Visually hide the menu item edit link text in a consistent way. 2017-08-03 22:12:43 +00:00
nav-menu.min.js Menus: Visually hide the menu item edit link text in a consistent way. 2017-08-03 22:12:43 +00:00
password-strength-meter.js Users: Check zxcvbn is defined before calling. 2016-07-01 12:45:29 +00:00
password-strength-meter.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
plugin-install.js Administration: Thickbox: Fix conflicts with the Plugin details and native Thickbox modals. 2017-09-09 14:14:43 +00:00
plugin-install.min.js Administration: Thickbox: Fix conflicts with the Plugin details and native Thickbox modals. 2017-09-09 14:14:43 +00:00
post.js Docs: Correct a number of typos/spelling mistakes in inline comments. 2016-10-25 00:38:35 +00:00
post.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
postbox.js Docs: Add documentation for wp-admin/js/postbox.js. 2016-09-22 18:47:31 +00:00
postbox.min.js Editor, editor-expand: adjust the sidebar position when moving a postbox from one column to another. 2016-06-08 22:37:29 +00:00
revisions.js JavaScript: when starting Backbone history, stop if previously started. 2017-02-17 22:00:42 +00:00
revisions.min.js JavaScript: when starting Backbone history, stop if previously started. 2017-02-17 22:00:42 +00:00
set-post-thumbnail.js
set-post-thumbnail.min.js
svg-painter.js
svg-painter.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
tags-box.js Taxonomy: Convert tag cloud in Tags meta box to a list (<ul>) for better semantics and accessibility. 2017-09-22 11:28:44 +00:00
tags-box.min.js Taxonomy: Convert tag cloud in Tags meta box to a list (<ul>) for better semantics and accessibility. 2017-09-22 11:28:44 +00:00
tags-suggest.js Quick/Bulk Edit: Fix the Tag suggestions position on the Bulk Edit textarea. 2017-03-31 16:35:45 +00:00
tags-suggest.min.js Quick/Bulk Edit: Fix the Tag suggestions position on the Bulk Edit textarea. 2017-03-31 16:35:45 +00:00
tags.js Docs: improve JS docs for tags.js 2017-08-24 17:52:44 +00:00
tags.min.js Taxonomy: Add a "delete" button on term edit page. 2017-05-12 19:26:41 +00:00
theme-plugin-editor.js Accessibility: CodeMirror editing areas minor improvements. 2017-09-24 16:00:46 +00:00
theme-plugin-editor.min.js Accessibility: CodeMirror editing areas minor improvements. 2017-09-24 16:00:46 +00:00
theme.js Plugins: Improve error messages on plugins screen. 2017-09-27 08:46:45 +00:00
theme.min.js Plugins: Improve error messages on plugins screen. 2017-09-27 08:46:45 +00:00
updates.js Plugins: Fix version number in docblock after [41608]. 2017-09-27 08:52:47 +00:00
updates.min.js Plugins: Improve error messages on plugins screen. 2017-09-27 08:46:45 +00:00
user-profile.js Login: Password reset - add hide icon & confirm weak password checkbox. 2017-09-21 21:29:48 +00:00
user-profile.min.js Login: Password reset - add hide icon & confirm weak password checkbox. 2017-09-21 21:29:48 +00:00
user-suggest.js
user-suggest.min.js
widgets.js Accessibility: Improve the sidebar toggles in the Widgets screen. 2017-09-27 16:29:44 +00:00
widgets.min.js Accessibility: Improve the sidebar toggles in the Widgets screen. 2017-09-27 16:29:44 +00:00
word-count.js Docs: Use 3-digit, x.x.x style semantic versioning for @since entries in wp-admin/js/word-count.js. 2017-01-06 22:12:39 +00:00
word-count.min.js
wp-fullscreen-stub.js Docs: Standardize on 'backward compatibility/compatible' nomenclature in core inline docs. 2016-05-13 18:41:31 +00:00
wp-fullscreen-stub.min.js
xfn.js
xfn.min.js