Social Share WordPress Plugin – AccessPress Social Share - Version 3.0.7

Version Description

  • Removal of the ajax call for the share counter as it is causing problem if there is jquery error in a site.
Download this release

Release Info

Developer Access Keys
Plugin Icon 128x128 Social Share WordPress Plugin – AccessPress Social Share
Version 3.0.7
Comparing to
See all releases

Code changes from version 3.0.6 to 3.0.7

Files changed (3) hide show
  1. accesspress-social-share.php +2 -2
  2. js/frontend.js +13 -13
  3. readme.txt +6 -3
accesspress-social-share.php CHANGED
@@ -4,7 +4,7 @@ defined( 'ABSPATH' ) or die( "No script kiddies please!" );
4
  Plugin name: AccessPress Social Share
5
  Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-share/
6
  Description: A plugin to add various social media shares to a site with dynamic configuration options.
7
- Version: 3.0.6
8
  Author: AccessPress Themes
9
  Author URI: http://accesspressthemes.com
10
  Text Domain: accesspress-social-share
@@ -30,7 +30,7 @@ if ( !defined( 'APSS_LANG_DIR' ) ) {
30
  }
31
 
32
  if ( !defined( 'APSS_VERSION' ) ) {
33
- define( 'APSS_VERSION', '3.0.6' );
34
  }
35
 
36
  if ( !defined( 'APSS_TEXT_DOMAIN' ) ) {
4
  Plugin name: AccessPress Social Share
5
  Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-share/
6
  Description: A plugin to add various social media shares to a site with dynamic configuration options.
7
+ Version: 3.0.7
8
  Author: AccessPress Themes
9
  Author URI: http://accesspressthemes.com
10
  Text Domain: accesspress-social-share
30
  }
31
 
32
  if ( !defined( 'APSS_VERSION' ) ) {
33
+ define( 'APSS_VERSION', '3.0.7' );
34
  }
35
 
36
  if ( !defined( 'APSS_TEXT_DOMAIN' ) ) {
js/frontend.js CHANGED
@@ -21,18 +21,18 @@ jQuery(document).ready(function ($) {
21
  // ajax call for social counter
22
  if (shortcode_profile_array.length > 0)
23
  {
24
- $.ajax({
25
- type: 'post',
26
- url: frontend_ajax_object.ajax_url + '/?action=frontend_counter&_wpnonce=' + frontend_ajax_object.ajax_nonce,
27
- data: {shortcode_data: shortcode_profile_array},
28
- success: function (res) {
29
- res = $.parseJSON(res);
30
- for (var i=0;i<=shortcode_profile_array.length;i++) {
31
- var social_detail = shortcode_profile_array[i];
32
- var count = (res[i])?res[i]:0;
33
- $('.apss-count[data-social-detail="' + social_detail + '"]').html(count);
34
- }
35
- }
36
- });
37
  }
38
  });
21
  // ajax call for social counter
22
  if (shortcode_profile_array.length > 0)
23
  {
24
+ // $.ajax({
25
+ // type: 'post',
26
+ // url: frontend_ajax_object.ajax_url + '/?action=frontend_counter&_wpnonce=' + frontend_ajax_object.ajax_nonce,
27
+ // data: {shortcode_data: shortcode_profile_array},
28
+ // success: function (res) {
29
+ // res = $.parseJSON(res);
30
+ // for (var i=0;i<=shortcode_profile_array.length;i++) {
31
+ // var social_detail = shortcode_profile_array[i];
32
+ // var count = (res[i])?res[i]:0;
33
+ // $('.apss-count[data-social-detail="' + social_detail + '"]').html(count);
34
+ // }
35
+ // }
36
+ // });
37
  }
38
  });
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === AccessPress Social Share ===
2
  Contributors: Access Keys
3
- Tags: social share counter, social share, social media share, social network share, social media, social network, share counter, social share count, social url share, social icons
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
- Tested up to: 4.2
7
- Stable tag: 3.0.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -131,6 +131,9 @@ Yes. You can use the AccessPress social share by using shortcode anywhere you wa
131
  6. Backend Miscellaneous Settings Section
132
 
133
  == Changelog ==
 
 
 
134
  = 3.0.6 =
135
  * Done the text domain change.
136
  * Done the removal of the submenu page from the plugin.
1
  === AccessPress Social Share ===
2
  Contributors: Access Keys
3
+ Tags: social share counter, social share, social media share, social network share, social media, social network, share counter, social share count, social url share, social icons
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
+ Tested up to: 4.3
7
+ Stable tag: 3.0.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
131
  6. Backend Miscellaneous Settings Section
132
 
133
  == Changelog ==
134
+ = 3.0.7 =
135
+ * Removal of the ajax call for the share counter as it is causing problem if there is jquery error in a site.
136
+
137
  = 3.0.6 =
138
  * Done the text domain change.
139
  * Done the removal of the submenu page from the plugin.