From b0b561517d15efc3901137d22b79db9532a90e48 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 26 Dec 2015 11:07:28 +0000 Subject: [PATCH] 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 --- wp-includes/pluggable.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index d394567e4a..5b441d889c 100644 --- a/wp-includes/pluggable.php +++ b/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 ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 516a918b1b..5e39996f46 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.