Docs: Improve the DocBlock for `WP_REST_Request::from_url()`, introduced in [36673].
See #35803. See #35986. git-svn-id: https://develop.svn.wordpress.org/trunk@37013 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
da8a501226
commit
6dbf325d28
|
@ -936,9 +936,11 @@ class WP_REST_Request implements ArrayAccess {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets a WP_REST_Request object from a full URL.
|
* Retrieves a WP_REST_Request object from a full URL.
|
||||||
*
|
*
|
||||||
|
* @static
|
||||||
* @since 4.5.0
|
* @since 4.5.0
|
||||||
|
* @access public
|
||||||
*
|
*
|
||||||
* @param string $url URL with protocol, domain, path and query args.
|
* @param string $url URL with protocol, domain, path and query args.
|
||||||
* @return WP_REST_Request|false WP_REST_Request object on success, false on failure.
|
* @return WP_REST_Request|false WP_REST_Request object on success, false on failure.
|
||||||
|
|
Loading…
Reference in New Issue