Changeset 38485 for branches/4.6/src/wp-includes/class-http.php
- Timestamp:
- 08/31/2016 10:00:53 PM (8 years ago)
- Location:
- branches/4.6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.6
-
branches/4.6/src/wp-includes/class-http.php
r38461 r38485 363 363 } 364 364 365 // Work around a bug in Requests when the path starts with // See https://github.com/rmccue/Requests/issues/231 366 $url = preg_replace( '!^(\w+://[^/]+)//(.*)$!i', '$1/$2', $url ); 367 365 368 try { 366 369 $requests_response = Requests::request( $url, $headers, $data, $type, $options );
Note: See TracChangeset
for help on using the changeset viewer.