From 28186fb0d25bb207e075446a7396ae3c0ebea2ba Mon Sep 17 00:00:00 2001 From: Robert DeVore Date: Sun, 22 Dec 2024 01:11:49 -0500 Subject: [PATCH] :rocket: RELEASE: v2.2.0 --- README.txt | 9 ++++++++- boostbox.php | 16 ++++++++-------- includes/class-boostbox.php | 2 +- 3 files changed, 17 insertions(+), 10 deletions(-) diff --git a/README.txt b/README.txt index 9ebd69a..24a1b56 100644 --- a/README.txt +++ b/README.txt @@ -4,7 +4,7 @@ Donate link: https://deviodigital.com Tags: popup, lead-generation, marketing, popups, exit-intent Requires at least: 3.0.1 Tested up to: 6.6.2 -Stable tag: 2.1.1 +Stable tag: 2.2.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -92,6 +92,13 @@ Yes, BoostBox is designed to be compatible with most WordPress® themes and plug == Changelog == += 2.2.0 = +* Added Spanish translation file in `languages/boostbox-es_MX.po` +* Added Spanish translation file in `languages/boostbox-es_MX.mo` +* Added French translation file in `languages/boostbox-fr_FR.po` +* Added French translation file in `languages/boostbox-fr_FR.mo` +* Added plugin usage restriction for websites hosted on wordpress.com in `boostbox.php` + = 2.1.1 = * Added `Go Pro` link in the Plugins page if BoostBox Pro is not installed in `boostbox.php` * Updated `boostbox_detect_page_context` function with additional context checks in `includes/boostbox-helper-functions.php` diff --git a/boostbox.php b/boostbox.php index 3be4856..92e102a 100644 --- a/boostbox.php +++ b/boostbox.php @@ -13,7 +13,7 @@ * Plugin Name: BoostBox * Plugin URI: https://robertdevore.com/boostbox-wordpress-popup-builder-for-the-core-editor/ * Description: Build popups for lead generation, content promotion and more using the core editor. - * Version: 2.1.1 + * Version: 2.2.0 * Author: Devio Digital * Author URI: https://deviodigital.com * License: GPL-2.0+ @@ -40,7 +40,7 @@ $myUpdateChecker->setBranch( 'main' ); // Current plugin version. -define( 'BOOSTBOX_VERSION', '2.1.1' ); +define( 'BOOSTBOX_VERSION', '2.2.0' ); // Plugin basename. $plugin_name = plugin_basename( __FILE__ ); @@ -303,8 +303,8 @@ function wpcom_admin_notice() { ' . __( 'Learn more', 'plugin-name' ) . '' + __( 'My Plugin has been deactivated because it cannot be used on WordPress.com-hosted websites. %s', 'boostbox' ), + '' . __( 'Learn more', 'boostbox' ) . '' ) ); ?> @@ -329,13 +329,13 @@ function wpcom_activation_check() { wp_kses_post( sprintf( '

%s

%s

%s

', - __( 'Plugin Activation Blocked', 'plugin-name' ), - __( 'This plugin cannot be activated on WordPress.com-hosted websites. It is restricted due to concerns about WordPress.com policies impacting the community.', 'plugin-name' ), + __( 'Plugin Activation Blocked', 'boostbox' ), + __( 'This plugin cannot be activated on WordPress.com-hosted websites. It is restricted due to concerns about WordPress.com policies impacting the community.', 'boostbox' ), esc_url( 'https://robertdevore.com/why-this-plugin-doesnt-support-wordpress-com-hosting/' ), - __( 'Learn more', 'plugin-name' ) + __( 'Learn more', 'boostbox' ) ) ), - esc_html__( 'Plugin Activation Blocked', 'plugin-name' ), + esc_html__( 'Plugin Activation Blocked', 'boostbox' ), [ 'back_link' => true ] ); } diff --git a/includes/class-boostbox.php b/includes/class-boostbox.php index b7c630f..b13d0c2 100644 --- a/includes/class-boostbox.php +++ b/includes/class-boostbox.php @@ -77,7 +77,7 @@ class BoostBox { */ public function __construct() { $this->plugin_name = 'boostbox'; - $this->version = '2.1.1'; + $this->version = '2.2.0'; if ( defined( 'BOOSTBOX_VERSION' ) ) { $this->version = BOOSTBOX_VERSION;