Changeset 6402
- Timestamp:
- 12/18/07 05:28:44 (1 year ago)
- Files:
-
- trunk/wp-includes/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/functions.php
r6401 r6402 576 576 if ( ( '302' == $code || '301' == $code ) && isset( $headers['location'] ) ) { 577 577 fclose($fp); 578 return wp_get_http _headers( $headers['location'], $get, ++$red );578 return wp_get_http( $headers['location'], $file_path, ++$red ); 579 579 } 580 580 … … 606 606 } 607 607 608 function wp_get_http_headers( $url ) {609 return wp_get_http( $url, false );608 function wp_get_http_headers( $url, $red = 1 ) { 609 return wp_get_http( $url, false, $red ); 610 610 } 611 611
