Social Media Follow Buttons Bar - Version 4.6.1

Version Description

  • Fixed the bug due to which the the "Warning: Constants may only evaluate to scalar values in " warnings are displayed.
Download this release

Release Info

Developer Arthur Gareginyan
Plugin Icon 128x128 Social Media Follow Buttons Bar
Version 4.6.1
Comparing to
See all releases

Code changes from version 4.6 to 4.6.1

inc/php/page.php CHANGED
@@ -15,8 +15,8 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
15
  function smbtoolbar_render_submenu_page() {
16
 
17
  // Call messages
18
- smbtoolbar_hello_message();
19
- smbtoolbar_error_message();
20
 
21
  // Layout of page
22
  ?>
15
  function smbtoolbar_render_submenu_page() {
16
 
17
  // Call messages
18
+ //smbtoolbar_hello_message();
19
+ //smbtoolbar_error_message();
20
 
21
  // Layout of page
22
  ?>
inc/php/version.php CHANGED
@@ -71,4 +71,10 @@ function smbtoolbar_plugin_version_number() {
71
  }
72
 
73
  }
74
- smbtoolbar_plugin_version_number();
 
 
 
 
 
 
71
  }
72
 
73
  }
74
+ //smbtoolbar_plugin_version_number();
75
+
76
+ // TEMPORARY FIX
77
+ function smbtoolbar_plugin_temp_fix() {
78
+ delete_option( SMEDIABT_SETTINGS . '_service_info' );
79
+ }
80
+ smbtoolbar_plugin_temp_fix();
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: icon, icon set, button, social, media, social button, social media, social
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS
5
  Requires at least: 3.9
6
  Tested up to: 4.7
7
- Stable tag: 4.6
8
  License: GPL3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -205,6 +205,9 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
205
 
206
  == Changelog ==
207
 
 
 
 
208
  = 4.6 =
209
  * Added new constants: "_SLUG", "_PREFIX", "_SETTINGS" and "_NAME".
210
  * Value of the "_VERSION" constant replaced with information from the plugin header data.
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS
5
  Requires at least: 3.9
6
  Tested up to: 4.7
7
+ Stable tag: 4.6.1
8
  License: GPL3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
205
 
206
  == Changelog ==
207
 
208
+ = 4.6.1 =
209
+ * Fixed the bug due to which the the "Warning: Constants may only evaluate to scalar values in " warnings are displayed.
210
+
211
  = 4.6 =
212
  * Added new constants: "_SLUG", "_PREFIX", "_SETTINGS" and "_NAME".
213
  * Value of the "_VERSION" constant replaced with information from the plugin header data.
social-media-buttons-toolbar.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Easily add the smart bar with social media follow buttons (not share, only link to your profiles) to any place of your WordPress website.
6
  * Author: Arthur Gareginyan
7
  * Author URI: http://www.arthurgareginyan.com
8
- * Version: 4.6
9
  * License: GPL3
10
  * Text Domain: social-media-buttons-toolbar
11
  * Domain Path: /languages/
@@ -66,7 +66,7 @@ defined( 'SMEDIABT_SLUG' ) or define( 'SMEDIABT_SLUG', 'social-media-buttons-too
66
  defined( 'SMEDIABT_PREFIX' ) or define( 'SMEDIABT_PREFIX', 'smbtoolbar' );
67
  defined( 'SMEDIABT_SETTINGS' ) or define( 'SMEDIABT_SETTINGS', 'smbtoolbar' );
68
  defined( 'SMEDIABT_NAME' ) or define( 'SMEDIABT_NAME', 'Social Media Follow Buttons Bar' );
69
- defined( 'SMEDIABT_VERSION' ) or define( 'SMEDIABT_VERSION', get_file_data( __FILE__, array( 'Version' ) ) );
70
 
71
  /**
72
  * Load the plugin modules
5
  * Description: Easily add the smart bar with social media follow buttons (not share, only link to your profiles) to any place of your WordPress website.
6
  * Author: Arthur Gareginyan
7
  * Author URI: http://www.arthurgareginyan.com
8
+ * Version: 4.6.1
9
  * License: GPL3
10
  * Text Domain: social-media-buttons-toolbar
11
  * Domain Path: /languages/
66
  defined( 'SMEDIABT_PREFIX' ) or define( 'SMEDIABT_PREFIX', 'smbtoolbar' );
67
  defined( 'SMEDIABT_SETTINGS' ) or define( 'SMEDIABT_SETTINGS', 'smbtoolbar' );
68
  defined( 'SMEDIABT_NAME' ) or define( 'SMEDIABT_NAME', 'Social Media Follow Buttons Bar' );
69
+ defined( 'SMEDIABT_VERSION' ) or define( 'SMEDIABT_VERSION', '4.6.1' );
70
 
71
  /**
72
  * Load the plugin modules