From b6fad3a24146fcf65230cc9722932427289244c0 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Mon, 25 Jul 2022 17:28:09 +0000 Subject: [PATCH] Docs: Remove an obsolete function description in `addslashes_gpc()`. - Usage of `get_magic_quotes_gpc()` was removed from `addslashes_gpc()` in [46105] / #47783. - A similar description fragment was removed from `wp_parse_str()` in that changeset, but this one was missed. - The `get_magic_quotes_gpc()` function itself was deprecated in PHP 7.4 and removed in PHP 8.0. Props mitweka, audrasjb, SergeyBiryukov. Fixes #56233. See #55646. Built from https://develop.svn.wordpress.org/trunk@53776 git-svn-id: http://core.svn.wordpress.org/trunk@53335 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/formatting.php | 3 --- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index 097c8a6121..8d41efffdc 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -2785,9 +2785,6 @@ function untrailingslashit( $string ) { /** * Adds slashes to a string or recursively adds slashes to strings within an array. * - * Slashes will first be removed if magic_quotes_gpc is set, see {@link - * https://www.php.net/magic_quotes} for more details. - * * @since 0.71 * * @param string|array $gpc String or array of data to slash. diff --git a/wp-includes/version.php b/wp-includes/version.php index 361c43ca2c..03f2fea392 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53775'; +$wp_version = '6.1-alpha-53776'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.