wordpress-develop/tests/phpunit/tests/dependencies
Dominik Schilling 8a64e9fef9 I18N, Script Loader: Don't register empty locale data objects.
For `wp.i18n` the library [https://github.com/messageformat/Jed Jed] was initially used which was throwing an error if a domain was not registered but used in a translate function. Later, the library was replaced by [https://github.com/aduth/tannin Tannin] which no longer requires the domain to be registered and thus we can avoid printing an empty-ish translations script that doesn't add any translations.

Props jsnajdr.
Fixes #55250.

git-svn-id: https://develop.svn.wordpress.org/trunk@52937 602fd350-edb4-49c9-b593-d223f7449a82
2022-03-15 15:57:57 +00:00
..
jquery.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
scripts.php I18N, Script Loader: Don't register empty locale data objects. 2022-03-15 15:57:57 +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