Skip to content

Commit

Permalink
🚀 RELEASE: v2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdevore committed Dec 22, 2024
1 parent 52c1ba7 commit 28186fb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
9 changes: 8 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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`
Expand Down
16 changes: 8 additions & 8 deletions boostbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -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+
Expand All @@ -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__ );
Expand Down Expand Up @@ -303,8 +303,8 @@ function wpcom_admin_notice() {
<?php
echo wp_kses_post(
sprintf(
__( 'My Plugin has been deactivated because it cannot be used on WordPress.com-hosted websites. %s', 'plugin-name' ),
'<a href="' . esc_url( $notice_link ) . '" target="_blank" rel="noopener">' . __( 'Learn more', 'plugin-name' ) . '</a>'
__( 'My Plugin has been deactivated because it cannot be used on WordPress.com-hosted websites. %s', 'boostbox' ),
'<a href="' . esc_url( $notice_link ) . '" target="_blank" rel="noopener">' . __( 'Learn more', 'boostbox' ) . '</a>'
)
);
?>
Expand All @@ -329,13 +329,13 @@ function wpcom_activation_check() {
wp_kses_post(
sprintf(
'<h1>%s</h1><p>%s</p><p><a href="%s" target="_blank" rel="noopener">%s</a></p>',
__( '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 ]
);
}
Expand Down
2 changes: 1 addition & 1 deletion includes/class-boostbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 28186fb

Please sign in to comment.