[wp-trac] [WordPress Trac] #34300: Update the $scheme parameter in get_rest_url()
WordPress Trac
noreply at wordpress.org
Mon Oct 19 22:38:05 UTC 2015
#34300: Update the $scheme parameter in get_rest_url()
----------------------------+---------------------------
Reporter: johnbillion | Owner: DrewAPicture
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 4.4
Component: REST API | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: docs
----------------------------+---------------------------
Changes (by DrewAPicture):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"35274"]:
{{{
#!CommitTicketReference repository="" revision="35274"
Docs: Update the default scheme for `get_rest_url()` from 'json' to
'rest'.
Also adds 'rest' to the documented list of schemes for `home_url()`,
`get_home_url()`, `set_url_scheme()`, and the `home_url` and
`set_url_scheme` hooks.
Props rachelbaker.
Fixes #34300.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34300#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list