I18N: Allow to short-circuit load_textdomain().

Introduces a new `pre_load_textdomain` filter, which is useful for plugins to develop and test alternative loading/caching strategies for translations. This brings consistency with the existing `pre_load_script_translations` filter for JavaScript translations.

Props ocean90, swissspidy.
Fixes #58035.
Built from https://develop.svn.wordpress.org/trunk@55928


git-svn-id: http://core.svn.wordpress.org/trunk@55440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Pascal Birchler
2023-06-16 12:58:24 +00:00
parent d3dc1cd671
commit c251d2f8bf
2 changed files with 23 additions and 1 deletions

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.3-alpha-55927';
$wp_version = '6.3-alpha-55928';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.