Make WordPress Core


Ignore:
Timestamp:
07/05/2023 05:39:55 PM (8 months ago)
Author:
johnbillion
Message:

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

This also removes the random compat library which is no longer necessary, and adjusts unit tests and CI workflows that no longer need to take PHP 5.6 into account.

Thank you for your service, PHP 5. Onwards!

Props SergeyBiryukov, mukesh27, dingo_d, audrasjb, jrf, costdev, azaozz, JavierCasares, hellofromTonya, samiamnot, spacedmonkey, masteradhoc, knutsp, garyjones, chanthaboune

Fixes #57345

File:
1 edited

Legend:

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

    r56017 r56141  
    334334endif;
    335335
    336 // random_int() was introduced in PHP 7.0.
    337 if ( ! function_exists( 'random_int' ) ) {
    338     require ABSPATH . WPINC . '/random_compat/random.php';
    339 }
    340336// sodium_crypto_box() was introduced in PHP 7.2.
    341337if ( ! function_exists( 'sodium_crypto_box' ) ) {
Note: See TracChangeset for help on using the changeset viewer.