Changeset 25176
- Timestamp:
- 08/30/2013 02:10:34 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-http.php
r25155 r25176 372 372 * Then a numbered array is returned as the value of that header-key. 373 373 */ 374 public static function processHeaders( $headers, $url ) {374 public static function processHeaders( $headers, $url = '' ) { 375 375 // split headers, one per array element 376 376 if ( is_string($headers) ) { … … 1709 1709 */ 1710 1710 function __construct( $data, $requested_url = '' ) { 1711 $arrURL = @parse_url( $requested_url ); 1711 if ( $requested_url ) 1712 $arrURL = @parse_url( $requested_url ); 1712 1713 if ( isset( $arrURL['host'] ) ) 1713 1714 $this->domain = $arrURL['host'];
Note: See TracChangeset
for help on using the changeset viewer.