mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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
|
||||
* @access public
|
||||
*
|
||||
* @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.
|
||||
|
||||
Reference in New Issue
Block a user