Simple Share Buttons Adder - Version 6.3.6

Version Description

  • minor bug fixes
Download this release

Release Info

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

Code changes from version 6.3.5 to 6.3.6

css/style.css CHANGED
@@ -168,7 +168,3 @@
168
  .text-20 {
169
  font-size: 20px;
170
  }
171
-
172
- .ssba-nag {
173
- margin: 20px 20px 20px 0;
174
- }
168
  .text-20 {
169
  font-size: 20px;
170
  }
 
 
 
 
inc/ssba_admin_bits.php CHANGED
@@ -8,34 +8,28 @@ $arrSettings = wp_parse_args( $arrSettings, array(
8
  ) );
9
 
10
  // if the sharethis terms have not yet been accepted
11
- if ( isset( $_GET['page'] ) &&
12
- $_GET['page'] == 'simple-share-buttons-adder' &&
13
- 'Y' !== $arrSettings['accepted_sharethis_terms'] &&
14
- true !== $arrSettings['hide_sharethis_terms']
15
  ) {
16
- function sharethis_terms_notice() {
17
- ?>
18
- <div id="sharethis_terms_notice" class="update-nag ssba-nag notice is-dismissible">
19
- <p>We've updated our <a href="http://simplesharebuttons.com/privacy" target="_blank">privacy policy and
20
- terms of use</a> with important changes you should review. Please review and <a
21
- href="http://simplesharebuttons.com/privacy" target="_blank">accept the new terms and
22
- privacy
23
- policy</a>.
24
- <a href="options-general.php?page=simple-share-buttons-adder&accept-terms=Y"><span
25
- class="button button-primary">I accept</span></a>
26
- </p>
27
  </div>
28
  <script type="text/javascript">
29
- jQuery('#sharethis_terms_notice').on('click', '.notice-dismiss', function (event) {
30
- jQuery.post(ajaxurl, {action: 'ssba_hide_terms'});
31
- });
32
  </script>
33
- <?php
34
- }
35
-
36
- add_action( 'admin_notices', 'sharethis_terms_notice' );
37
  }
38
- add_action( 'wp_ajax_ssba_hide_terms', 'ssba_admin_hide_callback' );
39
  // add settings link on plugin page
40
  function ssba_settings_link($links) {
41
 
@@ -177,7 +171,6 @@ function ssba_settings() {
177
  'ssba_default_pinterest' => (isset($ssbaPost['ssba_default_pinterest']) ? $ssbaPost['ssba_default_pinterest'] : NULL),
178
  'ssba_pinterest_featured' => (isset($ssbaPost['ssba_pinterest_featured']) ? $ssbaPost['ssba_pinterest_featured'] : NULL),
179
  'ssba_content_priority' => (isset($ssbaPost['ssba_content_priority']) ? $ssbaPost['ssba_content_priority'] : NULL),
180
- 'accepted_sharethis_terms' => ( isset( $ssbaPost['accepted_sharethis_terms'] ) ? $ssbaPost['accepted_sharethis_terms'] : 'N' ),
181
 
182
  // share container
183
  'ssba_div_padding' => $ssbaPost['ssba_div_padding'],
8
  ) );
9
 
10
  // if the sharethis terms have not yet been accepted
