wordpress-develop/tests/phpunit/tests/l10n
Dominik Schilling 84b977945c I18N: Add support for custom WP_PLUGIN_URL in load_script_textdomain().
Plugins may not be on the same host/path as the rest of the content. To support loading translations for this setup check if the script source matches `plugins_url()`.
Also fixes an undefined index notice when a custom content URL has no path.

Props odminstudios, ocean90.
Fixes #46336, #46387.

git-svn-id: https://develop.svn.wordpress.org/trunk@45685 602fd350-edb4-49c9-b593-d223f7449a82
2019-07-27 12:43:56 +00:00
..
getLocale.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getUserLocale.php Code is Poetry. 2017-11-30 23:09:33 +00:00
loadScriptTextdomain.php I18N: Add support for custom WP_PLUGIN_URL in load_script_textdomain(). 2019-07-27 12:43:56 +00:00
loadTextdomain.php Code is Poetry. 2017-11-30 23:09:33 +00:00
loadTextdomainJustInTime.php Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00
localeSwitcher.php Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00