From c38f99df9aa2cd0967980400d6f630a947668a4e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 11 Jul 2020 22:48:07 +0000 Subject: [PATCH] Docs: Synchronize `@since` notes for `add_magic_quotes()` and `wp_slash()`. Follow-up to [48205], [48433]. See #49572. Built from https://develop.svn.wordpress.org/trunk@48441 git-svn-id: http://core.svn.wordpress.org/trunk@48210 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/formatting.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index 8f8c86f742..ca1c559fd6 100644 --- a/wp-includes/formatting.php +++ b/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 ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index b06bd8915f..bbf688bf50 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-beta1-48440'; +$wp_version = '5.5-beta1-48441'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.