Docs: Various docblocks corrections.
See #57840. Built from https://develop.svn.wordpress.org/trunk@56257 git-svn-id: http://core.svn.wordpress.org/trunk@55769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
114ab18d18
commit
26395d827e
|
@ -78,12 +78,12 @@ class WP_Classic_To_Block_Menu_Converter {
|
||||||
*
|
*
|
||||||
* @since 6.3.0
|
* @since 6.3.0
|
||||||
*
|
*
|
||||||
* @param array $menu_items An array of menu items that represent
|
* @param array $menu_items An array of menu items that represent
|
||||||
* an individual level of a menu.
|
* an individual level of a menu.
|
||||||
* @param array $menu_items_by_parent_id An array keyed by the id of the
|
* @param array $menu_items_by_parent_id An array keyed by the id of the
|
||||||
* parent menu where each element is an
|
* parent menu where each element is an
|
||||||
* array of menu items that belong to
|
* array of menu items that belong to
|
||||||
* that parent.
|
* that parent.
|
||||||
* @return array An array of parsed block data.
|
* @return array An array of parsed block data.
|
||||||
*/
|
*/
|
||||||
private static function to_blocks( $menu_items, $menu_items_by_parent_id ) {
|
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
|
* @since 6.3.0
|
||||||
*
|
*
|
||||||
|
|
|
@ -147,8 +147,8 @@ class WP_REST_Navigation_Fallback_Controller extends WP_REST_Controller {
|
||||||
*
|
*
|
||||||
* @since 6.3.0
|
* @since 6.3.0
|
||||||
*
|
*
|
||||||
* @param WP_Post $item The wp_navigation Post object whose response is being prepared.
|
* @param WP_Post $item The wp_navigation Post object whose response is being prepared.
|
||||||
* @param WP_REST_Request $request Request object.
|
* @param WP_REST_Request $request Request object.
|
||||||
* @return WP_REST_Response $response The response data.
|
* @return WP_REST_Response $response The response data.
|
||||||
*/
|
*/
|
||||||
public function prepare_item_for_response( $item, $request ) {
|
public function prepare_item_for_response( $item, $request ) {
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.3-beta4-56256';
|
$wp_version = '6.3-beta4-56257';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue