I18N: Use `wp.i18n` for translatable strings in...
I18N: Use `wp.i18n` for translatable strings in `wp-admin/js/inline-edit-post.js` and `wp-admin/js/inline-edit-tax.js`. This removes the usage of `wp_localize_script()` for passing translations to the scripts and instead adds the translatable strings in the scripts directly through the use of `wp.i18n` and its utilities. Props swissspidy, ocean90. See #20491. Fixes #50601. Built from https://develop.svn.wordpress.org/trunk@48391 git-svn-id: https://core.svn.wordpress.org/trunk@48160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Loading
Please register or sign in to comment