Ticket #9049: 9049-defaults.diff
File 9049-defaults.diff, 718 bytes (added by , 15 years ago) |
---|
-
http.php
364 364 'user-agent' => apply_filters( 'http_headers_useragent', 'WordPress/' . $wp_version . '; ' . get_bloginfo( 'url' ) ), 365 365 'blocking' => true, 366 366 'headers' => array(), 367 'cookies' => array(), 367 368 'body' => null, 368 369 'compress' => false, 369 370 'decompress' => true, … … 660 661 'method' => 'GET', 'timeout' => 5, 661 662 'redirection' => 5, 'httpversion' => '1.0', 662 663 'blocking' => true, 663 'headers' => array(), 'body' => null 664 'headers' => array(), 'body' => null, 'cookies' => array() 664 665 ); 665 666 666 667 $r = wp_parse_args( $args, $defaults );