Changeset 35274 for trunk/src/wp-includes/rest-api/rest-functions.php
- Timestamp:
- 10/19/2015 10:38:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/rest-functions.php
r35266 r35274 236 236 * @param int $blog_id Optional. Blog ID. Default of null returns URL for current blog. 237 237 * @param string $path Optional. REST route. Default '/'. 238 * @param string $scheme Optional. Sanitization scheme. Default ' json'.238 * @param string $scheme Optional. Sanitization scheme. Default 'rest'. 239 239 * @return string Full URL to the endpoint. 240 240 */ 241 function get_rest_url( $blog_id = null, $path = '/', $scheme = ' json' ) {241 function get_rest_url( $blog_id = null, $path = '/', $scheme = 'rest' ) { 242 242 if ( empty( $path ) ) { 243 243 $path = '/';
Note: See TracChangeset
for help on using the changeset viewer.