Skip to content

Commit

Permalink
Update new functions with @SInCE annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
tjcafferkey committed Jan 30, 2024
1 parent 7934adc commit dc365aa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/block-library/src/navigation/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -1348,6 +1348,8 @@ function block_core_navigation_get_most_recently_published_navigation() {
* If there are any hooked blocks that need to be inserted as the Navigation block's first or last
* children, the `wp_navigation` post's `_wp_ignored_hooked_blocks` meta is checked to see if any
* of those hooked blocks should be exempted from insertion.
*

Check failure on line 1351 in packages/block-library/src/navigation/index.php

View workflow job for this annotation

GitHub Actions / PHP coding standards

Whitespace found at end of line
* @since 6.5.0
*
* @param array $inner_blocks Parsed inner blocks of a Navigation block.
* @param WP_Post $post `wp_navigation` post object corresponding to the block.
Expand Down Expand Up @@ -1388,6 +1390,8 @@ function block_core_navigation_insert_hooked_blocks( $inner_blocks, $post ) {

/**
* Updates the post meta with the list of ignored hooked blocks when the navigation is created or updated via the REST API.
*

Check failure on line 1393 in packages/block-library/src/navigation/index.php

View workflow job for this annotation

GitHub Actions / PHP coding standards

Whitespace found at end of line
* @since 6.5.0
*
* @param WP_Post $post Post object.
*/
Expand Down Expand Up @@ -1421,6 +1425,8 @@ function block_core_navigation_update_ignore_hooked_blocks_meta( $post ) {

/**
* Hooks into the REST API response for the core/navigation block and adds the first and last inner blocks.
*

Check failure on line 1428 in packages/block-library/src/navigation/index.php

View workflow job for this annotation

GitHub Actions / PHP coding standards

Whitespace found at end of line
* @since 6.5.0
*
* @param WP_REST_Response $response The response object.
* @param WP_Post $post Post object.
Expand Down

0 comments on commit dc365aa

Please sign in to comment.