WordPress/wp-includes/js
TimothyBlynJacobs c3b40f7f80 Site Health, App Passwords: Ensure REST API responses are properly translated.
The REST API requests in Site Health and App Passwords now include `_locale=user` in the request URL to ensure the user's locale is used instead of the site locale. Additionally, the `apiRequest` library now sends a JSON `Accept` header which is required by `determine_locale()` to respect the `_locale` query parameter.

The Site Health REST API controllers now manually load the default admin textdomain if not `is_admin()`. This allows for the Site Health tests to be translated even though the translations are part of the administration project and the REST API is not.

Props oglekler, kebbet, Clorith, TimothyBlynJacobs, ocean90, SergeyBiryukov, adamsilverstein.
Fixes #51871.

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


git-svn-id: http://core.svn.wordpress.org/trunk@49439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-01 03:44:05 +00:00
..
codemirror Ensure `svn:eol-style` is consistently set for all files. 2019-10-25 16:38:07 +00:00
crop
dist Editor: Update packages. 2020-11-12 19:36:36 +00:00
imgareaselect Docs: Update broken source code link in `imgAreaSelect` jQuery plugin. 2019-11-17 16:14:03 +00:00
jcrop Update Jcrop to 0.9.12 (unused in WP core). 2013-09-21 12:46:09 +00:00
jquery External Libraries: Update jQuery Migrate to 3.3.2. 2020-11-18 09:06:06 +00:00
mediaelement External Libraries: Update MediaElementJS to version 4.2.16. 2020-09-29 15:53:06 +00:00
plupload Media: Show an error message when a `.heic` file is uploaded that this type of files cannot be displayed in a web browser and suggesting to convert to JPEG. The message is shown by using filters, plugins that want to handle uploading of `.heic` files can remove it. 2020-07-03 23:15:03 +00:00
swfupload Remove SWFUpload, 2017-09-21 16:35:48 +00:00
thickbox General: Use correct value for the `speak` property in various CSS files. 2020-10-26 02:25:09 +00:00
tinymce TinyMCE: Update to 4.9.11. 2020-11-10 10:44:08 +00:00
admin-bar.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
admin-bar.min.js Administration: Remove any CSS related to Internet Explorer versions 6 – 10. 2020-05-06 20:15:07 +00:00
api-request.js Site Health, App Passwords: Ensure REST API responses are properly translated. 2020-12-01 03:44:05 +00:00
api-request.min.js Site Health, App Passwords: Ensure REST API responses are properly translated. 2020-12-01 03:44:05 +00:00
autosave.js Docs: Correct formatting for the `autosave()` function return value in `js/_enqueues/wp/autosave.js`. 2020-09-28 10:46:05 +00:00
autosave.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
backbone.js External Libraries: Update Backbone.js to 1.4.0. 2019-09-17 17:19:54 +00:00
backbone.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
clipboard.js External Libraries: Update clipboard.js to 2.0.6. 2020-06-03 11:12:33 +00:00
clipboard.min.js External Libraries: Update clipboard.js to 2.0.6. 2020-06-03 11:12:33 +00:00
colorpicker.js
colorpicker.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
comment-reply.js Comments: Hide the link to the initial parent comment in the reply heading when replying to another comment. 2020-10-18 06:41:04 +00:00
comment-reply.min.js Comments: Hide the link to the initial parent comment in the reply heading when replying to another comment. 2020-10-18 06:41:04 +00:00
customize-base.js Customize: Update parameter name in `api.Class.extend()`. 2020-10-28 00:45:06 +00:00
customize-base.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
customize-loader.js Docs: Remove extra spaces from `@param` tags. 2020-06-20 12:58:10 +00:00
customize-loader.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
customize-models.js Docs: Replace "AJAX" with "Ajax" in DocBlocks and comments, per the spelling glossary. 2020-06-25 12:43:07 +00:00
customize-models.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
customize-preview-nav-menus.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
customize-preview-nav-menus.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
customize-preview-widgets.js Docs: Remove extra spaces from `@param` tags. 2020-06-20 12:58:10 +00:00
customize-preview-widgets.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
customize-preview.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
customize-preview.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
customize-selective-refresh.js Docs: Correct alignment for some parameters in JS documentation. 2020-07-28 00:07:03 +00:00
customize-selective-refresh.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
customize-views.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
customize-views.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
heartbeat.js Docs: Replace "AJAX" with "Ajax" in DocBlocks and comments, per the spelling glossary. 2020-06-25 12:43:07 +00:00
heartbeat.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
hoverIntent.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
hoverIntent.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
hoverintent-js.min.js Fix the admin toolbar js when jQuery is not present and replace the jQuery based hoverIntent.js with a native implementation. Introduces the "hoverintent" (no dependencies) package. 2019-12-10 01:03:02 +00:00
imagesloaded.min.js External Libraries: Update Masonry to 4.2.2 and imagesLoaded to 4.1.4. 2020-06-13 18:53:27 +00:00
json2.js
json2.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
masonry.min.js External Libraries: Update Masonry to 4.2.2 and imagesLoaded to 4.1.4. 2020-06-13 18:53:27 +00:00
mce-view.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
mce-view.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
media-audiovideo.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
media-audiovideo.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
media-editor.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
media-editor.min.js I18N: Use `wp.i18n` for translatable strings in `wp-admin/js/set-post-thumbnail.js`. 2020-07-07 18:55:04 +00:00
media-grid.js Media: Add an audio and video player to the media manager modal. 2020-10-18 17:39:07 +00:00
media-grid.min.js Media: Add an audio and video player to the media manager modal. 2020-10-18 17:39:07 +00:00
media-models.js Media: Allow contextually generated images to show in Media Library grid view. 2020-09-17 14:42:04 +00:00
media-models.min.js Media: Allow contextually generated images to show in Media Library grid view. 2020-09-17 14:42:04 +00:00
media-views.js Text Changes: Unify various "Back to..." vs. "Return to..." vs. "Go to..." strings. 2020-11-09 10:53:10 +00:00
media-views.min.js Media: Add an audio and video player to the media manager modal. 2020-10-18 17:39:07 +00:00
quicktags.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
quicktags.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
shortcode.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
shortcode.min.js Shortcodes: Make sure `wp.shortcode.string()` accepts the `attrs` array keys in any order. 2019-12-21 18:34:04 +00:00
swfobject.js
tw-sack.js
tw-sack.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
twemoji.js Emoji: Update Twemoji to version 13.0.1. 2020-10-20 16:55:23 +00:00
twemoji.min.js Emoji: Update Twemoji to version 13.0.1. 2020-10-20 16:55:23 +00:00
underscore.js External Libraries: Revert [46092] pending test failure investigation. 2019-09-12 10:19:59 +00:00
underscore.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
utils.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
utils.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wp-ajax-response.js Coding Standards: Use strict comparison in `js/_enqueues/lib/ajax-response.js`. 2020-06-14 11:28:07 +00:00
wp-ajax-response.min.js Coding Standards: Use strict comparison in `js/_enqueues/lib/ajax-response.js`. 2020-06-14 11:28:07 +00:00
wp-api.js REST API: JS Client - improve collection route construction for empty parents. 2020-10-29 18:32:05 +00:00
wp-api.min.js REST API: JS Client - improve collection route construction for empty parents. 2020-10-29 18:32:05 +00:00
wp-auth-check.js Coding Standards: Fix JSHint issue in `js/_enqueues/lib/auth-check.js` 2020-07-06 16:27:02 +00:00
wp-auth-check.min.js Heartbeat: Do not disable the login prompts when the user needs to log in again but has closed the log in modal. Add a 5 minutes timeout before asking them to log in again. 2020-07-06 16:14:04 +00:00
wp-backbone.js Docs: Remove extra spaces from `@param` tags. 2020-06-20 12:58:10 +00:00
wp-backbone.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wp-custom-header.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
wp-custom-header.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wp-embed-template.js Embeds: Only catch clicks from the primary mouse button in the click handler, without any modifier keys. 2020-10-19 13:36:08 +00:00
wp-embed-template.min.js Embeds: Only catch clicks from the primary mouse button in the click handler, without any modifier keys. 2020-10-19 13:36:08 +00:00
wp-embed.js Embeds: After [43593], move the new check to a separate line to avoid `test_js_no_ampersands_in_compiled` failure caused by UglifyJS task. 2018-08-30 12:40:26 +00:00
wp-embed.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wp-emoji-loader.js Emoji: Upgrade Twemoji to version 13.0.0. 2020-06-15 18:04:26 +00:00
wp-emoji-loader.min.js Emoji: Upgrade Twemoji to version 13.0.0. 2020-06-15 18:04:26 +00:00
wp-emoji-release.min.js Emoji: Update Twemoji to version 13.0.1. 2020-10-20 16:55:23 +00:00
wp-emoji.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
wp-emoji.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wp-list-revisions.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
wp-list-revisions.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wp-lists.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
wp-lists.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wp-pointer.js I18N: Use `wp.i18n` for translatable strings in `wp-includes/js/wp-pointer.js`. 2020-07-01 19:30:02 +00:00
wp-pointer.min.js I18N: Use `wp.i18n` for translatable strings in `wp-includes/js/wp-pointer.js`. 2020-07-01 19:30:02 +00:00
wp-sanitize.js Update wp.a11y.speak() to sanitize HTML before display. 2019-09-04 17:13:21 +00:00
wp-sanitize.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wp-util.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
wp-util.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wpdialog.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
wpdialog.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wplink.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
wplink.min.js I18N: Make the minimum input length to start searching posts in the "Insert/edit link" modal localizable. 2019-12-18 01:15:03 +00:00
zxcvbn-async.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
zxcvbn-async.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
zxcvbn.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00