[wp-trac] [WordPress Trac] #35607: Inline Docs: Update incorrect docs for HTTP functions
WordPress Trac
noreply at wordpress.org
Mon Jan 25 21:47:04 UTC 2016
#35607: Inline Docs: Update incorrect docs for HTTP functions
--------------------------+-----------------------------
Reporter: kraftbj | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: HTTP API | Version:
Severity: normal | Keywords:
Focuses: docs |
--------------------------+-----------------------------
`is_allowed_http_origin` function inline docs state the return is `True if
the origin is allowed. False otherwise.`, which is not true.
The return is the result of `get_http_origin` (or the passed value) or an
empty string.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35607>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list