Wordpress/tests
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
..
e2e Build/Test Tools: Fix the hello e2e test assertion. 2019-06-28 11:33:13 +00:00
phpunit I18N: Add support for custom WP_PLUGIN_URL in load_script_textdomain(). 2019-07-27 12:43:56 +00:00
qunit Regenerate the REST API fixtures after [45443]. 2019-06-07 20:23:46 +00:00