Changeset 58187 for trunk/src/wp-includes/blocks/gallery.php
- Timestamp:
- 05/23/2024 07:37:08 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/gallery.php
r57578 r58187 13 13 * we add a custom `data-id` attribute before rendering the gallery 14 14 * so that the Image Block can pick it up in its render_callback. 15 * 16 * @since 5.9.0 15 17 * 16 18 * @param array $parsed_block The block being rendered. … … 35 37 /** 36 38 * Renders the `core/gallery` block on the server. 39 * 40 * @since 6.0.0 37 41 * 38 42 * @param array $attributes Attributes of the block being rendered. … … 128 132 * However, this hook doesn't apply inner block updates when blocks are 129 133 * nested. 130 * @todo :In the future, if this hook supports updating innerBlocks in134 * @todo In the future, if this hook supports updating innerBlocks in 131 135 * nested blocks, it should be refactored. 132 136 * … … 165 169 /** 166 170 * Registers the `core/gallery` block on server. 171 * 172 * @since 5.9.0 167 173 */ 168 174 function register_block_core_gallery() {
Note: See TracChangeset
for help on using the changeset viewer.