diff --git a/src/wp-includes/l10n.php b/src/wp-includes/l10n.php index d6904ab2d9..bd57378a5d 100644 --- a/src/wp-includes/l10n.php +++ b/src/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 ) {