PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | lib/block-supports/background.php +3 -3 23.7.0 → trunk View file →
@@ -34,11 +34,11 @@
34 34 * Renders the background styles to the block wrapper.
35 35 * This block support uses the `render_block` hook to ensure that
36 36 * it is also applied to non-server-rendered blocks.
37 37 *
38 - * @param string $block_content Rendered block content.
39 - * @param array $block Block object.
40 - * @return string Filtered block content.
38 + * @param string $block_content Rendered block content.
39 + * @param array $block Block object.
40 + * @return string Filtered block content.
41 41 */
42 42 function gutenberg_render_background_support( $block_content, $block ) {
43 43 $block_type = WP_Block_Type_Registry::get_instance()->get_registered( $block['blockName'] );
44 44 $block_attributes = ( isset( $block['attrs'] ) && is_array( $block['attrs'] ) ) ? $block['attrs'] : array();