Fix some documentation typos in various core files.

Props vlajos.
Fixes #29199.


git-svn-id: https://develop.svn.wordpress.org/trunk@29479 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes (DrewAPicture)
2014-08-13 03:55:10 +00:00
parent b343d48221
commit ab6063cc88
16 changed files with 29 additions and 29 deletions

View File

@@ -727,7 +727,7 @@ class WP_Http {
* @since 3.7.0
*
* @param string $url The URL which was requested.
* @param array $args The Arguements which were used to make the request.
* @param array $args The Arguments which were used to make the request.
* @param array $response The Response of the HTTP request.
* @return false|object False if no redirect is present, a WP_HTTP or WP_Error result otherwise.
*/
@@ -1430,7 +1430,7 @@ class WP_Http_Curl {
$curl_error = curl_errno( $handle );
// If an error occured, or, no response.
// If an error occurred, or, no response.
if ( $curl_error || ( 0 == strlen( $theBody ) && empty( $theHeaders['headers'] ) ) ) {
if ( CURLE_WRITE_ERROR /* 23 */ == $curl_error && $r['stream'] ) {
fclose( $this->stream_handle );