mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 15:47:05 +00:00
Docs: Miscellaneous DocBlock corrections.
See #52628. git-svn-id: https://develop.svn.wordpress.org/trunk@50916 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -24,8 +24,8 @@ class WP_SimplePie_File extends SimplePie_File {
|
||||
*
|
||||
* @since 2.8.0
|
||||
* @since 3.2.0 Updated to use a PHP5 constructor.
|
||||
* @since 5.6.1 Multiple headers are concatenated into a comma-separated string, rather than remaining
|
||||
* an array.
|
||||
* @since 5.6.1 Multiple headers are concatenated into a comma-separated string,
|
||||
* rather than remaining an array.
|
||||
*
|
||||
* @param string $url Remote file URL.
|
||||
* @param int $timeout Optional. How long the connection should stay open in seconds.
|
||||
@@ -70,12 +70,12 @@ class WP_SimplePie_File extends SimplePie_File {
|
||||
$this->headers = wp_remote_retrieve_headers( $res );
|
||||
|
||||
/*
|
||||
* SimplePie expects multiple headers to be stored as a comma-separated string, but
|
||||
* `wp_remote_retrieve_headers()` returns them as an array, so they need to be
|
||||
* converted.
|
||||
* SimplePie expects multiple headers to be stored as a comma-separated string,
|
||||
* but `wp_remote_retrieve_headers()` returns them as an array, so they need
|
||||
* to be converted.
|
||||
*
|
||||
* The only exception to that is the `content-type` header, which should ignore any
|
||||
* previous values and only use the last one.
|
||||
* The only exception to that is the `content-type` header, which should ignore
|
||||
* any previous values and only use the last one.
|
||||
*
|
||||
* @see SimplePie_HTTP_Parser::new_line().
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user