From 84fa8a9ff1eb6b7feffd4250550cc9afafb0baca Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 25 Jun 2017 06:59:41 +0000 Subject: [PATCH] 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 --- src/wp-includes/class-http.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class-http.php b/src/wp-includes/class-http.php index abee7aa0a5..42553e5868 100644 --- a/src/wp-includes/class-http.php +++ b/src/wp-includes/class-http.php @@ -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.