Business Profile - Version 2.1.10

Version Description

(2022-01-31) = - Fixed an issue in which, in certain instances, the plugin wouldn't reactivate after having been deactivated.

Download this release

Release Info

Developer Rustaurius
Plugin Icon 128x128 Business Profile
Version 2.1.10
Comparing to
See all releases

Code changes from version 2.1.9 to 2.1.10

business-profile.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Five Star Business Profile and Schema
4
  * Plugin URI: https://www.fivestarplugins.com/plugins/business-profile/
5
  * Description: Add schema structured data to any page or post type. Create an SEO friendly contact card with your business info and associated schema. Supports Google Map, opening hours and more.
6
- * Version: 2.1.9
7
  * Author: Five Star Plugins
8
  * Author URI: https://www.fivestarplugins.com
9
  * License: GPLv3
@@ -123,7 +123,7 @@ if ( ! class_exists( 'bpfwpInit', false ) ) :
123
  define( 'BPFWP_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
124
  define( 'BPFWP_PLUGIN_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) );
125
  define( 'BPFWP_PLUGIN_FNAME', plugin_basename( __FILE__ ) );
126
- define( 'BPFWP_VERSION', '2.1.9' );
127
  }
128
 
129
  /**
3
  * Plugin Name: Five Star Business Profile and Schema
4
  * Plugin URI: https://www.fivestarplugins.com/plugins/business-profile/
5
  * Description: Add schema structured data to any page or post type. Create an SEO friendly contact card with your business info and associated schema. Supports Google Map, opening hours and more.
6
+ * Version: 2.1.10
7
  * Author: Five Star Plugins
8
  * Author URI: https://www.fivestarplugins.com
9
  * License: GPLv3
123
  define( 'BPFWP_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
124
  define( 'BPFWP_PLUGIN_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) );
125
  define( 'BPFWP_PLUGIN_FNAME', plugin_basename( __FILE__ ) );
126
+ define( 'BPFWP_VERSION', '2.1.10' );
127
  }
128
 
129
  /**
includes/class-installation-walkthrough.php CHANGED
@@ -19,8 +19,13 @@ class bpfwpInstallationWalkthrough {
19
 
20
  add_action('admin_head', array($this, 'admin_enqueue'));
21
 
22
- require_once BPFWP_PLUGIN_DIR . '/lib/simple-admin-pages/classes/AdminPageSetting.class.php';
23
- require_once BPFWP_PLUGIN_DIR . '/lib/simple-admin-pages/classes/AdminPageSetting.Scheduler.class.php';
 
 
 
 
 
24
 
25
  $args = array(
26
  'id' => 'opening-hours',
19
 
20
  add_action('admin_head', array($this, 'admin_enqueue'));
21
 
22
+ if( ! class_exists( 'sapAdminPageSetting_2_6_3' ) ) {
23
+ require_once BPFWP_PLUGIN_DIR . '/lib/simple-admin-pages/classes/AdminPageSetting.class.php';
24
+ }
25
+
26
+ if( !class_exists( 'sapAdminPageSettingScheduler_2_6_3' ) ) {
27
+ require_once BPFWP_PLUGIN_DIR . '/lib/simple-admin-pages/classes/AdminPageSetting.Scheduler.class.php';
28
+ }
29
 
30
  $args = array(
31
  'id' => 'opening-hours',
includes/class-settings.php CHANGED
@@ -255,7 +255,7 @@ if ( ! class_exists( 'bpfwpSettings' ) ) :
255
  global $bpfwp_controller;
256
 
257
  require_once BPFWP_PLUGIN_DIR . '/lib/simple-admin-pages/simple-admin-pages.php';
258
-
259
  $sap = sap_initialize_library(
260
  $args = array(
261
  'version' => '2.6.3',
255
  global $bpfwp_controller;
256
 
257
  require_once BPFWP_PLUGIN_DIR . '/lib/simple-admin-pages/simple-admin-pages.php';
258
+
259
  $sap = sap_initialize_library(
260
  $args = array(
261
  'version' => '2.6.3',
readme.txt CHANGED
@@ -5,7 +5,7 @@ Plugin URL: https://www.fivestarplugins.com/plugins/business-profile/
5
  Requires at Least: 5.3
6
  Tested Up To: 5.8
7
  Tags: business profile, seo, local seo, schema, address, google map, contact, phone, contact card, vcard, contact info, business location, business address, business map, business schema, organization schema, corporation schema, contact schema, address schema, location schema, map schema, business structured data, business microdata, address microdata, location structured data, location microdata, contact shortcode, location shortcode, address shortcode, schema shortcode, gutenberg schema, gutenberg address
8
- Stable tag: 2.1.9
9
  License: GPLv3
10
  License URI:http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -192,6 +192,9 @@ You'll find more help in the [User Guide](http://doc.themeofthecrop.com/plugins/
192
 
193
  == Changelog ==
194
 
 
 
 
195
  = 2.1.9 (2022-01-19) =
196
  - Updated escaping function for the widget output.
197
 
5
  Requires at Least: 5.3
6
  Tested Up To: 5.8
7
  Tags: business profile, seo, local seo, schema, address, google map, contact, phone, contact card, vcard, contact info, business location, business address, business map, business schema, organization schema, corporation schema, contact schema, address schema, location schema, map schema, business structured data, business microdata, address microdata, location structured data, location microdata, contact shortcode, location shortcode, address shortcode, schema shortcode, gutenberg schema, gutenberg address
8
+ Stable tag: 2.1.10
9
  License: GPLv3
10
  License URI:http://www.gnu.org/licenses/gpl-3.0.html
11
 
192
 
193
  == Changelog ==
194
 
195
+ = 2.1.10 (2022-01-31) =
196
+ - Fixed an issue in which, in certain instances, the plugin wouldn't reactivate after having been deactivated.
197
+
198
  = 2.1.9 (2022-01-19) =
199
  - Updated escaping function for the widget output.
200