Make WordPress Core


Ignore:
Timestamp:
10/23/2015 04:21:01 AM (9 years ago)
Author:
dd32
Message:

Update to Random_Compat 1.0.9.
This update includes fixes for Windows support & libSodium support, and removes the Throwable Polyfill due to PHP7 incompatibilities.

Fixes #28633

File:
1 edited

Legend:

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

    r34981 r35365  
    2727 */
    2828
    29 if (!interface_exists('Throwable', false)) {
    30     interface Throwable
    31     {
    32     }
    33 }
    34 
    3529if (!class_exists('Error', false)) {
    3630    // We can't really avoid making this extend Exception in PHP 5.
    37     class Error extends Exception implements Throwable
     31    class Error extends Exception
    3832    {
    3933       
Note: See TracChangeset for help on using the changeset viewer.