Make WordPress Core


Ignore:
Timestamp:
01/09/2026 11:45:46 AM (9 months ago)
Author:
johnbillion
Message:

General: Increase the minimum supported version of PHP to 7.4.

Props justlevine, masteradhoc, samiamnot, matt, bradshawtm, 4thhubbard, desrosj, jorbin, westonruter, peterwilsoncc, johnbillion

Fixes #62622

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pluggable.php

    r61457 r61459  
    27782778                 * - `PASSWORD_DEFAULT`
    27792779                 *
    2780                  * The values of the algorithm constants are strings in PHP 7.4+ and integers in PHP 7.3 and earlier.
    2781                  *
    27822780                 * @since 6.8.0
    2783                  *
    2784                  * @param string|int $algorithm The hashing algorithm. Default is the value of the `PASSWORD_BCRYPT` constant.
     2781                 * @since 7.0.0 The `$algorithm` parameter is now always a string.
     2782                 *
     2783                 * @param string $algorithm The hashing algorithm. Default is the value of the `PASSWORD_BCRYPT` constant.
    27852784                 */
    27862785                $algorithm = apply_filters( 'wp_hash_password_algorithm', PASSWORD_BCRYPT );
    … …  
    27922791                 * filter. You must ensure that the options are appropriate for the algorithm in use.
    27932792                 *
    2794                  * The values of the algorithm constants are strings in PHP 7.4+ and integers in PHP 7.3 and earlier.
    2795                  *
    27962793                 * @since 6.8.0
    2797                  *
    2798                  * @param array      $options   Array of options to pass to the password hashing functions.
    2799                  *                              By default this is an empty array which means the default
    2800                  *                              options will be used.
    2801                  * @param string|int $algorithm The hashing algorithm in use.
     2794                 * @since 7.0.0 The `$algorithm` parameter is now always a string.
     2795                 *
     2796                 * @param array  $options   Array of options to pass to the password hashing functions.
     2797                 *                          By default this is an empty array which means the default
     2798                 *                          options will be used.
     2799                 * @param string $algorithm The hashing algorithm in use.
    28022800                 */
    28032801                $options = apply_filters( 'wp_hash_password_options', array(), $algorithm );
Note: See TracChangeset for help on using the changeset viewer.