Docs: Add a missing quote in user-agent
argument description in WP_Http::request()
.
Props ixkaito. Fixes #41154. git-svn-id: https://develop.svn.wordpress.org/trunk@40934 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2a6d816739
commit
84fa8a9ff1
@ -114,7 +114,7 @@ class WP_Http {
|
||||
* @type string $httpversion Version of the HTTP protocol to use. Accepts '1.0' and '1.1'.
|
||||
* Default '1.0'.
|
||||
* @type string $user-agent User-agent value sent.
|
||||
* Default WordPress/' . get_bloginfo( 'version' ) . '; ' . get_bloginfo( 'url' ).
|
||||
* Default 'WordPress/' . get_bloginfo( 'version' ) . '; ' . get_bloginfo( 'url' ).
|
||||
* @type bool $reject_unsafe_urls Whether to pass URLs through wp_http_validate_url().
|
||||
* Default false.
|
||||
* @type bool $blocking Whether the calling code requires the result of the request.
|
||||
|
Loading…
Reference in New Issue
Block a user