diff --git a/wp-includes/class-phpass.php b/wp-includes/class-phpass.php index 5411b36483..055925b20f 100644 --- a/wp-includes/class-phpass.php +++ b/wp-includes/class-phpass.php @@ -173,8 +173,8 @@ class PasswordHash { $itoa64 = './ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; $output = '$2a$'; - $output .= chr(ord('0') + $this->iteration_count_log2 / 10); - $output .= chr(ord('0') + $this->iteration_count_log2 % 10); + $output .= chr((int)(ord('0') + $this->iteration_count_log2 / 10)); + $output .= chr((ord('0') + $this->iteration_count_log2 % 10)); $output .= '$'; $i = 0; diff --git a/wp-includes/version.php b/wp-includes/version.php index be28350a99..11c9d66aa3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-beta1-55309'; +$wp_version = '6.2-beta1-55310'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.