WordPress/wp-includes/js
Weston Ruter 5f7a5c1246 File Editors: Introduce sandboxed live editing of PHP files with rollbacks for both themes and plugins.
* Edits to active plugins which cause PHP fatal errors will no longer auto-deactivate the plugin. Supersedes #39766.
* Introduce sandboxed PHP file edits for active themes, preventing accidental whitescreening of a user's site when introducing a fatal error.
* After writing a change to a PHP file for an active theme or plugin, perform loopback requests on the file editor admin screens and the homepage to check for fatal errors. If a fatal error is encountered, roll back the edited file and display the error to the user to fix and try again.
* Introduce a secure way to scrape PHP fatal errors from a site via `wp_start_scraping_edited_file_errors()` and `wp_finalize_scraping_edited_file_errors()`.
* Moves file modifications from `theme-editor.php` and `plugin-editor.php` to common `wp_edit_theme_plugin_file()` function.
* Refactor themes and plugin editors to submit file changes via Ajax instead of doing full page refreshes when JS is available.
* Use `get` method for theme/plugin dropdowns.
* Improve styling of plugin editors, including width of plugin/theme dropdowns.
* Improve notices API for theme/plugin editor JS component.
* Strip common base directory from plugin file list. See #24048.
* Factor out functions to list editable file types in `wp_get_theme_file_editable_extensions()` and `wp_get_plugin_file_editable_extensions()`.
* Scroll to line in editor that has linting error when attempting to save. See #41886.
* Add checkbox to dismiss lint errors to proceed with saving. See #41887.
* Only style the Update File button as disabled instead of actually disabling it for accessibility reasons.
* Ensure that value from CodeMirror is used instead of `textarea` when CodeMirror is present.
* Add "Are you sure?" check when leaving editor when there are unsaved changes.

Supersedes [41560].
See #39766, #24048, #41886.
Props westonruter, Clorith, melchoyce, johnbillion, jjj, jdgrimes, azaozz.
Fixes #21622, #41887.

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


