From dc3d64ed9c9504828ff4055df91d305fa7b1e5dd Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 4 Aug 2016 22:13:29 +0000 Subject: [PATCH] I18N: Correct the documented return types of `get_translations_for_domain()`. See #32246 Built from https://develop.svn.wordpress.org/trunk@38198 git-svn-id: http://core.svn.wordpress.org/trunk@38139 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/l10n.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/l10n.php b/wp-includes/l10n.php index c63777451c..4596669607 100644 --- a/wp-includes/l10n.php +++ b/wp-includes/l10n.php @@ -867,7 +867,7 @@ function _load_textdomain_just_in_time( $domain ) { * @global array $l10n * * @param string $domain Text domain. Unique identifier for retrieving translated strings. - * @return NOOP_Translations A Translations instance. + * @return Translations|NOOP_Translations A Translations instance. */ function get_translations_for_domain( $domain ) { global $l10n; diff --git a/wp-includes/version.php b/wp-includes/version.php index 8327a7fa4b..128a74fa52 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38196'; +$wp_version = '4.7-alpha-38198'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.