Skip to content

Commit 711e4b9

Browse files
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
1 parent 9726320 commit 711e4b9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/wp-includes/functions.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,8 +1284,6 @@ function add_magic_quotes( $input_array ) {
12841284
$input_array[ $k ] = add_magic_quotes( $v );
12851285
} elseif ( is_string( $v ) ) {
12861286
$input_array[ $k ] = addslashes( $v );
1287-
} else {
1288-
continue;
12891287
}
12901288
}
12911289

0 commit comments

Comments
 (0)