Version Description
- Removal of unncessary commented codes from twitter share.
Download this release
Release Info
Developer | Access Keys |
Plugin | Social Share WordPress Plugin – AccessPress Social Share |
Version | 4.0.3 |
Comparing to | |
See all releases |
Code changes from version 4.0.2 to 4.0.3
- accesspress-social-share.php +2 -5
- inc/backend/main-page.php +1 -1
- inc/frontend/content-filter.php +1 -5
- 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.
|
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.
|
34 |
}
|
35 |
|
36 |
if ( !defined( 'APSS_TEXT_DOMAIN' ) ) {
|
@@ -46,7 +46,6 @@ if ( !defined( 'APSS_COUNT_TRANSIENTS' ) ) {
|
|
46 |
}
|
47 |
|
48 |
//Decleration of the class for necessary configuration of a plugin
|
49 |
-
|
50 |
if ( !class_exists( 'APSS_Class' ) ) {
|
51 |
|
52 |
class APSS_Class {
|
@@ -297,7 +296,6 @@ if ( !class_exists( 'APSS_Class' ) ) {
|
|
297 |
function social_meta_box() {
|
298 |
add_meta_box( 'ap-share-box', 'AccessPress social share options', array( $this, 'metabox_callback' ), '', 'side', 'core' );
|
299 |
}
|
300 |
-
|
301 |
function metabox_callback( $post ) {
|
302 |
wp_nonce_field( 'save_meta_values', 'ap_share_meta_nonce' );
|
303 |
$content_flag = get_post_meta( $post->ID, 'apss_content_flag', true );
|
@@ -555,7 +553,6 @@ if ( !class_exists( 'APSS_Class' ) ) {
|
|
555 |
}
|
556 |
return $count;
|
557 |
}
|
558 |
-
|
559 |
}
|
560 |
|
561 |
//APSS_Class termination
|
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.3
|
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.3' );
|
34 |
}
|
35 |
|
36 |
if ( !defined( 'APSS_TEXT_DOMAIN' ) ) {
|
46 |
}
|
47 |
|
48 |
//Decleration of the class for necessary configuration of a plugin
|
|
|
49 |
if ( !class_exists( 'APSS_Class' ) ) {
|
50 |
|
51 |
class APSS_Class {
|
296 |
function social_meta_box() {
|
297 |
add_meta_box( 'ap-share-box', 'AccessPress social share options', array( $this, 'metabox_callback' ), '', 'side', 'core' );
|
298 |
}
|
|
|
299 |
function metabox_callback( $post ) {
|
300 |
wp_nonce_field( 'save_meta_values', 'ap_share_meta_nonce' );
|
301 |
$content_flag = get_post_meta( $post->ID, 'apss_content_flag', true );
|
553 |
}
|
554 |
return $count;
|
555 |
}
|
|
|
556 |
}
|
557 |
|
558 |
//APSS_Class termination
|
inc/backend/main-page.php
CHANGED
@@ -91,7 +91,7 @@
|
|
91 |
|
92 |
<p><input type="checkbox" id="apss_front_page" value="front_page" name="apss_share_settings[share_options][]" <?php if ( in_array( "front_page", $options['share_options'] ) ) {
|
93 |
echo "checked='checked'";
|
94 |
-
} ?> ><label for="apss_front_page"><?php _e( 'Front Page', 'accesspress-social-share' ); ?></label></p>
|
95 |
<p><input type="checkbox" id="apss_archives" value="archives" name="apss_share_settings[share_options][]" <?php if ( in_array( "archives", $options['share_options'] ) ) {
|
96 |
echo "checked='checked'";
|
97 |
} ?> ><label for="apss_archives"><?php _e( 'Archives', 'accesspress-social-share' ); ?></label></p>
|
91 |
|
92 |
<p><input type="checkbox" id="apss_front_page" value="front_page" name="apss_share_settings[share_options][]" <?php if ( in_array( "front_page", $options['share_options'] ) ) {
|
93 |
echo "checked='checked'";
|
94 |
+
} ?> ><label for="apss_front_page"><?php _e( 'Front Page', 'accesspress-social-share' ); ?></label></p>
|
95 |
<p><input type="checkbox" id="apss_archives" value="archives" name="apss_share_settings[share_options][]" <?php if ( in_array( "archives", $options['share_options'] ) ) {
|
96 |
echo "checked='checked'";
|
97 |
} ?> ><label for="apss_archives"><?php _e( 'Archives', 'accesspress-social-share' ); ?></label></p>
|
inc/frontend/content-filter.php
CHANGED
@@ -63,9 +63,6 @@ foreach ( $options['social_networks'] as $key => $value ) {
|
|
63 |
<i class='fa fa-twitter'></i>
|
64 |
<span class='apss-social-text'><?php _e( 'Share on Twitter', 'accesspress-social-share' ); ?></span><span class='apss-share'><?php _e( 'Tweet', 'accesspress-social-share' ); ?></span>
|
65 |
</div>
|
66 |
-
<?php /* if ( isset( $counter_enable_options ) && $counter_enable_options == '1' ) { ?>
|
67 |
-
<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>
|
68 |
-
<?php } */ ?>
|
69 |
</a>
|
70 |
</div>
|
71 |
<?php
|
@@ -173,8 +170,7 @@ foreach ( $options['social_networks'] as $key => $value ) {
|
|
173 |
case 'print':
|
174 |
?>
|
175 |
<div class='apss-print apss-single-icon'>
|
176 |
-
<a rel='nofollow' title="<?php _e( 'Print', 'accesspress-social-share' ); ?>" href='javascript:void(0);' onclick='window.print();
|
177 |
-
return false;'>
|
178 |
<div class='apss-icon-block clearfix'><i class='fa fa-print'></i>
|
179 |
<span class='apss-social-text'><?php _e( 'Print', 'accesspress-social-share' ); ?></span>
|
180 |
<span class='apss-share'><?php _e( 'Print', 'accesspress-social-share' ); ?></span>
|
63 |
<i class='fa fa-twitter'></i>
|
64 |
<span class='apss-social-text'><?php _e( 'Share on Twitter', 'accesspress-social-share' ); ?></span><span class='apss-share'><?php _e( 'Tweet', 'accesspress-social-share' ); ?></span>
|
65 |
</div>
|
|
|
|
|
|
|
66 |
</a>
|
67 |
</div>
|
68 |
<?php
|
170 |
case 'print':
|
171 |
?>
|
172 |
<div class='apss-print apss-single-icon'>
|
173 |
+
<a rel='nofollow' title="<?php _e( 'Print', 'accesspress-social-share' ); ?>" href='javascript:void(0);' onclick='window.print(); return false;'>
|
|
|
174 |
<div class='apss-icon-block clearfix'><i class='fa fa-print'></i>
|
175 |
<span class='apss-social-text'><?php _e( 'Print', 'accesspress-social-share' ); ?></span>
|
176 |
<span class='apss-share'><?php _e( 'Print', 'accesspress-social-share' ); ?></span>
|
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.
|
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.2 =
|
135 |
* Addition of the new shortcodes to replace apss-share to apss_share and apss-count to apss_count. Both shortcodes can be used but in the future updates will remove the shortcodes with hyphen as it is not recommened.
|
136 |
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.4
|
7 |
+
Stable tag: 4.0.3
|
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.3 =
|
135 |
+
* Removal of unncessary commented codes from twitter share.
|
136 |
+
|
137 |
= 4.0.2 =
|
138 |
* Addition of the new shortcodes to replace apss-share to apss_share and apss-count to apss_count. Both shortcodes can be used but in the future updates will remove the shortcodes with hyphen as it is not recommened.
|
139 |
|