WordPress/wp-admin/js
Sergey Biryukov 5683c46277 Site Health: Validate the test result data format in JS before using it.
This will discard any invalid responses instead of causing fatal errors.

It also makes badges optional, on the same basis as actions are optional. They are expected, but there may be situations where they are not present.

Props Clorith, dogwithblog, kraftbj, whyisjake, SergeyBiryukov.
Fixes #50145.
Built from https://develop.svn.wordpress.org/trunk@49537


git-svn-id: http://core.svn.wordpress.org/trunk@49275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-11-08 09:52:10 +00:00
..
widgets Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
accordion.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
accordion.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
application-passwords.js App Passwords: Improve accessibility. 2020-10-24 03:34:06 +00:00
application-passwords.min.js App Passwords: Improve accessibility. 2020-10-24 03:34:06 +00:00
auth-app.js App Passwords: Improve accessibility. 2020-10-24 03:34:06 +00:00
auth-app.min.js App Passwords: Improve accessibility. 2020-10-24 03:34:06 +00:00
code-editor.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
code-editor.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
color-picker.js I18N: Use wp.i18n for translatable strings in wp-admin/js/color-picker.js. 2020-07-07 16:10:05 +00:00
color-picker.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/color-picker.js. 2020-07-07 16:10:05 +00:00
comment.js I18N: Use wp.i18n for translatable strings in wp-admin/js/comment.js. 2020-07-07 18:40:05 +00:00
comment.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/comment.js. 2020-07-07 18:40:05 +00:00
common.js I18N: Use wp.i18n for translatable strings in wp-admin/js/dashboard.js. 2020-10-14 21:13:08 +00:00
common.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/dashboard.js. 2020-10-14 21:13:08 +00:00
custom-background.js Themes: Ensure that only privileged users can set a background image when a theme is using the deprecated custom background page. 2020-10-29 18:09:13 +00:00
custom-background.min.js Themes: Ensure that only privileged users can set a background image when a theme is using the deprecated custom background page. 2020-10-29 18:09:13 +00:00
custom-header.js Docs: Replace @returns tags in JS docs with @return. 2019-11-29 18:01:03 +00:00
customize-controls.js Customize: Ensure the New Menu section is properly rendered. 2020-10-27 02:48:06 +00:00
customize-controls.min.js Customize: Ensure the New Menu section is properly rendered. 2020-10-27 02:48:06 +00:00
customize-nav-menus.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
customize-nav-menus.min.js Customize: Ensure that widgets and nav-menus can be closed after entering content. 2020-07-13 20:15:06 +00:00
customize-widgets.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
customize-widgets.min.js Customize: Ensure that widgets and nav-menus can be closed after entering content. 2020-07-13 20:15:06 +00:00
dashboard.js Revert the improvenents to arranging of postboxes/metaboxes, [49179]. The current patch fixes about half a dozen problems, but seems more general improvements are needed to how Screen Options work. 2020-10-27 10:47:12 +00:00
dashboard.min.js Revert the improvenents to arranging of postboxes/metaboxes, [49179]. The current patch fixes about half a dozen problems, but seems more general improvements are needed to how Screen Options work. 2020-10-27 10:47:12 +00:00
edit-comments.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
edit-comments.min.js I18N: Fix typo in [48348]. 2020-07-06 21:34:04 +00:00
editor-expand.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
editor-expand.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
editor.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
editor.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
farbtastic.js
gallery.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
gallery.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
image-edit.js Media: clear inputs after cropping on attachment details screen. 2020-10-02 15:11:06 +00:00
image-edit.min.js Media: clear inputs after cropping on attachment details screen. 2020-10-02 15:11:06 +00:00
inline-edit-post.js Administration: Remove obsolete .ac_results class references. 2020-10-19 22:33:08 +00:00
inline-edit-post.min.js Administration: Remove obsolete .ac_results class references. 2020-10-19 22:33:08 +00:00
inline-edit-tax.js I18N: Use wp.i18n for translatable strings in wp-admin/js/inline-edit-post.js and wp-admin/js/inline-edit-tax.js. 2020-07-07 18:02:05 +00:00
inline-edit-tax.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/inline-edit-post.js and wp-admin/js/inline-edit-tax.js. 2020-07-07 18:02:05 +00:00
iris.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
language-chooser.js
language-chooser.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
link.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
link.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
media-gallery.js Themes: Ensure that only privileged users can set a background image when a theme is using the deprecated custom background page. 2020-10-29 18:09:13 +00:00
media-gallery.min.js Themes: Ensure that only privileged users can set a background image when a theme is using the deprecated custom background page. 2020-10-29 18:09:13 +00:00
media-upload.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
media-upload.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
media.js I18N: Use wp.i18n for translatable strings in wp-admin/js/media.js. 2020-07-07 16:14:06 +00:00
media.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/media.js. 2020-07-07 16:14:06 +00:00
nav-menu.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
nav-menu.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/nav-menu.js. 2020-07-07 18:31:05 +00:00
password-strength-meter.js Coding Standards: Reformat some long apply_filters_deprecated() and do_action_deprecated() calls for better readability. 2020-06-25 12:06:07 +00:00
password-strength-meter.min.js General: Rename (add|remove)_option_allowed_list() to (add|remove)_allowed_option(). 2020-06-23 18:54:16 +00:00
plugin-install.js I18N: Use wp.i18n for translatable strings in wp-admin/js/plugin-install.js. 2020-07-07 18:15:03 +00:00
plugin-install.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/plugin-install.js. 2020-07-07 18:15:03 +00:00
post.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
post.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
postbox.js Revert the improvenents to arranging of postboxes/metaboxes, [49179]. The current patch fixes about half a dozen problems, but seems more general improvements are needed to how Screen Options work. 2020-10-27 10:47:12 +00:00
postbox.min.js Revert the improvenents to arranging of postboxes/metaboxes, [49179]. The current patch fixes about half a dozen problems, but seems more general improvements are needed to how Screen Options work. 2020-10-27 10:47:12 +00:00
privacy-tools.js Privacy: Use more appropriate verbiage when downloading personal data export file from a row action. 2020-10-23 19:33:07 +00:00
privacy-tools.min.js Privacy: Use more appropriate verbiage when downloading personal data export file from a row action. 2020-10-23 19:33:07 +00:00
revisions.js Docs: Improve comments in js/_enqueues/wp/revisions.js per the documentation standards. 2020-01-29 00:37:04 +00:00
revisions.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
set-post-thumbnail.js I18N: Use wp.i18n for translatable strings in wp-admin/js/set-post-thumbnail.js. 2020-07-07 18:55:04 +00:00
set-post-thumbnail.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
site-health.js Site Health: Validate the test result data format in JS before using it. 2020-11-08 09:52:10 +00:00
site-health.min.js Site Health: Validate the test result data format in JS before using it. 2020-11-08 09:52:10 +00:00
svg-painter.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
svg-painter.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
tags-box.js I18N: Use wp.i18n for translatable strings in wp-admin/js/tags-box.js and wp-admin/js/tags-suggest.js. 2020-07-06 21:00:03 +00:00
tags-box.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/tags-box.js and wp-admin/js/tags-suggest.js. 2020-07-06 21:00:03 +00:00
tags-suggest.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
tags-suggest.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/tags-box.js and wp-admin/js/tags-suggest.js. 2020-07-06 21:00:03 +00:00
tags.js I18N: Use wp.i18n for translatable strings in wp-admin/js/tags.js. 2020-07-06 19:47:03 +00:00
tags.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/tags.js. 2020-07-06 19:47:03 +00:00
theme-plugin-editor.js I18N: Use wp.i18n for translatable strings in wp-admin/js/dashboard.js. 2020-10-14 21:13:08 +00:00
theme-plugin-editor.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/dashboard.js. 2020-10-14 21:13:08 +00:00
theme.js Upgrade/Install: Only show auto-update for themes that support the feature. 2020-07-29 20:01:08 +00:00
theme.min.js Upgrade/Install: Only show auto-update for themes that support the feature. 2020-07-29 20:01:08 +00:00
updates.js Administration: Unify search results message on list tables. 2020-10-23 16:01:15 +00:00
updates.min.js Administration: Unify search results message on list tables. 2020-10-23 16:01:15 +00:00
user-profile.js Login: Avoid AJAX error on login screen. 2020-10-27 18:43:07 +00:00
user-profile.min.js Login: Avoid AJAX error on login screen. 2020-10-27 18:43:07 +00:00
user-suggest.js
user-suggest.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
widgets.js I18N: Use wp.i18n for translatable strings in wp-admin/js/dashboard.js. 2020-10-14 21:13:08 +00:00
widgets.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/dashboard.js. 2020-10-14 21:13:08 +00:00
word-count.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
word-count.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
xfn.js
xfn.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00