mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Docs: Improve parameter description syntax in the hook doc for the rest_request_from_url
filter, introduced in [36673].
See #35803. See #35986, Built from https://develop.svn.wordpress.org/trunk@37014 git-svn-id: http://core.svn.wordpress.org/trunk@36981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
408da605e4
commit
ddf7375217
@ -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 );
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-beta3-37013';
|
||||
$wp_version = '4.5-beta3-37014';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user