11
+ if (
12
+ 'Y' !== $arrSettings['accepted_sharethis_terms'] &&
13
+ true !== $arrSettings['hide_sharethis_terms']
 
14
  ) {
15
+ function sharethis_terms_notice()
16
+ {
17
+ ?>
18
+ <div id="sharethis_terms_notice" class="update-nag notice is-dismissible">
19
+ <p>There are some <strong>great new features</strong> available with Simple Share Buttons Adder 6.3, such as an improved mobile Facebook sharing experience and Facebook analytics.
20
+ We've updated our <a href="http://simplesharebuttons.com/privacy" target="_blank">privacy policy and terms of use</a> with important changes you should review. To take advantage of the new features, please review and accept the new <a href="http://simplesharebuttons.com/privacy" target="_blank">terms and privacy policy</a>.
21
+ <a href="options-general.php?page=simple-share-buttons-adder&accept-terms=Y"><span class="button button-primary">I accept</span></a></p>
 
 
 
 
22
  </div>
23
  <script type="text/javascript">
24
+ jQuery( '#sharethis_terms_notice' ).on( 'click', '.notice-dismiss', function( event ) {
25
+ jQuery.post( ajaxurl, { action: 'ssba_hide_terms' } );
26
+ });
27
  </script>
28
+ <?php
29
+ }
30
+ add_action( 'admin_notices', 'sharethis_terms_notice' );
31
+ add_action( 'wp_ajax_ssba_hide_terms', 'ssba_admin_hide_callback' );
32
  }
 
33
  // add settings link on plugin page
34
  function ssba_settings_link($links) {
35
 
171
  'ssba_default_pinterest' => (isset($ssbaPost['ssba_default_pinterest']) ? $ssbaPost['ssba_default_pinterest'] : NULL),
172
  'ssba_pinterest_featured' => (isset($ssbaPost['ssba_pinterest_featured']) ? $ssbaPost['ssba_pinterest_featured'] : NULL),
173
  'ssba_content_priority' => (isset($ssbaPost['ssba_content_priority']) ? $ssbaPost['ssba_content_priority'] : NULL),
 
174
 
175
  // share container
176
  'ssba_div_padding' => $ssbaPost['ssba_div_padding'],
inc/ssba_admin_panel.php CHANGED
@@ -21,12 +21,39 @@ function ssba_admin_header()
21
  <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
22
  <ul class="nav navbar-nav navbar-right">
23
  <li><a href="https://simplesharebuttons.com/wordpress-faq/" target="_blank">FAQ</a></li>
24
- <li><a href="https://wordpress.org/support/plugin/simple-share-buttons-adder" target="_blank">Support</a></li>
 
25
  </ul>
26
  </div>
27
  </div>
28
  </nav>';
29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  // open container - closed in footer
31
  $htmlHeader .= '<div class="container">';
32
 
@@ -134,7 +161,11 @@ function ssba_admin_panel($arrSettings)
134
  $htmlShareButtonsForm.= '<div class="alert alert-success text-center">
135
  <p>Thanks for accepting the terms, you can now take advantage of the great new features!</p>
136
  </div>';
137
- }
 
 
 
 
138
 
139
  // tabs
140
  $htmlShareButtonsForm .= '<ul class="nav nav-tabs">
@@ -250,7 +281,26 @@ function ssba_admin_panel($arrSettings)
250
  $htmlShareButtonsForm .= '</div>';
251
  $htmlShareButtonsForm .= '<input type="hidden" name="ssba_selected_buttons" id="ssba_selected_buttons" value="'.$arrSettings['ssba_selected_buttons'].'"/>';
252
 
253
- $htmlShareButtonsForm .= '</div>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
254
 
255
  // close col
256
  $htmlShareButtonsForm .= '</div>';
@@ -267,7 +317,7 @@ function ssba_admin_panel($arrSettings)
267
  $htmlShareButtonsForm .= '<blockquote><p>Use the options below to choose your favourite button set and how it should appear. <strong>If you wish to upload your own custom images</strong> please select \'Custom\' from the Image Set dropdown.</p></blockquote>';
268
 
269
  // COLUMN --------------------------------
270
- $htmlShareButtonsForm .= '<div class="col-sm-12">';
271
 
272
  // IMAGES --------------------------------
273
  $htmlShareButtonsForm .= '<div class="well">';
@@ -516,6 +566,22 @@ function ssba_admin_panel($arrSettings)
516
  // close col
517
  $htmlShareButtonsForm .= '</div>';
518
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
519
 
520
  // close share buttons tab
521
  $htmlShareButtonsForm .= '</div>';
