mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Docs: Improve syntax in the DocBlock for rest_get_server(), introduced in [36529].
See #35329. See #35986. git-svn-id: https://develop.svn.wordpress.org/trunk@36947 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6c3d9fe803
commit
8ff9728013
@ -253,7 +253,7 @@ function rest_do_request( $request ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the current REST server instance.
|
||||
* Retrieves the current REST server instance.
|
||||
*
|
||||
* Instantiates a new instance if none exists already.
|
||||
*
|
||||
@ -261,7 +261,7 @@ function rest_do_request( $request ) {
|
||||
*
|
||||
* @global WP_REST_Server $wp_rest_server REST server instance.
|
||||
*
|
||||
* @return WP_REST_Server REST server instance.
|
||||
* @return WP_REST_Server REST server instance.
|
||||
*/
|
||||
function rest_get_server() {
|
||||
/* @var WP_REST_Server $wp_rest_server */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user