wordpress-develop/tests/phpunit/tests/dependencies
Peter Wilson 09923cc040 Script Loader: Fix i18n edge case breaking dependencies.
Prevent concatenation of scripts if the text domain is defined to ensure the dependency order is respected. 

This accounts for an edge case in which replacing a core script via a plugin and a lack of translations (eg, for a US English site) could cause the JavaScript files to be ordered incorrectly.

Follow up to [52937].

Props audrasjb, boniu91, chaion07, costdev, hellofromtonya, jsnajdr, mukesh27, ndiego, ugyensupport.
Fixes #55628.


git-svn-id: https://develop.svn.wordpress.org/trunk@53360 602fd350-edb4-49c9-b593-d223f7449a82
2022-05-07 02:51:54 +00:00
..
jquery.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
scripts.php Script Loader: Fix i18n edge case breaking dependencies. 2022-05-07 02:51:54 +00:00
styles.php Script Loader: Prevent normalizing data URIs in _wp_normalize_relative_css_links(). 2022-02-17 14:45:53 +00:00
wpInlineScriptTag.php Coding Standards: Use static closures when not using $this. 2021-08-26 12:57:08 +00:00
wpSanitizeScriptAttributes.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
wpScriptTag.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00