Make WordPress Core

Ticket #57325: 57325.diff

File 57325.diff, 444 bytes (added by ilyachalov, 21 months ago)
  • wp-includes/class-requests.php

    diff --git a/wp-includes/class-requests.php b/wp-includes/class-requests.php
    index 31bbbef..897de4a 100644
    a b class Requests { 
    211211                                break;
    212212                        }
    213213                }
    214                 if (self::$transport[$cap_string] === null) {
     214                if (!isset(self::$transport[$cap_string])) {
    215215                        throw new Requests_Exception('No working transports found', 'notransport', self::$transports);
    216216                }
    217217