Simple Share Buttons Adder - Version 8.3.1

Version Description

  • Fix Share Bar clickable on right sidebar.
  • Fix Modern Share Buttons admin preview alignment.
Download this release

Release Info

Developer DavidoffNeal
Plugin Icon 128x128 Simple Share Buttons Adder
Version 8.3.1
Comparing to
See all releases

Code changes from version 8.3.0 to 8.3.1

Files changed (5) hide show
  1. css/ssba.css +5 -5
  2. instance.php +1 -1
  3. js/admin.js +9 -18
  4. readme.txt +7 -3
  5. simple-share-buttons-adder.php +1 -1
css/ssba.css CHANGED
@@ -33,10 +33,10 @@
33
  .ssbp-email:before{content:"\e604"}.ssbp-ellipsis:before{content:"\e612"}
34
  .ssbp-x:before{content:"\e613"}@media print{.ssbp-wrap{display:none !important}
35
  }.ssbp-wrap *,.ssbp-wrap *:before,.ssbp-wrap *:after{box-sizing:border-box}.ssbp-input-url-div,.ssbp-total-shares,.ssba-hide-button.ssbp-each-share,.ssbp-toggle-switch,.ssbp-text{display:none}
36
- .ssbp-wrap{display:block;position:relative;padding:0;font-size:0;color:#272727}.ssbp-wrap.ssbp--centred{display:block;text-align:center}
37
- .ssbp-wrap.ssbp--aligned-right{display:block;text-align:right}.ssbp-wrap.ssbp--aligned-right .ssbp-container{display:inline}
38
- .ssbp-wrap .ssbp-container{width:fit-content}.ssbp-wrap .ssbp-container,.ssbp-wrap .ssbp-toggle-switch{font-size:16px}
39
- .ssbp-wrap .ssbp-list{list-style:none;display:inline-block;vertical-align:middle;margin:0;padding:0}
40
  .ssbp-wrap .ssbp-list li{margin-top:1rem;position:relative;display:inline-block;vertical-align:top}
41
  .ssbp-wrap .ssbp-list li:first-of-type{margin-left:0}.ssbp-wrap .ssbp-btn{display:inline-block;text-align:center;text-decoration:none;font-family:sans-serif}
42
  .ssbp-wrap.ssbp--stacked .ssbp-list li,.ssbp-wrap.ssbp--fixed-left .ssbp-list li,.ssbp-wrap.ssbp--fixed-right .ssbp-list li{display:block;margin-top:6px;margin-left:0 !important;margin-right:0 !important}
@@ -672,4 +672,4 @@
672
  .ssbp--theme-9 .ssbp-li--weibo{border-bottom:5px solid #df2029}.ssbp--theme-9 .ssbp-weibo{height:43px !important}
673
  .ssbp--theme-9 .ssbp-li--weibo:hover{border-bottom:5px solid rgba(223,32,41,0.61)}
674
  .ssbp--theme-9 .ssbp-li--weibo .ssbp-weibo:before{padding:9px 14px 0}.ssbp--theme-10 .ssbp-weibo{width:40px !important}
675
- .ssbp--theme-10 .ssbp-weibo:before{padding:11px 8px 8px}.ssbp-wrap{width:100%}
33
  .ssbp-email:before{content:"\e604"}.ssbp-ellipsis:before{content:"\e612"}
34
  .ssbp-x:before{content:"\e613"}@media print{.ssbp-wrap{display:none !important}
35
  }.ssbp-wrap *,.ssbp-wrap *:before,.ssbp-wrap *:after{box-sizing:border-box}.ssbp-input-url-div,.ssbp-total-shares,.ssba-hide-button.ssbp-each-share,.ssbp-toggle-switch,.ssbp-text{display:none}
36
+ .ssbp-wrap{color:#272727;display:block;font-size:0;padding:0;position:relative;width:fit-content}
37
+ .ssbp-wrap.ssbp--centred{display:block;text-align:center}.ssbp-wrap.ssbp--aligned-right{display:block;text-align:right}
38
+ .ssbp-wrap.ssbp--aligned-right .ssbp-container{display:inline}.ssbp-wrap .ssbp-container{width:fit-content}
39
+ .ssbp-wrap .ssbp-container,.ssbp-wrap .ssbp-toggle-switch{font-size:16px}.ssbp-wrap .ssbp-list{list-style:none;display:inline-block;vertical-align:middle;margin:0;padding:0}
40
  .ssbp-wrap .ssbp-list li{margin-top:1rem;position:relative;display:inline-block;vertical-align:top}
41
  .ssbp-wrap .ssbp-list li:first-of-type{margin-left:0}.ssbp-wrap .ssbp-btn{display:inline-block;text-align:center;text-decoration:none;font-family:sans-serif}
42
  .ssbp-wrap.ssbp--stacked .ssbp-list li,.ssbp-wrap.ssbp--fixed-left .ssbp-list li,.ssbp-wrap.ssbp--fixed-right .ssbp-list li{display:block;margin-top:6px;margin-left:0 !important;margin-right:0 !important}
672
  .ssbp--theme-9 .ssbp-li--weibo{border-bottom:5px solid #df2029}.ssbp--theme-9 .ssbp-weibo{height:43px !important}
673
  .ssbp--theme-9 .ssbp-li--weibo:hover{border-bottom:5px solid rgba(223,32,41,0.61)}
674
  .ssbp--theme-9 .ssbp-li--weibo .ssbp-weibo:before{padding:9px 14px 0}.ssbp--theme-10 .ssbp-weibo{width:40px !important}
675
+ .ssbp--theme-10 .ssbp-weibo:before{padding:11px 8px 8px}
instance.php CHANGED
@@ -9,7 +9,7 @@ namespace SimpleShareButtonsAdder;
9
 
10
  define( 'SSBA_FILE', __FILE__ );
11
  define( 'SSBA_ROOT', trailingslashit( dirname( __FILE__ ) ) );
12
- define( 'SSBA_VERSION', '8.3.0' );
13
 
14
  global $simple_share_buttons_adder_plugin;
15
 
9
 
10
  define( 'SSBA_FILE', __FILE__ );
11
  define( 'SSBA_ROOT', trailingslashit( dirname( __FILE__ ) ) );
12
+ define( 'SSBA_VERSION', '8.3.1' );
13
 
14
  global $simple_share_buttons_adder_plugin;
15
 
js/admin.js CHANGED
@@ -735,24 +735,15 @@ var SimpleShareButtonsAdder = ( function( $, wp ) {
735
  } ); // End post.
736
  },
737
 
738
- /**
739
- * Update the preview buttons with selected theme.
740
- *
741
- * @param selection
742
- * @param target
743
- */
744
- preview: function( selection, target ) {
745
- var position = $( '#ssba_bar_position option:selected' ).val(),
746
- newClass;
747
-
748
- if ( '#ssba-preview' === target ) {
749
- position = $( '#ssba_plus_align option:selected' ).val();
750
- }
751
-
752
- newClass = 'ssbp-wrap ssbp--theme-' + selection + ' ' + position;
753
-
754
- $( target ).attr( 'class', newClass );
755
- },
756
 
757
  /**
758
  * Update class on share bar preview to switch position.
735
  } ); // End post.
736
  },
737
 
738
+ /**
739
+ * Update the preview buttons with selected theme.
740
+ *
741
+ * @param selection
742
+ * @param target
743
+ */
744
+ preview: function( selection, target ) {
745
+ $( target ).attr( 'class', 'ssbp-wrap ssba-sticky ssbp--theme-' + selection );
746
+ },
 
 
 
 
 
 
 
 
 
747
 
748
  /**
749
  * Update class on share bar preview to switch position.
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: sharethis, scottstorebloom, scottmweaver, surlyrightclick, Davidof
3
  Tags: share buttons, social buttons, facebook, twitter, google+, share, share links, stumble upon, linkedin, pinterest, yummly, vk, flattr
4
  Requires at least: 5.9
5
  Tested up to: 6.0.2
6
- Stable tag: 8.3.0
7
- Version: 8.3.0
8
  License: GPLv2 or later
9
 
10
  A simple plugin that enables you to add share buttons to all of your posts and/or pages.
@@ -67,9 +67,13 @@ Please visit the <a href="https://wordpress.org/support/plugin/simple-share-butt
67
 
68
  == Changelog ==
69
 
 
 
 
 
70
  = 8.3.0 =
71
  * Test with WordPress 6.0.2
72
- * Fix Sharebar clickable bug on left side bar.
73
 
74
  = 8.2.6 =
75
  * Test with WordPress 6.0.
3
  Tags: share buttons, social buttons, facebook, twitter, google+, share, share links, stumble upon, linkedin, pinterest, yummly, vk, flattr
4
  Requires at least: 5.9
5
  Tested up to: 6.0.2
6
+ Stable tag: 8.3.1
7
+ Version: 8.3.1
8
  License: GPLv2 or later
9
 
10
  A simple plugin that enables you to add share buttons to all of your posts and/or pages.
67
 
68
  == Changelog ==
69
 
70
+ = 8.3.1 =
71
+ * Fix Share Bar clickable on right sidebar.
72
+ * Fix Modern Share Buttons admin preview alignment.
73
+
74
  = 8.3.0 =
75
  * Test with WordPress 6.0.2
76
+ * Fix Share Bar clickable bug on left sidebar.
77
 
78
  = 8.2.6 =
79
  * Test with WordPress 6.0.
simple-share-buttons-adder.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Simple Share Buttons Adder
4
  * Plugin URI: https://simplesharebuttons.com
5
  * Description: A simple plugin that enables you to add share buttons to all of your posts and/or pages.
6
- * Version: 8.3.0
7
  * Author: Simple Share Buttons
8
  * Author URI: https://simplesharebuttons.com
9
  * License: GPLv2
3
  * Plugin Name: Simple Share Buttons Adder
4
  * Plugin URI: https://simplesharebuttons.com
5
  * Description: A simple plugin that enables you to add share buttons to all of your posts and/or pages.
6
+ * Version: 8.3.1
7
  * Author: Simple Share Buttons
8
  * Author URI: https://simplesharebuttons.com
9
  * License: GPLv2