#54796 closed defect (bug) (fixed)
Minor documentation error
Reported by: | chesio | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 6.0 | Priority: | normal |
Severity: | normal | Version: | 2.7 |
Component: | HTTP API | Keywords: | has-patch |
Focuses: | docs | Cc: |
Description
Both wp_remote_retrieve_response_code
and wp_remote_retrieve_response_message
functions return an empty string if incorrect parameter is given to them as the return value description correctly states, however function description mentions empty array in both cases.
Change History (6)
This ticket was mentioned in PR #2142 on WordPress/wordpress-develop by chesio.
3 years ago
#1
- Keywords has-patch added
#2
@
3 years ago
- Component changed from General to HTTP API
- Milestone changed from Awaiting Review to 6.0
- Version trunk deleted
Thanks for the ticket and the PR @chesio . This looks good.
#5
@
3 years ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
In 52572:
SergeyBiryukov commented on PR #2142:
3 years ago
#6
Thanks for the PR! Merged in https://core.trac.wordpress.org/changeset/52572.
Note: See
TracTickets for help on using
tickets.
Fixes minor documentation issue described in ticket 54796.
Trac ticket: https://core.trac.wordpress.org/ticket/54796