Skip to content

Commit edc4ed1

Browse files
Apply suggestions from code review
Co-authored-by: Aaron Jorbin <[email protected]>
1 parent 77ffa57 commit edc4ed1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/wp-admin/includes/misc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1624,7 +1624,7 @@ function wp_check_php_version() {
16241624

16251625
$response['is_lower_than_future_minimum'] = false;
16261626

1627-
// The minimum supported PHP version will be updated to 8.0 in the future. Check if the current version is lower.
1627+
// The minimum supported PHP version will be updated to at least 8.0 in the future. Check if the current version is lower.
16281628
if ( version_compare( $version, '8.0', '<' ) ) {
16291629
$response['is_lower_than_future_minimum'] = true;
16301630

src/wp-includes/pluggable.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2677,6 +2677,7 @@ function wp_hash_password(
26772677
* - `PASSWORD_DEFAULT`
26782678
*
26792679
* @since 6.8.0
2680+
* @since 6.9.0 The paramater passed will always be a string.
26802681
*
26812682
* @param string $algorithm The hashing algorithm. Default is the value of the `PASSWORD_BCRYPT` constant.
26822683
*/
@@ -2689,6 +2690,7 @@ function wp_hash_password(
26892690
* filter. You must ensure that the options are appropriate for the algorithm in use.
26902691
*
26912692
* @since 6.8.0
2693+
* @since 6.9 $algorithm will always be a string rather than sometimes being an integer.
26922694
*
26932695
* @param array $options Array of options to pass to the password hashing functions.
26942696
* By default this is an empty array which means the default

0 commit comments

Comments
 (0)