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:
Scott Taylor 2016-08-22 20:51:30 +00:00
parent 22adda2aa0
commit 7b30193bb7
2 changed files with 2 additions and 2 deletions

View File

@ -3137,7 +3137,7 @@ function wp_check_jsonp_callback( $callback ) {
return false; 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; return 0 === $illegal_char_count;
} }

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.