@@ -529,7 +595,7 @@ function ssba_admin_panel($arrSettings)
529
  $htmlShareButtonsForm .= '<blockquote><p>You can tweak share counter settings to your liking here.</p></blockquote>';
530
 
531
  // COLUMN --------------------------------
532
- $htmlShareButtonsForm .= '<div class="col-sm-12">';
533
 
534
  // share count
535
  $opts = array(
@@ -639,6 +705,23 @@ function ssba_admin_panel($arrSettings)
639
  // close col
640
  $htmlShareButtonsForm .= '</div>';
641
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
642
  // close share buttons tab
643
  $htmlShareButtonsForm .= '</div>';
644
 
@@ -651,7 +734,7 @@ function ssba_admin_panel($arrSettings)
651
  $htmlShareButtonsForm .= '<blockquote><p>You\'ll find a number of advanced and miscellaneous options below, to get your share buttons functioning how you would like.</p></blockquote>';
652
 
653
  // COLUMN --------------------------------
654
- $htmlShareButtonsForm .= '<div class="col-sm-12">';
655
 
656
  // link to ssb
657
  $opts = array(
@@ -828,19 +911,22 @@ function ssba_admin_panel($arrSettings)
828
  );
829
  $htmlShareButtonsForm .= $ssbpForm->ssbp_input($opts);
830
 
831
- $htmlShareButtonsForm .='<h4>Privacy Settings</h4>';
832
-
833
- $opts = array(
834
- 'form_group' => false,
835
- 'type' => 'checkbox',
836
- 'name' => 'accepted_sharethis_terms',
837
- 'label' => '<a target="_blank" href="https://simplesharebuttons.com/privacy/">Terms of Service</a>',
838
- 'tooltip' => 'We \'ve updated our privacy policy and terms of use with important changes you should review.',
839
- 'value' => 'Y',
840
- 'checked' => ($arrSettings['accepted_sharethis_terms'] != 'N' ? 'checked' : null),
841
- );
842
 
843
- $htmlShareButtonsForm .= $ssbpForm->ssbp_input($opts);
 
 
 
 
 
 
 
 
 
 
 
 
844
 
845
  // close col
846
  $htmlShareButtonsForm .= '</div>';
21
  <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
22
  <ul class="nav navbar-nav navbar-right">
23
  <li><a href="https://simplesharebuttons.com/wordpress-faq/" target="_blank">FAQ</a></li>
24
+ <li><a data-toggle="modal" data-target="#ssbaSupportModal" href="#">Support</a></li>
25
+ <li><a class="btn btn-primary ssba-navlink-blue" href="https://simplesharebuttons.com/plus/?utm_source=adder&utm_medium=plugin_ad&utm_campaign=product&utm_content=navlink" target="_blank">Plus <i class="fa fa-plus"></i></a></li>
26
  </ul>
27
  </div>
28
  </div>
29
  </nav>';
30
 
31
+ $htmlHeader.= '<div class="modal fade" id="ssbaSupportModal" tabindex="-1" role="dialog" aria-hidden="true">
32
+ <div class="modal-dialog">
33
+ <div class="modal-content">
34
+ <div class="modal-header">
35
+ <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
36
+ <h4 class="modal-title">Simple Share Buttons Support</h4>
37
+ </div>
38
+ <div class="modal-body">
39
+ <p>Please note that the this plugin relies mostly on WordPress community support from other users.</p>
40
+ <p>If you wish to receive official support, please consider purchasing <a href="https://simplesharebuttons.com/plus/?utm_source=adder&utm_medium=plugin_ad&utm_campaign=product&utm_content=support_modal" target="_blank"><b>Simple Share Buttons Plus</b></a></p>
41
+ <div class="row">
42
+ <div class="col-sm-6">
43
+ <a href="https://wordpress.org/support/plugin/simple-share-buttons-adder" target="_blank"><button class="btn btn-block btn-default">Community support</button></a>
44
+ </div>
45
+ <div class="col-sm-6">
46
+ <a href="https://simplesharebuttons.com/plus/?utm_source=adder&utm_medium=plugin_ad&utm_campaign=product&utm_content=support_modal" target="_blank"><button class="btn btn-block btn-primary">Check out Plus</button></a>
47
+ </div>
48
+ </div>
49
+ </div>
50
+ <div class="modal-footer">
51
+ <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
52
+ </div>
53
+ </div>
54
+ </div>
55
+ </div>';
56
+
57
  // open container - closed in footer
58
  $htmlHeader .= '<div class="container">';
59
 
161
  $htmlShareButtonsForm.= '<div class="alert alert-success text-center">
162
  <p>Thanks for accepting the terms, you can now take advantage of the great new features!</p>
163
  </div>';
164
+ } elseif ($arrSettings['accepted_sharethis_terms'] != 'Y') {
165
+ $htmlShareButtonsForm.= '<div class="alert alert-warning text-center">
166
+ <p>The Facebook save button requires acceptance of the terms before it can be used. <a href="options-general.php?page=simple-share-buttons-adder&accept-terms=Y"><span class="button button-secondary">I accept</span></a></p>
167
+ </div>';
168
+ }
169
 
