mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-20 19:56:49 +01:00
* Autosaved changes made on top of `auto-draft` changesets get written on top of the `auto-draft` itself, similar to how autosaves for posts will overwrite post drafts. * Autosaved changes made to saved changesets (e.g. `draft`, `future`) will be placed into an autosave revision for that changeset and that user. * Opening the Customizer will now prompt the user to restore their most recent auto-draft changeset; if notification is dismissed or ignored then the auto-draft will be marked as dismissed and will not be prompted to user in a notification again. * Customizer will no longer automatically supply the `changeset_uuid` param in the `customize.php` URL when branching changesets are not active. * If user closes Customizer explicitly via clicking on X link, then autosave auto-draft/autosave will be dismissed so as to not be prompted again. * If there is a changeset already saved as a `draft` or `future` (UI is forthcoming) then this changeset will now be autoloaded for the user to keep making additional changes. This is the linear model for changesets. * To restore the previous behavior of the Customizer where each session started a new changeset, regardless of whether or not there was an existing changeset saved, there is now a `customize_changeset_branching` hook which can be filtered to return `true`. * `wp.customize.requestChangesetUpdate()` now supports a second with options including `autosave`, `title`, and `date`. * The window `blur` event for `customize.php` has been replaced with a `visibilitychange` event to reduce autosave requests when clicking into preview window. * Adds `autosaved` and `branching` args to `WP_Customize_Manager`. * The `changeset_uuid` param for `WP_Customize_Manager` is extended to recognize a `false` value which causes the Customizer to defer identifying the UUID until `after_setup_theme` in the new `WP_Customize_Manager::establish_loaded_changeset()` method. * A new `customize_autosaved` query parameter can now be supplied which is passed into the `autosaved` arg in `WP_Customize_Manager`; this option is an opt-in to source data from the autosave revision, allowing a user to restore autosaved changes. Props westonruter, dlh, sayedwp, JoshuaWold, melchoyce. See #39896. Built from https://develop.svn.wordpress.org/trunk@41597 git-svn-id: http://core.svn.wordpress.org/trunk@41430 1a063a9b-81f0-0310-95a4-ce76da25c4cd |
||
|---|---|---|
| .. | ||
| codemirror | ||
| crop | ||
| imgareaselect | ||
| jcrop | ||
| jquery | ||
| mediaelement | ||
| plupload | ||
| swfupload | ||
| thickbox | ||
| tinymce | ||
| admin-bar.js | ||
| admin-bar.min.js | ||
| api-request.js | ||
| api-request.min.js | ||
| autosave.js | ||
| autosave.min.js | ||
| backbone.min.js | ||
| colorpicker.js | ||
| colorpicker.min.js | ||
| comment-reply.js | ||
| comment-reply.min.js | ||
| customize-base.js | ||
| customize-base.min.js | ||
| customize-loader.js | ||
| customize-loader.min.js | ||
| customize-models.js | ||
| customize-models.min.js | ||
| customize-preview-nav-menus.js | ||
| customize-preview-nav-menus.min.js | ||
| customize-preview-widgets.js | ||
| customize-preview-widgets.min.js | ||
| customize-preview.js | ||
| customize-preview.min.js | ||
| customize-selective-refresh.js | ||
| customize-selective-refresh.min.js | ||
| customize-views.js | ||
| customize-views.min.js | ||
| heartbeat.js | ||
| heartbeat.min.js | ||
| hoverIntent.js | ||
| hoverIntent.min.js | ||
| imagesloaded.min.js | ||
| json2.js | ||
| json2.min.js | ||
| masonry.min.js | ||
| mce-view.js | ||
| mce-view.min.js | ||
| media-audiovideo.js | ||
| media-audiovideo.min.js | ||
| media-editor.js | ||
| media-editor.min.js | ||
| media-grid.js | ||
| media-grid.min.js | ||
| media-models.js | ||
| media-models.min.js | ||
| media-views.js | ||
| media-views.min.js | ||
| quicktags.js | ||
| quicktags.min.js | ||
| shortcode.js | ||
| shortcode.min.js | ||
| swfobject.js | ||
| tw-sack.js | ||
| tw-sack.min.js | ||
| twemoji.js | ||
| twemoji.min.js | ||
| underscore.min.js | ||
| utils.js | ||
| utils.min.js | ||
| wp-a11y.js | ||
| wp-a11y.min.js | ||
| wp-ajax-response.js | ||
| wp-ajax-response.min.js | ||
| wp-api.js | ||
| wp-api.min.js | ||
| wp-auth-check.js | ||
| wp-auth-check.min.js | ||
| wp-backbone.js | ||
| wp-backbone.min.js | ||
| wp-custom-header.js | ||
| wp-custom-header.min.js | ||
| wp-embed-template.js | ||
| wp-embed-template.min.js | ||
| wp-embed.js | ||
| wp-embed.min.js | ||
| wp-emoji-loader.js | ||
| wp-emoji-loader.min.js | ||
| wp-emoji-release.min.js | ||
| wp-emoji.js | ||
| wp-emoji.min.js | ||
| wp-hooks.js | ||
| wp-hooks.min.js | ||
| wp-list-revisions.js | ||
| wp-list-revisions.min.js | ||
| wp-lists.js | ||
| wp-lists.min.js | ||
| wp-pointer.js | ||
| wp-pointer.min.js | ||
| wp-sanitize.js | ||
| wp-sanitize.min.js | ||
| wp-util.js | ||
| wp-util.min.js | ||
| wpdialog.js | ||
| wpdialog.min.js | ||
| wplink.js | ||
| wplink.min.js | ||
| zxcvbn-async.js | ||
| zxcvbn-async.min.js | ||
| zxcvbn.min.js | ||