#34300 closed task (blessed) (fixed)
Update the $scheme parameter in get_rest_url()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | 4.4 |
Component: | REST API | Keywords: | has-patch |
Focuses: | docs | Cc: |
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)
#1
@
9 years ago
- Keywords has-patch added; needs-patch removed
- Owner set to rachelbaker
- Status changed from new to assigned
#3
@
9 years ago
- Owner changed from rachelbaker to johnbillion
- Status changed from assigned to reviewing
This ticket was mentioned in Slack in #core-restapi by rachelbaker. View the logs.
9 years ago
Note: See
TracTickets for help on using
tickets.
get_rest_url should default to a scheme of rest