From 711e4b9b97588e25d28844ad623393e1ef7932aa Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 27 Sep 2023 09:40:43 +0000 Subject: [PATCH] Bootstrap/Load: Remove a redundant `continue` statement in `add_magic_quotes()`. Follow-up to [48205], [48440]. Props Cybr. See #58831. git-svn-id: https://develop.svn.wordpress.org/trunk@56732 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/functions.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 406ec773a5..a57623f52a 100644 --- a/src/wp-includes/functions.php +++ b/src/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; } }