Docs: Improve parameter description syntax in the hook doc for the `rest_request_from_url` filter, introduced in [36673].
See #35803. See #35986, git-svn-id: https://develop.svn.wordpress.org/trunk@37014 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6dbf325d28
commit
4cb2eef539
|
@ -975,8 +975,9 @@ class WP_REST_Request implements ArrayAccess {
|
||||||
*
|
*
|
||||||
* @since 4.5.0
|
* @since 4.5.0
|
||||||
*
|
*
|
||||||
* @param WP_REST_Request|false $request Generated request object, or false if URL could not be parsed.
|
* @param WP_REST_Request|false $request Generated request object, or false if URL
|
||||||
* @param string $url URL the request was generated from.
|
* could not be parsed.
|
||||||
|
* @param string $url URL the request was generated from.
|
||||||
*/
|
*/
|
||||||
return apply_filters( 'rest_request_from_url', $request, $url );
|
return apply_filters( 'rest_request_from_url', $request, $url );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue