Version Description
- Done the bug fixings for the slashes appearing in the plugin's miscelleneous settings.
Download this release
Release Info
Developer | Access Keys |
Plugin | Social Share WordPress Plugin – AccessPress Social Share |
Version | 4.2.1 |
Comparing to | |
See all releases |
Code changes from version 4.2.0 to 4.2.1
- accesspress-social-share.php +2 -2
- inc/backend/save-settings.php +3 -3
- readme.txt +4 -1
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' ) ) {
|
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.1
|
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.1' );
|
34 |
}
|
35 |
|
36 |
if ( !defined( 'APSS_TEXT_DOMAIN' ) ) {
|
inc/backend/save-settings.php
CHANGED
@@ -20,7 +20,7 @@ foreach ( $apss_social_newtwork_order as $social_network ) {
|
|
20 |
|
21 |
$apss_share_settings['social_networks'] = $social_network_array;
|
22 |
$apss_share_settings['disable_frontend_assets'] = isset( $_POST['apss_share_settings']['disable_frontend_assets'] ) ? $_POST['apss_share_settings']['disable_frontend_assets'] : '0';
|
23 |
-
$apss_share_settings['share_text'] =
|
24 |
$apss_share_settings['twitter_username'] = stripslashes_deep( $_POST['apss_share_settings']['twitter_username'] );
|
25 |
$apss_share_settings['counter_enable_options'] = $_POST['apss_share_settings']['counter_enable_options'];
|
26 |
$apss_share_settings['twitter_counter_api'] = $_POST['apss_share_settings']['twitter_counter_api'];
|
@@ -28,8 +28,8 @@ $apss_share_settings['twitter_counter_api'] = $_POST['apss_share_settings']['
|
|
28 |
$fb_app_id = isset( $_POST['apss_share_settings']['api_configuration']['facebook']['app_id'] ) ? $_POST['apss_share_settings']['api_configuration']['facebook']['app_id'] : '';
|
29 |
$fb_app_secret = isset( $_POST['apss_share_settings']['api_configuration']['facebook']['app_secret'] ) ? $_POST['apss_share_settings']['api_configuration']['facebook']['app_secret'] : '';
|
30 |
$apss_share_settings['api_configuration']['facebook'] = array(
|
31 |
-
'app_id'=> $fb_app_id,
|
32 |
-
'app_secret'
|
33 |
);
|
34 |
|
35 |
$apss_share_settings['total_counter_enable_options'] = $_POST['apss_share_settings']['total_counter_enable_options'];
|
20 |
|
21 |
$apss_share_settings['social_networks'] = $social_network_array;
|
22 |
$apss_share_settings['disable_frontend_assets'] = isset( $_POST['apss_share_settings']['disable_frontend_assets'] ) ? $_POST['apss_share_settings']['disable_frontend_assets'] : '0';
|
23 |
+
$apss_share_settings['share_text'] = stripslashes_deep( $_POST['apss_share_settings']['share_text'] );
|
24 |
$apss_share_settings['twitter_username'] = stripslashes_deep( $_POST['apss_share_settings']['twitter_username'] );
|
25 |
$apss_share_settings['counter_enable_options'] = $_POST['apss_share_settings']['counter_enable_options'];
|
26 |
$apss_share_settings['twitter_counter_api'] = $_POST['apss_share_settings']['twitter_counter_api'];
|
28 |
$fb_app_id = isset( $_POST['apss_share_settings']['api_configuration']['facebook']['app_id'] ) ? $_POST['apss_share_settings']['api_configuration']['facebook']['app_id'] : '';
|
29 |
$fb_app_secret = isset( $_POST['apss_share_settings']['api_configuration']['facebook']['app_secret'] ) ? $_POST['apss_share_settings']['api_configuration']['facebook']['app_secret'] : '';
|
30 |
$apss_share_settings['api_configuration']['facebook'] = array(
|
31 |
+
'app_id'=> stripslashes_deep($fb_app_id),
|
32 |
+
'app_secret'=>stripslashes_deep($fb_app_secret)
|
33 |
);
|
34 |
|
35 |
$apss_share_settings['total_counter_enable_options'] = $_POST['apss_share_settings']['total_counter_enable_options'];
|
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.6
|
7 |
-
Stable tag: 4.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -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.0 =
|
145 |
* Done the addition of new feature to fetch the share counts from http site as well if site has been moved from HTTP to HTTPS.
|
146 |
* Done the addition of documentation links in how to use section.
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.6
|
7 |
+
Stable tag: 4.2.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
141 |
6. Backend Miscellaneous Settings Section
|
142 |
|
143 |
== Changelog ==
|
144 |
+
= 4.2.1 =
|
145 |
+
* Done the bug fixings for the slashes appearing in the plugin's miscelleneous settings.
|
146 |
+
|
147 |
= 4.2.0 =
|
148 |
* Done the addition of new feature to fetch the share counts from http site as well if site has been moved from HTTP to HTTPS.
|
149 |
* Done the addition of documentation links in how to use section.
|