mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 18:54:29 +00:00
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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user