mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Docs: Misc. docblock enhancements in WP_REST_Menu_Items_Controller
class, as per docblock standards.
See #55646. Built from https://develop.svn.wordpress.org/trunk@53679 git-svn-id: http://core.svn.wordpress.org/trunk@53238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e17247c78b
commit
a5f489189d
@ -17,7 +17,7 @@
|
||||
class WP_REST_Menu_Items_Controller extends WP_REST_Posts_Controller {
|
||||
|
||||
/**
|
||||
* Get the nav menu item, if the ID is valid.
|
||||
* Gets the nav menu item, if the ID is valid.
|
||||
*
|
||||
* @since 5.9.0
|
||||
*
|
||||
@ -107,7 +107,6 @@ class WP_REST_Menu_Items_Controller extends WP_REST_Posts_Controller {
|
||||
* @since 5.9.0
|
||||
*
|
||||
* @param WP_REST_Request $request Full details about the request.
|
||||
*
|
||||
* @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure.
|
||||
*/
|
||||
public function create_item( $request ) {
|
||||
@ -199,7 +198,6 @@ class WP_REST_Menu_Items_Controller extends WP_REST_Posts_Controller {
|
||||
* @since 5.9.0
|
||||
*
|
||||
* @param WP_REST_Request $request Full details about the request.
|
||||
*
|
||||
* @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure.
|
||||
*/
|
||||
public function update_item( $request ) {
|
||||
@ -488,7 +486,7 @@ class WP_REST_Menu_Items_Controller extends WP_REST_Posts_Controller {
|
||||
*
|
||||
* @since 5.9.0
|
||||
*
|
||||
* @param WP_Post $item Post object.
|
||||
* @param WP_Post $item Post object.
|
||||
* @param WP_REST_Request $request Request object.
|
||||
* @return WP_REST_Response Response object.
|
||||
*/
|
||||
@ -676,7 +674,7 @@ class WP_REST_Menu_Items_Controller extends WP_REST_Posts_Controller {
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve Link Description Objects that should be added to the Schema for the posts collection.
|
||||
* Retrieves Link Description Objects that should be added to the Schema for the posts collection.
|
||||
*
|
||||
* @since 5.9.0
|
||||
*
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.1-alpha-53678';
|
||||
$wp_version = '6.1-alpha-53679';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user