#34300 closed task (blessed) (fixed)
Update the $scheme parameter in get_rest_url()
| Reported by: | johnbillion | Owned by: | DrewAPicture |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | REST API | Version: | 4.4 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs |
Description
The default value of the $scheme parameter in get_rest_url() is json. This should be changed to rest, and documentation for this value should be added to get_home_url(), home_url(), and set_url_scheme().
Attachments (1)
Change History (7)
This ticket was mentioned in Slack in #core-restapi by rachelbaker. View the logs.
11 years ago
Note:
See TracTickets
for help on using tickets.
get_rest_url should default to a scheme of rest