Version Description
- Done the bug fixings for the url encoding issue for the linkedin share summary text.
Download this release
Release Info
Developer | Access Keys |
Plugin | Social Share WordPress Plugin – AccessPress Social Share |
Version | 4.2.8 |
Comparing to | |
See all releases |
Code changes from version 4.2.7 to 4.2.8
- accesspress-social-share.php +2 -3
- inc/frontend/content-filter.php +6 -6
- inc/frontend/count_shortcode.php +1 -1
- inc/frontend/shortcode.php +3 -2
- readme.txt +6 -3
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.2.
|
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.2.
|
34 |
}
|
35 |
|
36 |
if ( !defined( 'APSS_TEXT_DOMAIN' ) ) {
|
@@ -151,7 +151,6 @@ if ( !class_exists( 'APSS_Class' ) ) {
|
|
151 |
$post_content = $content;
|
152 |
$title = str_replace( '+', '%20', urlencode( $post->post_title ) );
|
153 |
$content = trim( strip_shortcodes( strip_tags( $post->post_content ) ) );
|
154 |
-
|
155 |
if ( strlen( $content ) >= 100 ) {
|
156 |
$excerpt = urlencode(substr( $content, 0, 100 ) . '...');
|
157 |
} else {
|
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.2.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.2.8' );
|
34 |
}
|
35 |
|
36 |
if ( !defined( 'APSS_TEXT_DOMAIN' ) ) {
|
151 |
$post_content = $content;
|
152 |
$title = str_replace( '+', '%20', urlencode( $post->post_title ) );
|
153 |
$content = trim( strip_shortcodes( strip_tags( $post->post_content ) ) );
|
|
|
154 |
if ( strlen( $content ) >= 100 ) {
|
155 |
$excerpt = urlencode(substr( $content, 0, 100 ) . '...');
|
156 |
} else {
|
inc/frontend/content-filter.php
CHANGED
@@ -46,7 +46,7 @@ foreach ( $options['social_networks'] as $key => $value ) {
|
|
46 |
if($url_check['scheme'] == 'https'){
|
47 |
$flag=TRUE;
|
48 |
}else{
|
49 |
-
$flag=FALSE;
|
50 |
}
|
51 |
|
52 |
if($flag == TRUE){
|
@@ -67,7 +67,7 @@ foreach ( $options['social_networks'] as $key => $value ) {
|
|
67 |
if($url_check['scheme'] == 'https'){
|
68 |
$flag=TRUE;
|
69 |
}else{
|
70 |
-
$flag=FALSE;
|
71 |
}
|
72 |
|
73 |
if($flag == TRUE){
|
@@ -142,7 +142,7 @@ foreach ( $options['social_networks'] as $key => $value ) {
|
|
142 |
if($url_check['scheme'] == 'https'){
|
143 |
$flag=TRUE;
|
144 |
}else{
|
145 |
-
$flag=FALSE;
|
146 |
}
|
147 |
|
148 |
if($flag == TRUE){
|
@@ -176,7 +176,7 @@ foreach ( $options['social_networks'] as $key => $value ) {
|
|
176 |
if($url_check['scheme'] == 'https'){
|
177 |
$flag=TRUE;
|
178 |
}else{
|
179 |
-
$flag=FALSE;
|
180 |
}
|
181 |
|
182 |
if($flag == TRUE){
|
@@ -205,7 +205,7 @@ foreach ( $options['social_networks'] as $key => $value ) {
|
|
205 |
|
206 |
//couter available for linkedin
|
207 |
case 'linkedin':
|
208 |
-
$link = "http://www.linkedin.com/shareArticle?mini=true&title=" .
|
209 |
$count = $this->get_count( $key, $url );
|
210 |
////////////////////////////////////////
|
211 |
if(isset($http_url_checked) && $http_url_checked=='1'){
|
@@ -213,7 +213,7 @@ foreach ( $options['social_networks'] as $key => $value ) {
|
|
213 |
if($url_check['scheme'] == 'https'){
|
214 |
$flag=TRUE;
|
215 |
}else{
|
216 |
-
$flag=FALSE;
|
217 |
}
|
218 |
|
219 |
if($flag == TRUE){
|
46 |
if($url_check['scheme'] == 'https'){
|
47 |
$flag=TRUE;
|
48 |
}else{
|
49 |
+
$flag=FALSE;
|
50 |
}
|
51 |
|
52 |
if($flag == TRUE){
|
67 |
if($url_check['scheme'] == 'https'){
|
68 |
$flag=TRUE;
|
69 |
}else{
|
70 |
+
$flag=FALSE;
|
71 |
}
|
72 |
|
73 |
if($flag == TRUE){
|
142 |
if($url_check['scheme'] == 'https'){
|
143 |
$flag=TRUE;
|
144 |
}else{
|
145 |
+
$flag=FALSE;
|
146 |
}
|
147 |
|
148 |
if($flag == TRUE){
|
176 |
if($url_check['scheme'] == 'https'){
|
177 |
$flag=TRUE;
|
178 |
}else{
|
179 |
+
$flag=FALSE;
|
180 |
}
|
181 |
|
182 |
if($flag == TRUE){
|
205 |
|
206 |
//couter available for linkedin
|
207 |
case 'linkedin':
|
208 |
+
$link = "http://www.linkedin.com/shareArticle?mini=true&title=" . $title . "&url=" . $url . "&summary=" . $excerpt;
|
209 |
$count = $this->get_count( $key, $url );
|
210 |
////////////////////////////////////////
|
211 |
if(isset($http_url_checked) && $http_url_checked=='1'){
|
213 |
if($url_check['scheme'] == 'https'){
|
214 |
$flag=TRUE;
|
215 |
}else{
|
216 |
+
$flag=FALSE;
|
217 |
}
|
218 |
|
219 |
if($flag == TRUE){
|
inc/frontend/count_shortcode.php
CHANGED
@@ -38,7 +38,7 @@ foreach ( $options['social_networks'] as $key => $value ) {
|
|
38 |
if($url_check['scheme'] == 'https'){
|
39 |
$flag=TRUE;
|
40 |
}else{
|
41 |
-
$flag=FALSE;
|
42 |
}
|
43 |
|
44 |
if($flag == TRUE){
|
38 |
if($url_check['scheme'] == 'https'){
|
39 |
$flag=TRUE;
|
40 |
}else{
|
41 |
+
$flag=FALSE;
|
42 |
}
|
43 |
|
44 |
if($flag == TRUE){
|
inc/frontend/shortcode.php
CHANGED
@@ -59,10 +59,11 @@ if ( isset( $attr['counter'] ) ) {
|
|
59 |
$title = trim(str_replace( '+', '%20', urlencode( $post->post_title ) ));
|
60 |
$content = trim(strip_shortcodes( strip_tags( $post->post_content ) ));
|
61 |
if ( strlen( $content ) >= 100 ) {
|
62 |
-
$excerpt = substr( $content, 0, 100 ) . '...';
|
63 |
} else {
|
64 |
-
$excerpt = $content;
|
65 |
}
|
|
|
66 |
?>
|
67 |
|
68 |
<?php if ( isset( $attr['share_text'] ) && $attr['share_text'] != '' ) { ?> <div class='apss-share-text'><?php echo $attr['share_text']; ?></div> <?php } ?>
|
59 |
$title = trim(str_replace( '+', '%20', urlencode( $post->post_title ) ));
|
60 |
$content = trim(strip_shortcodes( strip_tags( $post->post_content ) ));
|
61 |
if ( strlen( $content ) >= 100 ) {
|
62 |
+
$excerpt = urlencode(substr( $content, 0, 100 ) . '...');
|
63 |
} else {
|
64 |
+
$excerpt = urlencode($content);
|
65 |
}
|
66 |
+
|
67 |
?>
|
68 |
|
69 |
<?php if ( isset( $attr['share_text'] ) && $attr['share_text'] != '' ) { ?> <div class='apss-share-text'><?php echo $attr['share_text']; ?></div> <?php } ?>
|
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.7
|
7 |
-
Stable tag: 4.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -27,8 +27,8 @@ Just get it done in a few minutes!
|
|
27 |
sidebar options, widget options, more shortcode options. Pinterest pin
|
28 |
it button for each images. Please upgrade to Premium version.`
|
29 |
|
30 |
-
`Have you moved your site from HTTP to HTTPS and lost your share counts?
|
31 |
-
No worries! Now you can get your http site's share counts back using our
|
32 |
plugin.`
|
33 |
|
34 |
= Free Features: =
|
@@ -141,6 +141,9 @@ Yes. You can use the AccessPress social share by using shortcode anywhere you wa
|
|
141 |
6. Backend Miscellaneous Settings Section
|
142 |
|
143 |
== Changelog ==
|
|
|
|
|
|
|
144 |
= 4.2.7 =
|
145 |
* Done the url, title and summary parameter url encoded for linkedin as it is producing error in some IE version of a browser.
|
146 |
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.7
|
7 |
+
Stable tag: 4.2.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
27 |
sidebar options, widget options, more shortcode options. Pinterest pin
|
28 |
it button for each images. Please upgrade to Premium version.`
|
29 |
|
30 |
+
`Have you moved your site from HTTP to HTTPS and lost your share counts?
|
31 |
+
No worries! Now you can get your http site's share counts back using our
|
32 |
plugin.`
|
33 |
|
34 |
= Free Features: =
|
141 |
6. Backend Miscellaneous Settings Section
|
142 |
|
143 |
== Changelog ==
|
144 |
+
= 4.2.8 =
|
145 |
+
* Done the bug fixings for the url encoding issue for the linkedin share summary text.
|
146 |
+
|
147 |
= 4.2.7 =
|
148 |
* Done the url, title and summary parameter url encoded for linkedin as it is producing error in some IE version of a browser.
|
149 |
|