Make WordPress Core


Ignore:
Timestamp:
09/14/2022 12:11:11 AM (2 years ago)
Author:
SergeyBiryukov
Message:

Upgrade/Install: Update sodium_compat to v1.18.0.

The latest version of sodium_compat includes some improvements, as well as a new feature which will also be included in PHP 8.2.

Release notes:
https://github.com/paragonie/sodium_compat/releases/tag/v1.18.0

A full list of changes in this update can be found on GitHub:
https://github.com/paragonie/sodium_compat/compare/v1.17.1...v1.18.0

Follow-up to [49741], [51002], [51591], [52988].

Props jrf, paragoninitiativeenterprises.
Fixes #56564.

File:
1 edited

Legend:

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

    r51002 r54150  
    4343
    4444/* Explicitly, always load the Compat class: */
    45 require_once dirname(__FILE__) . '/src/Compat.php';
     45if (!class_exists('ParagonIE_Sodium_Compat', false)) {
     46    require_once dirname(__FILE__) . '/src/Compat.php';
     47}
    4648
    4749if (!class_exists('SodiumException', false)) {
     
    7072    require_once(dirname(__FILE__) . '/lib/php72compat.php');
    7173}
     74require_once(dirname(__FILE__) . '/lib/stream-xchacha20.php');
    7275require_once(dirname(__FILE__) . '/lib/ristretto255.php');
Note: See TracChangeset for help on using the changeset viewer.