Docs: Fix typo in a comment in `wp_rand()`.

Props boluda.
Fixes #35228.
Built from https://develop.svn.wordpress.org/trunk@36102


git-svn-id: http://core.svn.wordpress.org/trunk@36067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-12-26 11:07:28 +00:00
parent 85718ebf9a
commit b0b561517d
2 changed files with 2 additions and 2 deletions

View File

@ -2191,7 +2191,7 @@ function wp_rand( $min = 0, $max = 0 ) {
if ( $use_random_int_functionality ) {
try {
$_max = ( 0 != $max ) ? $max : $max_random_number;
// wp_rand() can accept arguements in either order, PHP cannot.
// wp_rand() can accept arguments in either order, PHP cannot.
$_max = max( $min, $_max );
$_min = min( $min, $_max );
$val = random_int( $_min, $_max );

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-alpha-36100';
$wp_version = '4.5-alpha-36102';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.