170
  // tabs
171
  $htmlShareButtonsForm .= '<ul class="nav nav-tabs">
281
  $htmlShareButtonsForm .= '</div>';
282
  $htmlShareButtonsForm .= '<input type="hidden" name="ssba_selected_buttons" id="ssba_selected_buttons" value="'.$arrSettings['ssba_selected_buttons'].'"/>';
283
 
284
+ // plus plug
285
+ $htmlShareButtonsForm .= '<div class="well text-center">';
286
+ $htmlShareButtonsForm .= '<h2>Simple Share Buttons Plus</h2>';
287
+ $htmlShareButtonsForm .= '<h5 class="margin-bottom">Get <strong>Xing</strong> and <strong>WhatsApp</strong> buttons...</h5>';
288
+ $htmlShareButtonsForm .= '<div class="ssbp-wrap ssbp--centred ssbp--theme-4">
289
+ <div class="ssbp-container">
290
+ <ul class="ssbp-list">
291
+ <li class="ssbp-option-item ui-sortable-handle" id="buffer"><a href="javascript:;" class="ssbp-btn ssbp-whatsapp"></a></li>
292
+ <li class="ssbp-option-item ui-sortable-handle" id="diggit"><a href="javascript:;" class="ssbp-btn ssbp-xing"></a></li>
293
+ </ul>
294
+ </div>
295
+ </div>';
296
+
297
+ $htmlShareButtonsForm .= '<a href="https://simplesharebuttons.com/plus/?utm_source=adder&utm_medium=plugin_ad&utm_campaign=product&utm_content=feature" target="_blank"><span class="btn btn-primary">Simple Share Buttons Plus</span></a>';
298
+ $htmlShareButtonsForm .= '<div class="ssba-spacer"></div>';
299
+ $htmlShareButtonsForm .= '<p>Extra buttons are just the tip of the iceberg... <strong>Simple Share Buttons Plus</strong> comes with a great deal of extra features, from <strong>GeoIP click tracking</strong> to <strong>mobile-responsive</strong> share bars. <a href="https://simplesharebuttons.com/plus/?utm_source=adder&utm_medium=plugin_ad&utm_campaign=product&utm_content=feature" target="_blank"><strong>Find out more here</strong></a></p>';
300
+ $htmlShareButtonsForm .= '<div class="ssba-spacer"></div>';
301
+ $htmlShareButtonsForm .= '</div>';
302
+
303
+ $htmlShareButtonsForm .= '</div>';
304
 
305
  // close col
306
  $htmlShareButtonsForm .= '</div>';
317
  $htmlShareButtonsForm .= '<blockquote><p>Use the options below to choose your favourite button set and how it should appear. <strong>If you wish to upload your own custom images</strong> please select \'Custom\' from the Image Set dropdown.</p></blockquote>';
318
 
319
  // COLUMN --------------------------------
