From b2c997556affbb3dfacf2c09d30defa352cb0b21 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 27 Sep 2023 09:42:24 +0000 Subject: [PATCH] Bootstrap/Load: Remove a redundant `continue` statement in `add_magic_quotes()`. Follow-up to [48205], [48440]. Props Cybr. See #58831. Built from https://develop.svn.wordpress.org/trunk@56732 git-svn-id: http://core.svn.wordpress.org/trunk@56244 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 2 -- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 406ec773a5..a57623f52a 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1284,8 +1284,6 @@ function add_magic_quotes( $input_array ) { $input_array[ $k ] = add_magic_quotes( $v ); } elseif ( is_string( $v ) ) { $input_array[ $k ] = addslashes( $v ); - } else { - continue; } } diff --git a/wp-includes/version.php b/wp-includes/version.php index ea735b0193..7d2cb23e65 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-beta1-56731'; +$wp_version = '6.4-beta1-56732'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.