| @@ -9,10 +9,10 @@ | ||
| 9 | 9 | * Update the block content with elements class names. |
| 10 | 10 | * |
| 11 | 11 | * @deprecated 6.6.0 Use `gutenberg_render_elements_class_name` instead. |
| 12 | 12 | * |
| 13 | - * @param string $block_content Rendered block content. | |
| 14 | - * @return string Filtered block content. | |
| 13 | + * @param string $block_content Rendered block content. | |
| 14 | + * @return string Filtered block content. | |
| 15 | 15 | */ |
| 16 | 16 | function gutenberg_render_elements_support( $block_content ) { |
| 17 | 17 | _deprecated_function( __FUNCTION__, '6.6.0', 'gutenberg_render_elements_class_name' ); |
| 18 | 18 | return $block_content; |
| @@ -20,12 +20,12 @@ | ||
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | 22 | * Determines whether an elements class name should be added to the block. |
| 23 | 23 | * |
| 24 | - * @param array $block Block object. | |
| 25 | - * @param array $options Per element type options e.g. whether to skip serialization. | |
| 24 | + * @param array $block Block object. | |
| 25 | + * @param array $options Per element type options e.g. whether to skip serialization. | |
| 26 | 26 | * |
| 27 | - * @return boolean Whether the block needs an elements class name. | |
| 27 | + * @return boolean Whether the block needs an elements class name. | |
| 28 | 28 | */ |
| 29 | 29 | function gutenberg_should_add_elements_class_name( $block, $options ) { |
| 30 | 30 | if ( ! isset( $block['attrs']['style']['elements'] ) ) { |
| 31 | 31 | return false; |
| @@ -233,9 +233,9 @@ | ||
| 233 | 233 | * @see gutenberg_render_elements_support_styles |
| 234 | 234 | * |
| 235 | 235 | * @param string $block_content Rendered block content. |
| 236 | 236 | * @param array $block Block object. |
| 237 | - * @return string Filtered block content. | |
| 237 | + * @return string Filtered block content. | |
| 238 | 238 | * |
| 239 | 239 | * @phpstan-param array{ |
| 240 | 240 | * attrs: array{ |
| 241 | 241 | * className?: string, |