320
+ $htmlShareButtonsForm .= '<div class="col-sm-7">';
321
 
322
  // IMAGES --------------------------------
323
  $htmlShareButtonsForm .= '<div class="well">';
566
  // close col
567
  $htmlShareButtonsForm .= '</div>';
568
 
569
+ // COLUMN --------------------------------
570
+ $htmlShareButtonsForm .= '<div class="col-sm-5">';
571
+
572
+ // plus plug
573
+ $htmlShareButtonsForm .= '<div class="well">';
574
+ $htmlShareButtonsForm .= '<h2>Get responsive</h2>';
575
+ $htmlShareButtonsForm .= '<p class="lead">Looking for <strong>fixed</strong> and <strong>responsive</strong> share buttons?</p>';
576
+ $htmlShareButtonsForm .= '<p>With <strong>Simple Share Buttons Plus</strong> you can pick from 10 different styles, that are all <strong>mobile-responsive</strong>. You can also pick icon/button colours and their hover colours!</p>';
577
+ $htmlShareButtonsForm .= '<img class="ssba-responsive-img" src="' . plugins_url() . '/simple-share-buttons-adder/images/simple-share-buttons-mockups.png' . '" />';
578
+ $htmlShareButtonsForm .= '<div class="text-center ssba-spacer"><span class="text-20 label label-success">Only $10</span></div>';
579
+ $htmlShareButtonsForm .= '<a href="https://simplesharebuttons.com/plus/?utm_source=adder&utm_medium=plugin_ad&utm_campaign=product&utm_content=styling_tab" target="_blank"><span class="ssba-spacer btn btn-block btn-primary">Get Plus!</span></a>';
580
+ $htmlShareButtonsForm .= '<div class="ssba-spacer"></div>';
581
+ $htmlShareButtonsForm .= '</div>';
582
+
583
+ // close col
584
+ $htmlShareButtonsForm .= '</div>';
585
 
586
  // close share buttons tab
587
  $htmlShareButtonsForm .= '</div>';
595
  $htmlShareButtonsForm .= '<blockquote><p>You can tweak share counter settings to your liking here.</p></blockquote>';
596
 
597
  // COLUMN --------------------------------
598
+ $htmlShareButtonsForm .= '<div class="col-sm-7">';
599
 
600
  // share count
