From 5502d59fb9e79569f472804e26a235850ac94ba0 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 26 Dec 2015 11:06:47 +0000 Subject: [PATCH] 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 --- src/wp-includes/pluggable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/pluggable.php b/src/wp-includes/pluggable.php index d394567e4a..5b441d889c 100644 --- a/src/wp-includes/pluggable.php +++ b/src/wp-includes/pluggable.php @@ -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 );