diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index de12f2bb46..0e084fd66d 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -3137,7 +3137,7 @@ function wp_check_jsonp_callback( $callback ) { return false; } - $jsonp_callback = preg_replace( '/[^\w\.]/', '', $callback, -1, $illegal_char_count ); + preg_replace( '/[^\w\.]/', '', $callback, -1, $illegal_char_count ); return 0 === $illegal_char_count; }