PluginProbe
Tableberg – Simple Gutenberg Table Block / 1.2.0
Tableberg – Simple Gutenberg Table Block v1.2.0
1.2.0 1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 trunk 0.0.2 0.2.1 0.3.2 0.3.3 0.4.1 0.5.0 0.5.1 0.5.2 0.5.3 0.5.4 0.5.5 0.5.6 All 43 releases
← All changes | renderer/Migrations/TableBlockMigratorV3ToV4.php +3 -5 1.1.3 → 1.2.0 View file →
@@ -67,17 +67,15 @@
67 67
68 68 $cellBlocks[] = $this->build_cell_block($cell);
69 69 }
70 70
71 - $rowAttrs = [];
72 71 $rowConfig = isset($rowConfigs[$row]) && is_array($rowConfigs[$row])
73 72 ? $rowConfigs[$row]
74 73 : [];
75 - if (isset($rowConfig['height']) && is_string($rowConfig['height']) && $rowConfig['height'] !== '') {
76 - $rowAttrs['height'] = $rowConfig['height'];
77 - }
78 74
79 - $rowBlocks[] = $this->make_block('tableberg/row', $rowAttrs, $cellBlocks);
75 + // Preserve every registered row attribute, including Pro-owned
76 + // and future fields this migrator does not know by name.
77 + $rowBlocks[] = $this->make_block('tableberg/row', $rowConfig, $cellBlocks);
80 78 }
81 79
82 80 // Slim v4 attrs: the cells map and per-row configs now live in the
83 81 // innerBlocks tree.