diff --git src/wp-includes/rest-api.php src/wp-includes/rest-api.php
index 68f13c2ac1..8c809c89ba 100644
|
|
function get_rest_url( $blog_id = null, $path = '/', $scheme = 'rest' ) { |
411 | 411 | * @since 4.4.0 |
412 | 412 | * |
413 | 413 | * @param string $path Optional. REST route. Default empty. |
414 | | * @param string $scheme Optional. Sanitization scheme. Default 'json'. |
| 414 | * @param string $scheme Optional. Sanitization scheme. Default 'rest'. |
415 | 415 | * @return string Full URL to the endpoint. |
416 | 416 | */ |
417 | | function rest_url( $path = '', $scheme = 'json' ) { |
| 417 | function rest_url( $path = '', $scheme = 'rest' ) { |
418 | 418 | return get_rest_url( null, $path, $scheme ); |
419 | 419 | } |
420 | 420 | |