General: remove variable set needlessly in `wp_check_jsonp_callback()`.
See #37771. Built from https://develop.svn.wordpress.org/trunk@38308 git-svn-id: http://core.svn.wordpress.org/trunk@38249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
22adda2aa0
commit
7b30193bb7
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7-alpha-38307';
|
||||
$wp_version = '4.7-alpha-38308';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue