Skip to content

Commit f1ef5c0

Browse files
committed
Indicate that the fall-through in is_serialized() is deliberate. fixes #24023.
git-svn-id: https://develop.svn.wordpress.org/trunk@25371 602fd350-edb4-49c9-b593-d223f7449a82
1 parent a56e833 commit f1ef5c0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/wp-includes/functions.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ function is_serialized( $data, $strict = true ) {
282282
} elseif ( false === strpos( $data, '"' ) ) {
283283
return false;
284284
}
285+
// or else fall through
285286
case 'a' :
286287
case 'O' :
287288
return (bool) preg_match( "/^{$token}:[0-9]+:/s", $data );

0 commit comments

Comments
 (0)