- Timestamp:
- 10/05/2016 03:50:54 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-http-requests-response.php
r38164 r38730 66 66 * @access public 67 67 * 68 * @return array Map of header name to header value. 68 * @see \Requests_Utility_CaseInsensitiveDictionary 69 * 70 * @return \Requests_Utility_CaseInsensitiveDictionary Map of header name to header value. 69 71 */ 70 72 public function get_headers() { 71 // Ensure headers remain case-insensitive 73 // Ensure headers remain case-insensitive. 72 74 $converted = new Requests_Utility_CaseInsensitiveDictionary(); 73 75 … … 75 77 if ( count( $value ) === 1 ) { 76 78 $converted[ $key ] = $value[0]; 77 } 78 else { 79 } else { 79 80 $converted[ $key ] = $value; 80 81 }
Note: See TracChangeset
for help on using the changeset viewer.