WordPress.org

Make WordPress Core

Ticket #39309: 39309-compat-update.patch

File 39309-compat-update.patch, 701 bytes (added by paragoninitiativeenterprises, 22 months ago)
  • wp-includes/compat.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    443443        require ABSPATH . WPINC . '/random_compat/random.php';
    444444}
    445445
     446// ext/sodium was introduced in PHP 7.2
     447if ( ! function_exists( 'sodium_crypto_sign_detached' ) ) {
     448    require ABSPATH . WPINC . '/sodium_compat/autoload.php';
     449}
     450
    446451if ( ! function_exists( 'array_replace_recursive' ) ) :
    447452        /**
    448453         * PHP-agnostic version of {@link array_replace_recursive()}.