From 355d5f9bb76bff0a24970cea8a5be22d9ed612d4 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 19 Apr 2019 14:21:53 +0000 Subject: [PATCH] Docs: Correct `@param` type for `$deprecated` and `$plugin_rel_path` arguments of `load_plugin_textdomain()`. Props sudar. Fixes #43304. Built from https://develop.svn.wordpress.org/trunk@45254 git-svn-id: http://core.svn.wordpress.org/trunk@45063 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/l10n.php | 9 +++++---- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/wp-includes/l10n.php b/wp-includes/l10n.php index d6904ab2d9..bd57378a5d 100644 --- a/wp-includes/l10n.php +++ b/wp-includes/l10n.php @@ -767,10 +767,11 @@ function load_default_textdomain( $locale = null ) { * @since 1.5.0 * @since 4.6.0 The function now tries to load the .mo file from the languages directory first. * - * @param string $domain Unique identifier for retrieving translated strings - * @param string $deprecated Optional. Use the $plugin_rel_path parameter instead. Default false. - * @param string $plugin_rel_path Optional. Relative path to WP_PLUGIN_DIR where the .mo file resides. - * Default false. + * @param string $domain Unique identifier for retrieving translated strings + * @param string|false $deprecated Optional. Deprecated. Use the $plugin_rel_path parameter instead. + * Default false. + * @param string|false $plugin_rel_path Optional. Relative path to WP_PLUGIN_DIR where the .mo file resides. + * Default false. * @return bool True when textdomain is successfully loaded, false otherwise. */ function load_plugin_textdomain( $domain, $deprecated = false, $plugin_rel_path = false ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index f539d2e224..648a8d71f6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-beta3-45253'; +$wp_version = '5.2-beta3-45254'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.