mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Docs: Various docblocks corrections.
See #57840. git-svn-id: https://develop.svn.wordpress.org/trunk@56257 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
30071283f5
commit
3df7a53c98
@ -78,12 +78,12 @@ class WP_Classic_To_Block_Menu_Converter {
|
||||
*
|
||||
* @since 6.3.0
|
||||
*
|
||||
* @param array $menu_items An array of menu items that represent
|
||||
* an individual level of a menu.
|
||||
* @param array $menu_items_by_parent_id An array keyed by the id of the
|
||||
* parent menu where each element is an
|
||||
* array of menu items that belong to
|
||||
* that parent.
|
||||
* @param array $menu_items An array of menu items that represent
|
||||
* an individual level of a menu.
|
||||
* @param array $menu_items_by_parent_id An array keyed by the id of the
|
||||
* parent menu where each element is an
|
||||
* array of menu items that belong to
|
||||
* that parent.
|
||||
* @return array An array of parsed block data.
|
||||
*/
|
||||
private static function to_blocks( $menu_items, $menu_items_by_parent_id ) {
|
||||
|
||||
@ -125,7 +125,7 @@ class WP_Navigation_Fallback {
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine the most appropriate classic navigation menu to use as a fallback.
|
||||
* Determines the most appropriate classic navigation menu to use as a fallback.
|
||||
*
|
||||
* @since 6.3.0
|
||||
*
|
||||
|
||||
@ -147,8 +147,8 @@ class WP_REST_Navigation_Fallback_Controller extends WP_REST_Controller {
|
||||
*
|
||||
* @since 6.3.0
|
||||
*
|
||||
* @param WP_Post $item The wp_navigation Post object whose response is being prepared.
|
||||
* @param WP_REST_Request $request Request object.
|
||||
* @param WP_Post $item The wp_navigation Post object whose response is being prepared.
|
||||
* @param WP_REST_Request $request Request object.
|
||||
* @return WP_REST_Response $response The response data.
|
||||
*/
|
||||
public function prepare_item_for_response( $item, $request ) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user