Changeset 6402 for trunk/wp-includes/functions.php
- Timestamp:
- 12/18/2007 05:28:44 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.