I18N: Use wp.i18n for translatable strings in wp-includes/js/wp-pointer.js.

This removes the usage of `wp_localize_script()` for passing translations to the script and instead adds the translatable strings in the script directly through the use of `wp.i18n` and its utilities.

Props swissspidy, ocean90.
See #20491.
Fixes #50525.
Built from https://develop.svn.wordpress.org/trunk@48266


git-svn-id: http://core.svn.wordpress.org/trunk@48035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling
2020-07-01 19:30:02 +00:00
parent 45d19872fc
commit d686fa266b
4 changed files with 5 additions and 14 deletions

View File

@@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5-alpha-48265';
$wp_version = '5.5-alpha-48266';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.