PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / 2.1.8
bBlocks – Essential Gutenberg Blocks & Patterns Collection v2.1.8
2.1.8 2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.0.43 2.0.42 2.0.41 2.0.40 2.0.39 2.0.38 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.5.1 1.5.2 1.5.3 All 108 releases
← All changes | build/key-takeaways/render.php +1 -10 2.1.3 → 2.1.8 View file →
@@ -1,16 +1,7 @@
1 1 <?php
2 -/**
3 - * Key Takeaways Block — server-side render.
4 - *
5 - * Emits only a wrapper carrying the block attributes as a JSON data-attribute.
6 - * view.js hydrates it on the frontend with React (Components/Frontend/KeyTakeaways)
7 - * and injects per-instance dynamic CSS (Components/Common/Style).
8 - *
9 - * @package bBlocks
10 - */
11 -
12 2 $id = wp_unique_id( 'bBlocksKeyTakeaways-' );
3 +$attributes = BBlocks\Inc\Sanitize::attributes( $attributes );
13 4 $planClass = BBlocks\Inc\Utils::isPro() ? 'pro' : 'free';
14 5 ?>
15 6 <div
16 7 <?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- get_block_wrapper_attributes() is properly escaped ?>