Make WordPress Core


Ignore:
Timestamp:
12/09/2019 04:40:11 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Upgrade/Install: Update sodium_compat to v1.12.1.

This includes a speedup for signature verification on most platforms and bugfixes for 32-bit platforms.

Props paragoninitiativeenterprises, lukaswaudentio.
Fixes #48371.

File:
1 edited

Legend:

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

    r46586 r46858  
    11<?php
     2
     3require_once dirname(dirname(__FILE__)) . '/autoload.php';
    24
    35if (PHP_VERSION_ID < 50300) {
     
    3739    // separators with directory separators in the relative class name, append
    3840    // with .php
    39     $file = dirname(__DIR__) . '/namespaced/' . str_replace('\\', '/', $relative_class) . '.php';
     41    $file = dirname(dirname(__FILE__)) . '/namespaced/' . str_replace('\\', '/', $relative_class) . '.php';
    4042    // if the file exists, require it
    4143    if (file_exists($file)) {
Note: See TracChangeset for help on using the changeset viewer.