Changeset 38165
- Timestamp:
- 07/27/2016 03:51:19 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-http.php
r38164 r38165 316 316 if ( empty( $r['redirection'] ) ) { 317 317 $options['follow_redirects'] = false; 318 } 319 else { 318 } else { 320 319 $options['redirects'] = $r['redirection']; 321 320 } … … 334 333 if ( ! $r['sslverify'] ) { 335 334 $options['verify'] = false; 336 } 337 else { 335 } else { 338 336 $options['verify'] = $r['sslcertificates']; 337 } 338 339 // All non-GET/HEAD requests should put the arguments in the form body. 340 if ( 'HEAD' !== $type && 'GET' !== $type ) { 341 $options['data_format'] = 'body'; 339 342 } 340 343
Note: See TracChangeset
for help on using the changeset viewer.