From f3425a50ac09d58d2591b531785da4f4efc6ba19 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 19 Aug 2016 14:28:42 +0000 Subject: [PATCH] Docs: Fix typo in `load_plugin_textdomain()` parameter description. Props tivnet. See #37318. git-svn-id: https://develop.svn.wordpress.org/trunk@38284 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/l10n.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/l10n.php b/src/wp-includes/l10n.php index 4596669607..02973b31ce 100644 --- a/src/wp-includes/l10n.php +++ b/src/wp-includes/l10n.php @@ -674,7 +674,7 @@ function load_default_textdomain( $locale = null ) { * @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. Defaukt false. + * @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. * @return bool True when textdomain is successfully loaded, false otherwise.