From f32746620083b67dcc0b20e31211bebd55963433 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 1 Mar 2020 16:23:24 +0000 Subject: [PATCH] Docs: Use more specific type in parameter description for `wp_unslash()`. Props marekdedic. See #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@47400 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/formatting.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php index ff0c724108..b8c7799ae3 100644 --- a/src/wp-includes/formatting.php +++ b/src/wp-includes/formatting.php @@ -5473,8 +5473,8 @@ function wp_slash( $value ) { * * @since 3.6.0 * - * @param string|array $value String or array of strings to unslash. - * @return string|array Unslashed $value + * @param string|string[] $value String or array of strings to unslash. + * @return string|string[] Unslashed $value */ function wp_unslash( $value ) { return stripslashes_deep( $value );