Social Share WordPress Plugin – AccessPress Social Share - Version 4.3.7

Version Description

  • Done the removal of the depriciated share count of linkedin share count from plugin.
Download this release

Release Info

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

Code changes from version 4.3.6 to 4.3.7

accesspress-social-share.php CHANGED
@@ -4,7 +4,7 @@ defined( 'ABSPATH' ) or die( "No script kiddies please!" );
4
  Plugin name: Social Share WordPress Plugin - 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: 4.3.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', '4.3.5' );
34
  }
35
 
36
  if ( !defined( 'APSS_TEXT_DOMAIN' ) ) {
4
  Plugin name: Social Share WordPress Plugin - 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: 4.3.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', '4.3.7' );
34
  }
35
 
36
  if ( !defined( 'APSS_TEXT_DOMAIN' ) ) {
inc/frontend/content-filter.php CHANGED
@@ -259,9 +259,9 @@ foreach ( $options['social_networks'] as $key => $value ) {
259
  <span class='apss-social-text'><?php _e( 'Share on LinkedIn', 'accesspress-social-share' ); ?></span>
260
  <span class='apss-share'><?php _e( 'Share', 'accesspress-social-share' ); ?></span>
261
  </div>
262
- <?php if ( isset( $counter_enable_options ) && $counter_enable_options == '1' ) { ?>
263
  <div class='count apss-count' data-url='<?php echo $url; ?>' data-social-network='<?php echo $key; ?>' data-social-detail="<?php echo $url . '_' . $key; ?>"><?php echo $count; ?></div>
264
- <?php } ?>
265
  </a>
266
  </div>
267
  <?php
259
  <span class='apss-social-text'><?php _e( 'Share on LinkedIn', 'accesspress-social-share' ); ?></span>
260
  <span class='apss-share'><?php _e( 'Share', 'accesspress-social-share' ); ?></span>
261
  </div>
262
+ <?php /* if ( isset( $counter_enable_options ) && $counter_enable_options == '1' ) { ?>
263
  <div class='count apss-count' data-url='<?php echo $url; ?>' data-social-network='<?php echo $key; ?>' data-social-detail="<?php echo $url . '_' . $key; ?>"><?php echo $count; ?></div>
264
+ <?php } */ ?>
265
  </a>
266
  </div>
267
  <?php
inc/frontend/shortcode.php CHANGED
@@ -275,26 +275,26 @@ if($show_shortcode_content){
275
  //couter available for linkedin
276
  case 'linkedin':
277
  $link = "http://www.linkedin.com/shareArticle?mini=true&amp;title=" . $title . "&amp;url=" . $url . "&amp;summary=" . $excerpt;
278
- $count = $this->get_count( $key, $url );
279
  ////////////////////////////////////////
280
- if(isset($http_url_checked) && $http_url_checked=='1'){
281
- $url_check = parse_url($url);
282
- if($url_check['scheme'] == 'https'){
283
- $flag=TRUE;
284
- }else{
285
- $flag=FALSE;
286
- }
287
 
288
- if($flag == TRUE){
289
- $url1 = APSS_Class:: get_http_url($url);
290
- $http_count = APSS_Class:: get_count($key, $url1);
291
- if($count != $http_count){
292
- $count += $http_count;
293
- }else{
294
- $count = $count;
295
- }
296
- }
297
- }
298
  ///////////////////////////////////////////
299
  ?>
300
  <div class='apss-linkedin apss-single-icon'>
@@ -304,11 +304,11 @@ if($show_shortcode_content){
304
  <span class='apss-share'><?php _e( 'Share', 'accesspress-social-share' ); ?></span>
305
  </div>
306
 
307
- <?php
308
  if ( isset( $counter_enable_options ) && $counter_enable_options == '1' ) { ?>
309
  <div class='count apss-count' data-url='<?php echo $url; ?>' data-social-network='<?php echo $key; ?>' data-social-detail="<?php echo $url . '_' . $key; ?>"><?php echo $count; ?></div>
310
  <?php
311
- } ?>
312
 
313
  </a>
314
  </div>
275
  //couter available for linkedin
276
  case 'linkedin':
277
  $link = "http://www.linkedin.com/shareArticle?mini=true&amp;title=" . $title . "&amp;url=" . $url . "&amp;summary=" . $excerpt;
278
+ // $count = $this->get_count( $key, $url );
279
  ////////////////////////////////////////
280
+ // if(isset($http_url_checked) && $http_url_checked=='1'){
281
+ // $url_check = parse_url($url);
282
+ // if($url_check['scheme'] == 'https'){
283
+ // $flag=TRUE;
284
+ // }else{
285
+ // $flag=FALSE;
286
+ // }
287
 
288
+ // if($flag == TRUE){
289
+ // $url1 = APSS_Class:: get_http_url($url);
290
+ // $http_count = APSS_Class:: get_count($key, $url1);
291
+ // if($count != $http_count){
292
+ // $count += $http_count;
293
+ // }else{
294
+ // $count = $count;
295
+ // }
296
+ // }
297
+ // }
298
  ///////////////////////////////////////////
299
  ?>
300
  <div class='apss-linkedin apss-single-icon'>
304
  <span class='apss-share'><?php _e( 'Share', 'accesspress-social-share' ); ?></span>
305
  </div>
306
 
307
+ <?php /*
308
  if ( isset( $counter_enable_options ) && $counter_enable_options == '1' ) { ?>
309
  <div class='count apss-count' data-url='<?php echo $url; ?>' data-social-network='<?php echo $key; ?>' data-social-detail="<?php echo $url . '_' . $key; ?>"><?php echo $count; ?></div>
310
  <?php
311
+ } */ ?>
312
 
313
  </a>
314
  </div>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: social share counter, social share, social media share, social network sha
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.8
7
- Stable tag: 4.3.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -146,6 +146,9 @@ Yes. You can use the AccessPress social share by using shortcode anywhere you wa
146
  6. Backend Miscellaneous Settings Section
147
 
148
  == Changelog ==
 
 
 
149
  = 4.3.6 =
150
  * Addition of the apply_filter "apss_share_url" hook for the url modification if needed.
151
  * Removal of the session_init function from the plugin. This solved the loopback error occuring on security check.
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.8
7
+ Stable tag: 4.3.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
146
  6. Backend Miscellaneous Settings Section
147
 
148
  == Changelog ==
149
+ = 4.3.7 =
150
+ * Done the removal of the depriciated share count of linkedin share count from plugin.
151
+
152
  = 4.3.6 =
153
  * Addition of the apply_filter "apss_share_url" hook for the url modification if needed.
154
  * Removal of the session_init function from the plugin. This solved the loopback error occuring on security check.