From 6bf5238ebbcee38ef53e1dbf27a3ddd2ee806923 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 8 Jan 2020 00:25:04 +0000 Subject: [PATCH] Docs: Indicate that `load_script_textdomain_relative_path` filter value can be `false`. See #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@47049 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/l10n.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/l10n.php b/src/wp-includes/l10n.php index 0fbc57f3c4..991e2346fe 100644 --- a/src/wp-includes/l10n.php +++ b/src/wp-includes/l10n.php @@ -1016,8 +1016,8 @@ function load_script_textdomain( $handle, $domain = 'default', $path = null ) { * * @since 5.0.2 * - * @param string $relative The relative path of the script. False if it could not be determined. - * @param string $src The full source url of the script. + * @param string|false $relative The relative path of the script. False if it could not be determined. + * @param string $src The full source URL of the script. */ $relative = apply_filters( 'load_script_textdomain_relative_path', $relative, $src );