PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.14.0
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.14.0
2.14.0 2.13.0 2.13.1 2.12.0 2.11.1 2.11.0 2.10.0 2.9.0 2.7.4 2.7.5 2.7.6 2.7.7 2.8.0 2.8.1 2.9.1 trunk 1.0 1.0-beta1 1.0-beta2 1.0-beta3 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 All 81 releases
← All changes | includes/blocks/image/attributes.php +12 -0 2.9.1 → 2.14.0 View file →
@@ -1,6 +1,10 @@
1 1 <?php
2 2
3 +if ( ! defined( 'ABSPATH' ) ) {
4 + exit;
5 +}
6 +
3 7 use ABlocks\Controls\Alignment;
4 8 use ABlocks\Controls\Border;
5 9 use ABlocks\Controls\Dimensions;
6 10 use ABlocks\Controls\Typography;
@@ -12,8 +16,12 @@
12 16 'block_id' => [
13 17 'type' => 'string',
14 18 'default' => '',
15 19 ],
20 + 'blockVersion' => array(
21 + 'type' => 'number',
22 + 'default' => '',
23 + ),
16 24 'imgId' => [
17 25 'type' => 'string',
18 26 'default' => '',
19 27 ],
@@ -49,8 +57,12 @@
49 57 'value' => 'large',
50 58 'valueTablet' => '',
51 59 'valueMobile' => '',
52 60 ],
61 + ],
62 + 'imageDataAttribute' => [
63 + 'type' => 'object',
64 + 'default' => [],
53 65 ],
54 66 'aspectRatio' => [
55 67 'type' => 'object',
56 68 'default' => [