Skip to content

Commit

Permalink
Fix typo and docs formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ocean90 committed Dec 5, 2021
1 parent 92b254f commit 8b4d6bb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/block-library/src/gallery/index.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Server-side rendering of the `core/image` block.
* Server-side rendering of the `core/gallery` block.
*
* @package WordPress
*/
Expand All @@ -13,9 +13,8 @@
* we add a custom `data-id` attribute before rendering the gallery
* so that the Image Block can pick it up in its render_callback.
*
* @param array $parsed_block A single parsed block object.
*
* @return array The migrated block object.
* @param array $parsed_block The block being rendered.
* @return array The migrated block object.
*/
function render_block_core_gallery_data( $parsed_block ) {
if ( 'core/gallery' === $parsed_block['blockName'] ) {
Expand Down

0 comments on commit 8b4d6bb

Please sign in to comment.