PluginProbe
BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites / 3.3.3
BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites v3.3.3
4.1.0 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 2.1.2 2.5.0 2.5.3 2.6.1 All 38 releases
← All changes | blockspare.php +8 -8 trunk3.3.3 View file →
@@ -1,11 +1,11 @@
1 1 <?php
2 2
3 3 /**
4 - * Plugin Name: BlockSpare - Gutenberg Site Builder Blocks & Starter Templates
4 + * Plugin Name: BlockSpare - Gutenberg Site Builder Blocks & Starter Sites
5 5 * Plugin URI: https://blockspare.com/
6 6 * Description: Gutenberg Blocks & Patterns for Blogs, Magazines, Business Sites – Post Grids, Sliders, Carousels, Counters, Page Builder & Starter Site Imports, No Coding Needed
7 - * Version: 4.2.6
7 + * Version: 3.3.3
8 8 * Author: BlockSpare
9 9 * Author URI: https://blockspare.com/
10 10 * Text Domain: blockspare
11 11 * License: GPL-2.0+
@@ -23,15 +23,15 @@
23 23 defined('BLOCKSPARE_PLUGIN_URL') or define('BLOCKSPARE_PLUGIN_URL', plugin_dir_url(__FILE__));
24 24 defined('BLOCKSPARE_PLUGIN_DIR') or define('BLOCKSPARE_PLUGIN_DIR', plugin_dir_path(__FILE__));
25 25 defined('BLOCKSPARE_PRO_PATH') || define('BLOCKSPARE_PRO_PATH', 'https://www.blockspare.com/');
26 26 defined('BLOCKSPARE_SHOW_PRO_NOTICES') || define('BLOCKSPARE_SHOW_PRO_NOTICES', true);
27 -defined('BLOCKSPARE_VERSION') || define('BLOCKSPARE_VERSION', '4.2.4');
27 +defined('BLOCKSPARE_VERSION') || define('BLOCKSPARE_VERSION', '3.3.0');
28 28
29 29
30 30 if (!version_compare(PHP_VERSION, '5.6', '>=')) {
31 - add_action('admin_notices', 'blockspare_fail_php_free_version');
31 + add_action('admin_notices', 'blockspare_fail_php_version');
32 32 } elseif (!version_compare(get_bloginfo('version'), '4.7', '>=')) {
33 - add_action('admin_notices', 'blockspare_fail_wp_free_version');
33 + add_action('admin_notices', 'blockspare_fail_wp_version');
34 34 } else {
35 35 /**
36 36 * Freemius.
37 37 */
@@ -43,12 +43,12 @@
43 43
44 44 include_once BLOCKSPARE_PLUGIN_DIR . 'inc/init.php';
45 45 include_once BLOCKSPARE_PLUGIN_DIR . 'inc/welcome.php';
46 46 include_once BLOCKSPARE_PLUGIN_DIR . 'inc/fonts.php';
47 -
48 47 }
49 48
50 -function blockspare_fail_php_free_version()
49 +
50 +function blockspare_fail_php_version()
51 51 {
52 52 /* translators: %s: PHP version */
53 53 $message = sprintf(esc_html__('BlockSpare for Gutenberg requires PHP version %s+, plugin is currently NOT RUNNING.', 'blockspare'), '5.6');
54 54 $html_message = sprintf('<div class="error">%s</div>', wpautop($message));
@@ -54,9 +54,9 @@
54 54 $html_message = sprintf('<div class="error">%s</div>', wpautop($message));
55 55 echo wp_kses_post($html_message);
56 56 }
57 57
58 -function blockspare_fail_wp_free_version()
58 +function blockspare_fail_wp_version()
59 59 {
60 60 /* translators: %s: WordPress version */
61 61 $message = sprintf(esc_html__('BlockSpare for Gutenberg requires WordPress version %s+. Because you are using an earlier version, the plugin is currently NOT RUNNING.', 'blockspare'), '4.7');
62 62 $html_message = sprintf('<div class="error">%s</div>', wpautop($message));