601
  $opts = array(
705
  // close col
706
  $htmlShareButtonsForm .= '</div>';
707
 
708
+ // COLUMN --------------------------------
709
+ $htmlShareButtonsForm .= '<div class="col-sm-5">';
710
+
711
+ // plus plug
712
+ $htmlShareButtonsForm .= '<div class="well">';
713
+ $htmlShareButtonsForm .= '<h2>Get speed and accuracy</h2>';
714
+ $htmlShareButtonsForm .= '<p class="lead">Do you want <strong>fast</strong> and <strong>consistent share counts</strong>?</p>';
715
+ $htmlShareButtonsForm .= '<p>With <strong>Simple Share Buttons Plus</strong> share counts are saved for the length of time you set, drastically speeding up page load time. Plus also comes with use of the SSB API for <a href="https://simplesharebuttons.com/plus/features/api/"><strong>consistent Facebook share counts</strong></a></p>';
716
+ $htmlShareButtonsForm .= '<img class="ssba-responsive-img" src="' . plugins_url() . '/simple-share-buttons-adder/images/simple-share-buttons-mockups.png' . '" />';
717
+ $htmlShareButtonsForm .= '<div class="text-center ssba-spacer"><span class="text-20 label label-success">Only $10</span></div>';
718
+ $htmlShareButtonsForm .= '<a href="https://simplesharebuttons.com/plus/?utm_source=adder&utm_medium=plugin_ad&utm_campaign=product&utm_content=counters_tab" target="_blank"><span class="ssba-spacer btn btn-block btn-primary">Get Plus!</span></a>';
719
+ $htmlShareButtonsForm .= '<div class="ssba-spacer"></div>';
720
+ $htmlShareButtonsForm .= '</div>';
721
+
722
+ // close col
723
+ $htmlShareButtonsForm .= '</div>';
724
+
725
  // close share buttons tab
726
  $htmlShareButtonsForm .= '</div>';
727
 
734
  $htmlShareButtonsForm .= '<blockquote><p>You\'ll find a number of advanced and miscellaneous options below, to get your share buttons functioning how you would like.</p></blockquote>';
735
 
736
  // COLUMN --------------------------------
737
+ $htmlShareButtonsForm .= '<div class="col-sm-7">';
738
 
739
  // link to ssb
740
  $opts = array(
911
  );
912
  $htmlShareButtonsForm .= $ssbpForm->ssbp_input($opts);
913
 
914
+ // close col
915
+ $htmlShareButtonsForm .= '</div>';
 
 
 
 
 
 
 
 
 
916
 
917
+ // COLUMN --------------------------------
918
+ $htmlShareButtonsForm .= '<div class="col-sm-5">';
919
+
920
+ // plus plug
921
+ $htmlShareButtonsForm .= '<div class="well">';
922
+ $htmlShareButtonsForm .= '<h2>Get even more</h2>';
923
+ $htmlShareButtonsForm .= '<p class="lead">Hoping for <strong>even more</strong> features?</p>';
924
+ $htmlShareButtonsForm .= '<p>With <strong>Simple Share Buttons Plus</strong> there is an ever-growing \'Advanced\' features section, including <strong>bit.ly</strong> URL shortening, <strong>Google Analytics Event Tracking</strong> and <strong>Share-Meta</strong> Functionality.</p>';
925
+ $htmlShareButtonsForm .= '<img class="ssba-responsive-img" src="' . plugins_url() . '/simple-share-buttons-adder/images/simple-share-buttons-mockups.png' . '" />';
926
+ $htmlShareButtonsForm .= '<div class="text-center ssba-spacer"><span class="text-20 label label-success">Only $10</span></div>';
927
+ $htmlShareButtonsForm .= '<a href="https://simplesharebuttons.com/plus/?utm_source=adder&utm_medium=plugin_ad&utm_campaign=product&utm_content=advanced_tab" target="_blank"><span class="ssba-spacer btn btn-block btn-primary">Get Plus!</span></a>';
928
+ $htmlShareButtonsForm .= '<div class="ssba-spacer"></div>';
929
+ $htmlShareButtonsForm .= '</div>';
930
 
931
  // close col
932
  $htmlShareButtonsForm .= '</div>';
inc/ssba_database.php CHANGED
@@ -75,7 +75,6 @@ function ssba_activate() {
75
  'ssba_custom_print' => '',
76
  'ssba_custom_vk' => '',
77
  'ssba_custom_yummly' => '',
78
- 'ssba_custom_facebook_save' => '',
79
 
80
  // sharedcount
81
  'sharedcount_enabled' => '',
@@ -88,7 +87,7 @@ function ssba_activate() {
88
  // new with sharethis
89
  'facebook_insights' => '',
90
  'facebook_app_id' => '',
91
- 'accepted_sharethis_terms' => 'N',
92
  );
93
 
94
  // json encode
@@ -115,8 +114,6 @@ function ssba_uninstall() {
115
  // delete options
116
  delete_option('ssba_settings');
117
  delete_option('ssba_version');
118
- delete_option( 'ssba_buttons' );
119
- delete_option( 'widget_ssba_widget' );
120
  }
121
 
122
  // the upgrade function
@@ -226,15 +223,11 @@ function upgrade_ssba($arrSettings, $version) {
226
  ssba_update_options($new);
227
  }
228
 
229
- if ( $version < '6.3.5' ) {
230
- ssba_update_options( array( 'ssba_custom_facebook_save' => '' ) );
231
- }
232
-
233
  // button helper array
234
  ssba_button_helper_array();
235
 
236
  // Show the ST terms notice after upgrades if the user hasn't agreed.
237
- ssba_update_options( array( 'accepted_sharethis_terms' => 'N', 'hide_sharethis_terms' => false ) );
238
 
239
  // update version number
240
  update_option('ssba_version', SSBA_VERSION);
75
  'ssba_custom_print' => '',
76
  'ssba_custom_vk' => '',
77
  'ssba_custom_yummly' => '',
 
78
 
79
  // sharedcount
80
  'sharedcount_enabled' => '',
87
  // new with sharethis
88
  'facebook_insights' => '',
89
  'facebook_app_id' => '',
90
+ 'accepted_sharethis_terms' => 'Y',
91
  );
92
 
93
  // json encode
114
  // delete options
115
  delete_option('ssba_settings');
116
  delete_option('ssba_version');
 
 
117
  }
