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:
Drew Jaynes 2016-03-16 16:51:33 +00:00
parent 6dbf325d28
commit 4cb2eef539
1 changed files with 3 additions and 2 deletions

View File

@ -975,8 +975,9 @@ class WP_REST_Request implements ArrayAccess {
*
* @since 4.5.0
*
* @param WP_REST_Request|false $request Generated request object, or false if URL could not be parsed.
* @param string $url URL the request was generated from.
* @param WP_REST_Request|false $request Generated request object, or false if URL
* could not be parsed.
* @param string $url URL the request was generated from.
*/
return apply_filters( 'rest_request_from_url', $request, $url );
}