diff --git a/wp-includes/l10n.php b/wp-includes/l10n.php index 9e2a86a759..038b916049 100644 --- a/wp-includes/l10n.php +++ b/wp-includes/l10n.php @@ -833,11 +833,13 @@ function load_textdomain( $domain, $mofile, $locale = null ) { * the file path could be for an MO or PHP file. * * @since 6.5.0 + * @since 6.6.0 Added the `$locale` parameter. * * @param string $file Path to the translation file to load. * @param string $domain The text domain. + * @param string $locale The locale. */ - $file = (string) apply_filters( 'load_translation_file', $file, $domain ); + $file = (string) apply_filters( 'load_translation_file', $file, $domain, $locale ); $success = $i18n_controller->load_file( $file, $domain, $locale ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 50cc8e925c..bb36779962 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-58094'; +$wp_version = '6.6-alpha-58095'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.