| @@ -1,12 +1,12 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /* |
| 3 | 3 | * Plugin Name: Blockspare |
| 4 | - * Plugin URI: https://blockspare.com | |
| 5 | - * Description: News, Magazine and Business Blocks for Gutenberg (Free Patterns, Templates and Page Builder) | |
| 6 | - * Version: 2.6.1 | |
| 4 | + * Plugin URI: https://blockspare.com/ | |
| 5 | + * Description: Empower your WordPress site effortlessly! Expert-designed starter templates library and Gutenberg blocks for stunning blogs, news, magazines, and agency sites. One-click import, no coding hassle! | |
| 6 | + * Version: 3.1.1 | |
| 7 | 7 | * Author: Blockspare |
| 8 | - * Author URI: https://blockspare.com | |
| 8 | + * Author URI: https://blockspare.com/ | |
| 9 | 9 | * Text Domain: blockspare |
| 10 | 10 | * License: GPL-2.0+ |
| 11 | 11 | * License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 12 | 12 | */ |
| @@ -16,14 +16,15 @@ | ||
| 16 | 16 | /** |
| 17 | 17 | * Define global constants |
| 18 | 18 | **/ |
| 19 | 19 | defined('BLOCKSPARE_BASE_FILE') or define('BLOCKSPARE_BASE_FILE', __FILE__); |
| 20 | + defined('BLOCKSPARE_PLUGIN_BASE') or define('BLOCKSPARE_PLUGIN_BASE', plugin_basename( BLOCKSPARE_BASE_FILE ) ); | |
| 20 | 21 | defined('BLOCKSPARE_BASE_DIR') or define('BLOCKSPARE_BASE_DIR', dirname(BLOCKSPARE_BASE_FILE)); |
| 21 | 22 | defined('BLOCKSPARE_PLUGIN_URL') or define('BLOCKSPARE_PLUGIN_URL', plugin_dir_url(__FILE__)); |
| 22 | 23 | defined('BLOCKSPARE_PLUGIN_DIR') or define('BLOCKSPARE_PLUGIN_DIR', plugin_dir_path(__FILE__)); |
| 23 | 24 | defined('BLOCKSPARE_PRO_PATH') || define('BLOCKSPARE_PRO_PATH','https://www.blockspare.com/'); |
| 24 | - defined( 'BLOCKSPARE_SHOW_PRO_NOTICES' ) || define( 'BLOCKSPARE_SHOW_PRO_NOTICES', true ); | |
| 25 | - defined( 'BLOCKSPARE_VERSION' ) || define( 'BLOCKSPARE_VERSION', '2.6.1' ); | |
| 25 | + defined('BLOCKSPARE_SHOW_PRO_NOTICES' ) || define('BLOCKSPARE_SHOW_PRO_NOTICES', true ); | |
| 26 | + defined('BLOCKSPARE_VERSION' ) || define('BLOCKSPARE_VERSION', '3.1.1'); | |
| 26 | 27 | |
| 27 | 28 | |
| 28 | 29 | if ( ! version_compare( PHP_VERSION, '5.6', '>=' ) ) { |
| 29 | 30 | add_action( 'admin_notices', 'blockspare_fail_php_version' ); |