118
 
119
  // the upgrade function
223
  ssba_update_options($new);
224
  }
225
 
 
 
 
 
226
  // button helper array
227
  ssba_button_helper_array();
228
 
229
  // Show the ST terms notice after upgrades if the user hasn't agreed.
230
+ ssba_update_options( array( 'hide_sharethis_terms' => false ) );
231
 
232
  // update version number
233
  update_option('ssba_version', SSBA_VERSION);
js/ssba_admin.js CHANGED
@@ -6,14 +6,6 @@
6
  size: 'normal'
7
  });
8
 
9
- jQuery('input[name="accepted_sharethis_terms"]').on('switchChange.bootstrapSwitch', function(event, state) {
10
- if (state == false){
11
- if (!confirm('This will decline ShareThis Terms of Service, please confirm.')) {
12
- jQuery('input[name="accepted_sharethis_terms"]').bootstrapSwitch('toggleState', false, true);
13
- }
14
- }
15
- });
16
-
17
  // color picker
18
  jQuery('.ssba-colorpicker').colpick({
19
  layout:'hex',
6
  size: 'normal'
7
  });
8
 
 
 
 
 
 
 
 
 
9
  // color picker
10
  jQuery('.ssba-colorpicker').colpick({
11
  layout:'hex',
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: DavidoffNeal
3
  Tags: share buttons, facebook, twitter, google+, share, share links, stumble upon, linkedin, pinterest, yummly, vk
4
  Requires at least: 3.9
5
  Tested up to: 4.7
6
- Stable tag: 6.3.5
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -63,6 +63,9 @@ A step by step guide on how to configure this plugin can be found <a href="http:
63
 
64
  == Changelog ==
65
 
 
 
 
66
  = 6.3.5 =
67
  * Enable declining of Terms of Service
68
 
3
  Tags: share buttons, facebook, twitter, google+, share, share links, stumble upon, linkedin, pinterest, yummly, vk
4
  Requires at least: 3.9
5
  Tested up to: 4.7
6
+ Stable tag: 6.3.6
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
63
 
64
  == Changelog ==
65
 
66
+ = 6.3.6 =
67
+ * minor bug fixes
68
+
69
  = 6.3.5 =
70
  * Enable declining of Terms of Service
71
 
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: 6.3.5
7
  Author: Simple Share Buttons
8
  Author URI: https://simplesharebuttons.com
9
  License: GPLv2
@@ -33,7 +33,7 @@ GNU General Public License for more details.
33
 
34
  define('SSBA_FILE', __FILE__);
35
  define('SSBA_ROOT', dirname(__FILE__));
36
- define( 'SSBA_VERSION', '6.3.5' );
37
 
38
  //======================================================================
39
  // SSBA SETTINGS
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: 6.3.6
7
  Author: Simple Share Buttons
8
  Author URI: https://simplesharebuttons.com
9
  License: GPLv2
33
 
34
  define('SSBA_FILE', __FILE__);
35
  define('SSBA_ROOT', dirname(__FILE__));
36
+ define('SSBA_VERSION', '6.3.6');
37
 
38
  //======================================================================
39
  // SSBA SETTINGS