Changeset 50916 for trunk/src/wp-includes/class-wp-simplepie-file.php
- Timestamp:
- 05/15/2021 05:36:49 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-simplepie-file.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-simplepie-file.php
r49805 r50916 25 25 * @since 2.8.0 26 26 * @since 3.2.0 Updated to use a PHP5 constructor. 27 * @since 5.6.1 Multiple headers are concatenated into a comma-separated string, rather than remaining28 * an array.27 * @since 5.6.1 Multiple headers are concatenated into a comma-separated string, 28 * rather than remaining an array. 29 29 * 30 30 * @param string $url Remote file URL. … … 71 71 72 72 /* 73 * SimplePie expects multiple headers to be stored as a comma-separated string, but74 * `wp_remote_retrieve_headers()` returns them as an array, so they need to be75 * converted.73 * SimplePie expects multiple headers to be stored as a comma-separated string, 74 * but `wp_remote_retrieve_headers()` returns them as an array, so they need 75 * to be converted. 76 76 * 77 * The only exception to that is the `content-type` header, which should ignore any78 * previous values and only use the last one.77 * The only exception to that is the `content-type` header, which should ignore 78 * any previous values and only use the last one. 79 79 * 80 80 * @see SimplePie_HTTP_Parser::new_line().
Note: See TracChangeset
for help on using the changeset viewer.