Changeset 47902 for trunk/src/wp-includes/class-requests.php
- Timestamp:
- 06/03/2020 05:38:56 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-requests.php
r46661 r47902 188 188 // Don't search for a transport if it's already been done for these $capabilities 189 189 if (isset(self::$transport[$cap_string]) && self::$transport[$cap_string] !== null) { 190 return new self::$transport[$cap_string](); 190 $class = self::$transport[$cap_string]; 191 return new $class(); 191 192 } 192 193 // @codeCoverageIgnoreEnd … … 215 216 } 216 217 217 return new self::$transport[$cap_string](); 218 $class = self::$transport[$cap_string]; 219 return new $class(); 218 220 } 219 221
Note: See TracChangeset
for help on using the changeset viewer.