| @@ -3,9 +3,9 @@ | ||
| 3 | 3 | * Plugin Name: aBlocks |
| 4 | 4 | * Description: The WordPress plugin for creating beautiful and functional websites using the Gutenberg editor, with a variety of customizable blocks to design website pages. |
| 5 | 5 | * Requires at least: 6.8 |
| 6 | 6 | * Requires PHP: 7.4 |
| 7 | - * Version: 2.12.0 | |
| 7 | + * Version: 2.13.0 | |
| 8 | 8 | * Author: Kodezen LLC |
| 9 | 9 | * Author URI: https://ablocks.pro/ |
| 10 | 10 | * License: GPL-3.0+ |
| 11 | 11 | * License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| @@ -44,9 +44,9 @@ | ||
| 44 | 44 | /** |
| 45 | 45 | * Define the plugin constants |
| 46 | 46 | */ |
| 47 | 47 | private function define_constants() { |
| 48 | - define( 'ABLOCKS_VERSION', '2.12.0' ); | |
| 48 | + define( 'ABLOCKS_VERSION', '2.13.0' ); | |
| 49 | 49 | define( 'ABLOCKS_PLUGIN_SLUG', 'ablocks' ); |
| 50 | 50 | define( 'ABLOCKS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); |
| 51 | 51 | define( 'ABLOCKS_ROOT_URL', plugin_dir_url( __FILE__ ) ); |
| 52 | 52 | define( 'ABLOCKS_ASSETS_URL', ABLOCKS_ROOT_URL . 'assets/' ); |
| @@ -129,8 +129,11 @@ | ||
| 129 | 129 | // Ahead of every block registration on `init` — aBlocks' own and any |
| 130 | 130 | // other plugin's — so the attribute the editor adds to every block is |
| 131 | 131 | // on the server's copy of it too. |
| 132 | 132 | ABlocks\Classes\FlexItem::init(); |
| 133 | + // Keeps the server-side previews of dynamic blocks rendering when another | |
| 134 | + // plugin adds attributes to every block in JavaScript only. | |
| 135 | + ABlocks\Classes\BlockRendererAttributes::init(); | |
| 133 | 136 | ABlocks\Blocks::init(); |
| 134 | 137 | ABlocks\Assets::init(); |
| 135 | 138 | ABlocks\Classes\CoreFontRegistry::init(); |
| 136 | 139 | ABlocks\Classes\GlobalClasses::init(); |