git-svn-id: http://core.svn.wordpress.org/trunk@41555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-04 00:20:45 +00:00
..
codemirror Editor: Add CodeMirror-powered code editor with syntax highlighting, linting, and auto-completion. 2017-09-13 06:08:47 +00:00
crop
imgareaselect
jcrop
jquery External Libraries: Update jQuery Form (unused in core) to the latest version, 4.2.1. 2017-08-05 13:00:47 +00:00
mediaelement Accessibility: Change all the #f00 and red to the official WordPress accent red. 2017-10-03 16:03:32 +00:00
plupload Plupload: minify and load plupload.js and moxie.js separately to make them easier to debug. 2017-09-22 20:10:48 +00:00
swfupload Remove SWFUpload, 2017-09-21 16:35:48 +00:00
thickbox Administration: Thickbox: Fix conflicts with the Plugin details and native Thickbox modals. 2017-09-09 14:14:43 +00:00
tinymce TinyMCE: fix "flickering inline toolbar" in Chrome in RTL mode by not showing tooltips while an inline toolbar is shown. 2017-09-29 14:25:47 +00:00
admin-bar.js
admin-bar.min.js
api-request.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
api-request.min.js REST API: Allow overriding jQuery.ajax calls from within wp-admin 2017-08-02 16:45:44 +00:00
autosave.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
autosave.min.js
backbone.min.js
colorpicker.js
colorpicker.min.js
comment-reply.js Docs: improve JS docs for comment-reply.js 2017-08-24 17:58:44 +00:00
comment-reply.min.js
customize-base.js Customize: Add infrastructure for trashing/reverting of unpublished changes; introduce full-screen OverlayNotification for trashing and theme install/preview. 2017-10-02 03:37:46 +00:00
customize-base.min.js Customize: Add infrastructure for trashing/reverting of unpublished changes; introduce full-screen OverlayNotification for trashing and theme install/preview. 2017-10-02 03:37:46 +00:00
customize-loader.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
customize-loader.min.js
customize-models.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
customize-models.min.js
customize-preview-nav-menus.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
customize-preview-nav-menus.min.js Customize: Fix ability to shift-click on placeholder/pre-saved nav menu items in preview to focus on corresponding control. 2016-12-10 23:47:41 +00:00
customize-preview-widgets.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
customize-preview-widgets.min.js
customize-preview.js Customize: Introduce drafting and scheduling for Customizer changesets. 2017-09-27 22:25:46 +00:00
customize-preview.min.js Customize: Introduce drafting and scheduling for Customizer changesets. 2017-09-27 22:25:46 +00:00
customize-selective-refresh.js Docs: Remove "being being" dittography from inline comments. 2017-09-09 14:49:44 +00:00
customize-selective-refresh.min.js Customize: Run a partial's fallback behavior (full refresh) when selective refresh fails due to a script error. 2017-05-17 00:01:40 +00:00
customize-views.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
customize-views.min.js Customize: Prevent vertical clipping of thumbnail in header image customizer control. 2017-02-20 00:10:49 +00:00
heartbeat.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
heartbeat.min.js
hoverIntent.js
hoverIntent.min.js
imagesloaded.min.js
json2.js
json2.min.js
masonry.min.js
mce-view.js TinyMCE: Improve the previews for shortcodes. 2017-09-19 08:19:45 +00:00
mce-view.min.js TinyMCE: Improve the previews for shortcodes. 2017-09-19 08:19:45 +00:00
media-audiovideo.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
media-audiovideo.min.js Media: Upgrade MediaElement.js from 2.22.0 to 4.2.3. 2017-08-01 04:43:51 +00:00
media-editor.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
media-editor.min.js
media-grid.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
media-grid.min.js Media: library grid view - improve browser history support. 2017-07-10 19:08:41 +00:00
media-models.js Emoji: Invert value returned by UN test for accuracy. 2017-09-17 22:52:47 +00:00
media-models.min.js
media-views.js Customizer: retain aspect ration when cropping media w/ shift+click/drag. 2017-09-21 22:45:44 +00:00
media-views.min.js Customizer: retain aspect ration when cropping media w/ shift+click/drag. 2017-09-21 22:45:44 +00:00
quicktags.js Editor: manually trigger change event when text is modified from JS. 2017-05-11 00:29:41 +00:00
quicktags.min.js Editor: manually trigger change event when text is modified from JS. 2017-05-11 00:29:41 +00:00
shortcode.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
shortcode.min.js Shortcodes: Allow using single quotes for empty value attributes. 2017-07-11 00:54:41 +00:00
swfobject.js
tw-sack.js
tw-sack.min.js
twemoji.js Emoji: Update Twemoji to 2.5.0. 2017-08-14 02:04:45 +00:00
twemoji.min.js Emoji: Update Twemoji to 2.5.0. 2017-08-14 02:04:45 +00:00
underscore.min.js
utils.js Move sanitizeText and stripTags from press this to wp.sanitize. 2017-07-15 15:48:46 +00:00
utils.min.js
wp-a11y.js File Editors: Introduce sandboxed live editing of PHP files with rollbacks for both themes and plugins. 2017-10-04 00:20:45 +00:00
wp-a11y.min.js Accessibility: Make Safari 10 + VoiceOver announce repeated, identical, wp.a11y.speak() messages. 2017-04-19 19:53:42 +00:00
wp-ajax-response.js
wp-ajax-response.min.js
wp-api.js WP-API JS Client: Improve support for meta. 2017-10-02 18:41:35 +00:00
wp-api.min.js WP-API JS Client: Improve support for meta. 2017-10-02 18:41:35 +00:00
wp-auth-check.js
wp-auth-check.min.js
wp-backbone.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
wp-backbone.min.js
wp-custom-header.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
wp-custom-header.min.js
wp-embed-template.js
wp-embed-template.min.js
wp-embed.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
wp-embed.min.js
wp-emoji-loader.js Emoji: Refactor browser support tests. 2017-10-02 04:00:48 +00:00
wp-emoji-loader.min.js Emoji: Refactor browser support tests. 2017-10-02 04:00:48 +00:00
wp-emoji-release.min.js Emoji: Update Twemoji to 2.5.0. 2017-08-14 02:04:45 +00:00
wp-emoji.js
wp-emoji.min.js
wp-hooks.js Add wp.hooks - JavaScript actions and filters. 2017-09-12 12:54:45 +00:00
wp-hooks.min.js Add wp.hooks - JavaScript actions and filters. 2017-09-12 12:54:45 +00:00
wp-list-revisions.js
wp-list-revisions.min.js
wp-lists.js
wp-lists.min.js
wp-pointer.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
wp-pointer.min.js
wp-sanitize.js wp.sanitize - fix namespace for calls to stripTags. 2017-09-14 19:29:44 +00:00
wp-sanitize.min.js wp.sanitize - fix namespace for calls to stripTags. 2017-09-14 19:29:44 +00:00
wp-util.js Docs: JSDoc improvements for namespaces. 2017-09-08 18:42:49 +00:00
wp-util.min.js
wpdialog.js
wpdialog.min.js
wplink.js Editor: Prevent adding javascript: and data: URLs through the inline link dialog. 2017-09-19 08:01:45 +00:00
wplink.min.js Editor: Prevent adding javascript: and data: URLs through the inline link dialog. 2017-09-19 08:01:45 +00:00
zxcvbn-async.js
zxcvbn-async.min.js
zxcvbn.min.js Libraries: Update zxcvbn from version 1.0 to 4.4.1 2016-12-13 11:23:42 +00:00