From 4d964a8cf278bd31d1ad054385361437ac2acb0a Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 11 Jul 2020 22:46:27 +0000 Subject: [PATCH] Docs: Synchronize `@since` notes for `add_magic_quotes()` and `wp_slash()`. Follow-up to [48205], [48433]. See #49572. git-svn-id: https://develop.svn.wordpress.org/trunk@48441 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/formatting.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php index c5a1f53f7a..ee2140cc78 100644 --- a/src/wp-includes/formatting.php +++ b/src/wp-includes/formatting.php @@ -5502,10 +5502,10 @@ function sanitize_trackback_urls( $to_ping ) { * This should not be used to escape data going directly into an SQL query. * * @since 3.6.0 - * @since 5.5.0 Leave a non-string value untouched. + * @since 5.5.0 Non-string values are left untouched. * - * @param string|array $value String or array of strings to slash. - * @return string|array Slashed $value + * @param string|string[] $value String or array of strings to slash. + * @return string|string[] Slashed $value. */ function wp_slash( $value ) { if ( is_array( $value ) ) {