Social Share WordPress Plugin – AccessPress Social Share - Version 4.0.8

Version Description

  • Done the bug fixing for the issue related to the_content filter hook for Yoast SEO plugin.
Download this release

Release Info

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

Code changes from version 4.0.7 to 4.0.8

Files changed (2) hide show
  1. accesspress-social-share.php +3 -2
  2. readme.txt +4 -1
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: 4.0.7
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.0.7' );
34
  }
35
 
36
  if ( !defined( 'APSS_TEXT_DOMAIN' ) ) {
@@ -125,6 +125,7 @@ if ( !class_exists( 'APSS_Class' ) ) {
125
 
126
  //function to return the content filter for the posts and pages
127
  function apss_the_content_filter( $content ) {
 
128
  global $post;
129
  $post_content = $content;
130
  $title = str_replace( '+', '%20', urlencode( $post->post_title ) );
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: 4.0.8
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.0.8' );
34
  }
35
 
36
  if ( !defined( 'APSS_TEXT_DOMAIN' ) ) {
125
 
126
  //function to return the content filter for the posts and pages
127
  function apss_the_content_filter( $content ) {
128
+ if(in_array('get_the_excerpt', $GLOBALS['wp_current_filter'])) return $content;
129
  global $post;
130
  $post_content = $content;
131
  $title = str_replace( '+', '%20', urlencode( $post->post_title ) );
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.4
7
- Stable tag: 4.0.7
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
  = 4.0.7 =
135
  * Removal of unnecessary codes for the twitter share counts using third party API.
136
  * Addition of language file for fr_CA
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.4
7
+ Stable tag: 4.0.8
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
+ = 4.0.8 =
135
+ * Done the bug fixing for the issue related to the_content filter hook for Yoast SEO plugin.
136
+
137
  = 4.0.7 =
138
  * Removal of unnecessary codes for the twitter share counts using third party API.
139
  * Addition of language file for fr_CA