WordPress/wp-admin
desrosj fdad915022 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.
Merges [48923] to the 5.5 branch.
Fixes #51123.
Built from https://develop.svn.wordpress.org/branches/5.5@48925


git-svn-id: http://core.svn.wordpress.org/branches/5.5@48687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-31 22:44:13 +00:00
..
css Administration: Remove non-color related styling from Modern color scheme. 2020-08-26 13:21:03 +00:00
images Customize: Move the WordPress logo with a white background to the wp-includes directory. 2020-05-21 09:10:12 +00:00
includes Themes: Normalize the installed theme path in Theme_Installer_Skin::do_overwrite() before comparing with the uploaded theme. 2020-08-31 18:31:09 +00:00
js Script Loader: Add backward compatibility for JavaScript i18n globals and properties deprecated in WordPress 5.5. 2020-08-31 22:44:13 +00:00
maint Administration: Remove the xmlns attribute on the <html> tag. 2020-06-22 21:26:16 +00:00
network Coding Standards: Replace echo sprintf() with printf(). 2020-06-20 13:18:11 +00:00
user
about.php Help/About: Revert [48811] from the 5.5 branch for now, to avoid displaying untranslated strings on the About page. 2020-08-18 03:02:08 +00:00
admin-ajax.php Security: Add user interface to auto-update themes and plugins. 2020-05-20 18:49:09 +00:00
admin-footer.php
admin-functions.php
admin-header.php Administration: Don't print the .php-error class in the admin header for PHP notices in wp-config.php. 2020-08-24 10:50:05 +00:00
admin-post.php
admin.php Upgrade/Install: Don't trigger database upgrade on Ajax requests via wp-admin/async-upload.php. 2020-07-22 12:56:04 +00:00
async-upload.php Media: Ensure that uploaded images get a success notification by users with upload_files capability. 2020-06-22 23:53:09 +00:00
comment.php Administration: Capitalize Trash consistently in various messages. 2020-07-24 00:21:03 +00:00
credits.php Help/About: String updates and accessibility improvements to the 5.5 About page. 2020-08-04 17:44:06 +00:00
custom-background.php
custom-header.php
customize.php Docs: Correct documentation for customize_controls_head hook and _customizer_mobile_viewport_meta() function. 2020-07-10 11:36:07 +00:00
edit-comments.php Administration: Move more table strings to sentence casing. 2020-07-06 21:52:21 +00:00
edit-form-advanced.php I18N: Remove <kbd> tag from a translatable string on Edit Post screen. 2020-06-27 23:02:03 +00:00
edit-form-blocks.php Editor: Ensure the required assets for the block directory are enqueued. 2020-07-21 15:38:03 +00:00
edit-form-comment.php Administration: Capitalize Trash consistently in various messages. 2020-07-24 00:21:03 +00:00
edit-link-form.php Administration: Use HTTPS for XHTML Friends Network URL. 2020-07-04 09:33:01 +00:00
edit-tag-form.php Coding Standards: Use strict comparison in some wp-admin files. 2020-05-12 18:32:08 +00:00
edit-tags.php
edit.php Administration: Move more table strings to sentence casing. 2020-07-06 21:52:21 +00:00
erase-personal-data.php Privacy: Set the direction for the "Username or email address" field on privacy screens to LTR. 2020-07-14 11:17:04 +00:00
export-personal-data.php Privacy: Set the direction for the "Username or email address" field on privacy screens to LTR. 2020-07-14 11:17:04 +00:00
export.php Coding Standards: Use strict comparison in some wp-admin files. 2020-05-12 18:32:08 +00:00
freedoms.php Help/About: WordPress 5.5 About Page. 2020-07-28 17:46:04 +00:00
import.php I18N: Add context to some plugin and theme strings for consistency. 2020-07-20 23:14:05 +00:00
index.php Site Health: Correct the message for snoozed email verifications. 2020-07-21 12:37:07 +00:00
install-helper.php Docs: Improve documentation for functions in wp-admin/install-helper.php per the documentation standards. 2020-05-12 18:40:07 +00:00
install.php Site Health: Improve the error message displayed when activating a plugin that requires a higher version of PHP or WordPress. 2020-06-26 00:27:09 +00:00
link-add.php
link-manager.php Coding Standards: Use strict comparison in some wp-admin files. 2020-05-12 18:32:08 +00:00
link-parse-opml.php XML-RPC: Explicitly unset the reference to the parser resource after calling xml_parser_free() to avoid memory leaks in PHP 7.0.0 or higher. 2020-07-05 15:22:01 +00:00
link.php Coding Standards: Use strict comparison in some wp-admin files. 2020-05-12 18:32:08 +00:00
load-scripts.php Coding Standards: Fix instances of Generic.WhiteSpace.ArbitraryParenthesesSpacing.FoundEmpty. 2020-05-26 09:37:10 +00:00
load-styles.php Coding Standards: Fix instances of Generic.WhiteSpace.ArbitraryParenthesesSpacing.FoundEmpty. 2020-05-26 09:37:10 +00:00
media-new.php
media-upload.php Coding Standards: Use strict comparison in some wp-admin files. 2020-05-12 18:32:08 +00:00
media.php Coding Standards: Fix instances of Generic.WhiteSpace.ArbitraryParenthesesSpacing.FoundEmpty. 2020-05-26 09:37:10 +00:00
menu-header.php Coding Standards: Use strict comparison in some wp-admin files. 2020-05-12 18:32:08 +00:00
menu.php
moderation.php
ms-admin.php
ms-delete-site.php Networks and Sites: Use a consistent wording when referring to site deletion on Delete Site screen. 2020-06-28 14:12:02 +00:00
ms-edit.php
ms-options.php
ms-sites.php
ms-themes.php
ms-upgrade-network.php
ms-users.php
my-sites.php Coding Standards: Use strict comparison in some wp-admin files. 2020-05-12 18:32:08 +00:00
nav-menus.php Coding Standards: Fix WPCS issues in wp-admin/nav-menus.php. 2020-06-16 18:38:08 +00:00
network.php Coding Standards: Use strict comparison for count() calls. 2020-05-23 11:38:08 +00:00
options-discussion.php General: Update code for readability and inclusion 2020-07-23 03:14:06 +00:00
options-general.php
options-head.php
options-media.php Docs: Correct and clarify an inline comment about the upload_url_path and upload_path options in wp-admin/options-media.php. 2020-06-01 11:22:13 +00:00
options-permalink.php Docs: Correct @since version for available_permalink_structure_tags filter. 2020-06-03 10:38:09 +00:00
options-privacy.php
options-reading.php Administration and Site Health: Make information on Search engine visibility more prominent. 2020-05-27 14:33:11 +00:00
options-writing.php Administration: Add missing comma to the message in "Post via email" section. 2020-06-26 19:38:06 +00:00
options.php General: Update code for readability and inclusion 2020-07-23 03:14:06 +00:00
plugin-editor.php Coding Standards: Replace echo sprintf() with printf(). 2020-06-20 13:18:11 +00:00
plugin-install.php Accessibility: Plugins: Accessibility and CSS improvements for the Plugins pages. 2020-07-03 08:51:05 +00:00
plugins.php Upgrade/Install: Enhance auto-updates to be disabled for plugins that don't suport updates. 2020-07-28 16:32:01 +00:00
post-new.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
post.php Posts, Post Types: Clarify some "Error in deleting" messages, use more specific strings for attachments. 2020-07-05 10:41:10 +00:00
press-this.php
privacy-policy-guide.php
privacy.php Help/About: WordPress 5.5 About Page. 2020-07-28 17:46:04 +00:00
profile.php
revision.php Revisions: Ensure the global $post remains the same after revision is restored. 2020-07-26 21:25:02 +00:00
setup-config.php Administration: Remove the xmlns attribute on the <html> tag. 2020-06-22 21:26:16 +00:00
site-health-info.php Accessibility: Site Health: Improve the "Copy site info" button accessibility. 2020-06-30 13:26:03 +00:00
site-health.php
term.php
theme-editor.php Coding Standards: Replace echo sprintf() with printf(). 2020-06-20 13:18:11 +00:00
theme-install.php Themes: Display a message in theme grid if a theme requires a higher version of PHP or WordPress. 2020-07-27 15:04:03 +00:00
themes.php Upgrade/Install: Only show auto-update for themes that support the feature. 2020-07-30 22:04:05 +00:00
tools.php
update-core.php Themes: Display a message in theme updates list if an update requires a higher version of PHP or WordPress. 2020-07-28 01:02:04 +00:00
update.php Upgrade/Install: Ensure cleanup after canceled update. 2020-07-10 06:08:06 +00:00
upgrade-functions.php
upgrade.php Site Health: Improve the error message displayed when activating a plugin that requires a higher version of PHP or WordPress. 2020-06-26 00:27:09 +00:00
upload.php Posts, Post Types: Clarify some "Error in deleting" messages, use more specific strings for attachments. 2020-07-05 10:41:10 +00:00
user-edit.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
user-new.php Users: On the 'Add New User' screen, don't show the roles dropdown if the current user can't promote other users. 2020-06-14 17:03:10 +00:00
users.php Docs: Various formatting improvements to inline docblocks. 2020-07-23 00:52:05 +00:00
widgets.php