Changeset 10967
- Timestamp:
- 04/17/2009 12:06:18 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable.php
r10931 r10967 261 261 if ( empty( $headers ) ) { 262 262 $headers = array(); 263 } elseif ( !is_array( $headers ) ) { 264 // Explode the headers out, so this function can take both 265 // string headers and an array of headers. 266 $tempheaders = (array) explode( "\n", $headers ); 263 } else { 264 if ( !is_array( $headers ) ) { 265 // Explode the headers out, so this function can take both 266 // string headers and an array of headers. 267 $tempheaders = (array) explode( "\n", $headers ); 268 } else { 269 $tempheaders = $headers; 270 } 267 271 $headers = array(); 268 272
Note: See TracChangeset
for help on using the changeset viewer.