[wp-trac] [WordPress Trac] #49005: Documentation: WP_HTTP timeout is a float, not an int.
WordPress Trac
noreply at wordpress.org
Mon Dec 16 23:56:45 UTC 2019
#49005: Documentation: WP_HTTP timeout is a float, not an int.
-----------------------------+-----------------------------
Reporter: georgestephanis | Owner: (none)
Type: defect (bug) | Status: new
Priority: low | Milestone: Awaiting Review
Component: HTTP API | Version:
Severity: minor | Keywords: has-patch
Focuses: docs |
-----------------------------+-----------------------------
As demonstrated in Core since [10474] timeout hasn't been an int.
The Requests library also documents it as a float, with millisecond
precision:
https://core.trac.wordpress.org/browser/trunk/src/wp-includes/class-
requests.php?rev=46661#L309
Patch attached.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49005>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list