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

Props boluda.
Fixes #35228.

git-svn-id: https://develop.svn.wordpress.org/trunk@36102 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2015-12-26 11:06:47 +00:00
parent 0ce64dd122
commit 5502d59fb9
1 changed files with 1 additions and 1 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 );