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/dimensions.php +3 -3 23.7.1 → trunk View file →
@@ -99,11 +99,11 @@
99 99 * Renders server-side dimensions styles to the block wrapper.
100 100 * This block support uses the `render_block` hook to ensure that
101 101 * it is also applied to non-server-rendered blocks.
102 102 *
103 - * @param string $block_content Rendered block content.
104 - * @param array $block Block object.
105 - * @return string Filtered block content.
103 + * @param string $block_content Rendered block content.
104 + * @param array $block Block object.
105 + * @return string Filtered block content.
106 106 */
107 107 function gutenberg_render_dimensions_support( $block_content, $block ) {
108 108 $block_type = WP_Block_Type_Registry::get_instance()->get_registered( $block['blockName'] );
109 109 $block_attributes = ( isset( $block['attrs'] ) && is_array( $block['attrs'] ) ) ? $block['attrs'] : array();