WordPress/wp-admin/js
Sergey Biryukov 68dfbf51d9 Script Loader: Add backward compatibility for JavaScript i18n globals and properties deprecated in WordPress 5.5.
The recommended approach for any plugins using these globals or properties is to switch to the newer `wp.i18n` functions.

In the meantime, this ensures that accessing any of these globals does not break the rest of the code on the page, and an appropriate warning message is logged to the JavaScript console.

Follow-up to: https://core.trac.wordpress.org/query?summary=~wp.i18n&milestone=5.5

Props omarreiss, peterwilsoncc, kbjohnson90, johnbillion, TimothyBlynJacobs, joostdevalk, ocean90, desrosj, SergeyBiryukov.
Fixes #51123.
Built from https://develop.svn.wordpress.org/trunk@48923


git-svn-id: http://core.svn.wordpress.org/trunk@48685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-31 20:30:03 +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
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 Script Loader: Add backward compatibility for JavaScript i18n globals and properties deprecated in WordPress 5.5. 2020-08-31 20:30:03 +00:00
common.min.js Script Loader: Add backward compatibility for JavaScript i18n globals and properties deprecated in WordPress 5.5. 2020-08-31 20:30:03 +00:00
custom-background.js Docs: Replace "AJAX" with "Ajax" in DocBlocks and comments, per the spelling glossary. 2020-06-25 12:43:07 +00:00
custom-background.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +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 Docs: Correct alignment for some parameters in JS documentation. 2020-07-28 00:07:03 +00:00
customize-controls.min.js Customize: Ensure the default message in LockedNotification is set to a string instead of null. 2020-06-29 09:49:05 +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 Docs: Replace "AJAX" with "Ajax" in DocBlocks and comments, per the spelling glossary. 2020-06-25 12:43:07 +00:00
dashboard.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +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 Docs: Correct alignment for some parameters in JS documentation. 2020-07-28 00:07:03 +00:00
image-edit.min.js Accessibility: Media: Improve accessibility of the status and error messages in the Image Editor. 2020-07-07 13:45:02 +00:00
inline-edit-post.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
inline-edit-post.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
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 Docs: Add file doc @output annotations. 2018-06-28 02:30:15 +00:00
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 Docs: Replace "AJAX" with "Ajax" in DocBlocks and comments, per the spelling glossary. 2020-06-25 12:43:07 +00:00
media-gallery.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +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 Accessibility: Administration: Address backward compatibility concerns for the sortable postboxes areas after [48340]. 2020-08-04 13:17:02 +00:00
postbox.min.js Accessibility: Administration: Address backward compatibility concerns for the sortable postboxes areas after [48340]. 2020-08-04 13:17:02 +00:00
privacy-tools.js I18N: Use wp.i18n for translatable strings in wp-admin/js/privacy-tools.js. 2020-07-02 11:11:06 +00:00
privacy-tools.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/privacy-tools.js. 2020-07-02 11:11:06 +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 Coding Standards: Wrap some long lines in wp-admin/js/site-health.js per the JS coding standards for better readability. 2020-07-04 19:56:07 +00:00
site-health.min.js Accessibility: Site Health: Improve the "Copy site info" button accessibility. 2020-06-30 13:26:03 +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 Script Loader: Add backward compatibility for JavaScript i18n globals and properties deprecated in WordPress 5.5. 2020-08-31 20:30:03 +00:00
theme-plugin-editor.min.js Script Loader: Add backward compatibility for JavaScript i18n globals and properties deprecated in WordPress 5.5. 2020-08-31 20:30:03 +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 Script Loader: Add backward compatibility for JavaScript i18n globals and properties deprecated in WordPress 5.5. 2020-08-31 20:30:03 +00:00
updates.min.js Script Loader: Add backward compatibility for JavaScript i18n globals and properties deprecated in WordPress 5.5. 2020-08-31 20:30:03 +00:00
user-profile.js I18N: Use wp.i18n for translatable strings in wp-admin/js/user-profile.js. 2020-07-01 20:38:01 +00:00
user-profile.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/user-profile.js. 2020-07-01 20:38:01 +00:00
user-suggest.js Docs: Add file doc @output annotations. 2018-06-28 02:30:15 +00:00
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 Script Loader: Add backward compatibility for JavaScript i18n globals and properties deprecated in WordPress 5.5. 2020-08-31 20:30:03 +00:00
widgets.min.js Script Loader: Add backward compatibility for JavaScript i18n globals and properties deprecated in WordPress 5.5. 2020-08-31 20:30:03 +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 Privacy tools: Organize privacy functions into logical files and classes. 2019-05-26 20:50:53 +00:00
xfn.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00