Social Share WordPress Plugin – AccessPress Social Share - Version 4.1.5

Version Description

  • Multisite compactibility issue fixed.
Download this release

Release Info

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

Code changes from version 4.1.4 to 4.1.5

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.1.4
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.1.4' );
34
  }
35
 
36
  if ( !defined( 'APSS_TEXT_DOMAIN' ) ) {
@@ -84,14 +84,35 @@ if ( !class_exists( 'APSS_Class' ) ) {
84
 
85
  //called when plugin is activated
86
  function plugin_activation() {
87
- if ( !get_option( APSS_SETTING_NAME ) ) {
88
- include( 'inc/backend/activation.php' );
89
- }
90
 
91
- if ( !get_option( APSS_COUNT_TRANSIENTS ) ) {
92
- $apss_social_counts_transients = array();
93
- update_option( APSS_COUNT_TRANSIENTS, $apss_social_counts_transients );
94
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95
  }
96
 
97
  //loads the text domain for translation
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.1.5
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.1.5' );
34
  }
35
 
36
  if ( !defined( 'APSS_TEXT_DOMAIN' ) ) {
84
 
85
  //called when plugin is activated
86
  function plugin_activation() {
 
 
 
87
 
88
+ global $wpdb;
89
+ if ( is_multisite() ) {
90
+ $current_blog = $wpdb->blogid;
91
+ // Get all blogs in the network and activate plugin on each one
92
+ $blog_ids = $wpdb->get_col( "SELECT blog_id FROM $wpdb->blogs" );
93
+ foreach ( $blog_ids as $blog_id ) {
94
+ switch_to_blog( $blog_id );
95
+ if ( !get_option( APSS_SETTING_NAME ) ) {
96
+ include( 'inc/backend/activation.php' );
97
+ }
98
+
99
+ if ( !get_option( APSS_COUNT_TRANSIENTS ) ) {
100
+ $apss_social_counts_transients = array();
101
+ update_option( APSS_COUNT_TRANSIENTS, $apss_social_counts_transients );
102
+ }
103
+ }
104
+ }else{
105
+ if ( !get_option( APSS_SETTING_NAME ) ) {
106
+ include( 'inc/backend/activation.php' );
107
+ }
108
+
109
+ if ( !get_option( APSS_COUNT_TRANSIENTS ) ) {
110
+ $apss_social_counts_transients = array();
111
+ update_option( APSS_COUNT_TRANSIENTS, $apss_social_counts_transients );
112
+ }
113
+ }
114
+
115
+
116
  }
117
 
118
  //loads the text domain for translation
inc/backend/how-to-use.php CHANGED
@@ -1,4 +1,8 @@
1
  <?php defined('ABSPATH') or die("No script kiddies please!"); ?>
 
 
 
 
2
  <p>Basically there are four main settings tabs that will help you to setup the plugin to work properly.</p>
3
  <dl>
4
  <dt><strong>Social Networks</strong></dt>
@@ -60,4 +64,5 @@
60
  <dd>
61
  <p><b>For now you can use shortcode [apss-share] and [apss-count] for the display of the social shares and counts only as well but in upcoming plugin updates this shortcode will be removed and use the new one. So we suggest to use only the new shortcodes.</b></p>
62
  </dd>
 
63
  </dl>
1
  <?php defined('ABSPATH') or die("No script kiddies please!"); ?>
2
+ <p>Plugin configuration video </p>
3
+ <iframe width="560" height="315" src="https://www.youtube.com/embed/tAfiyOnoEZs" frameborder="0" allowfullscreen></iframe>
4
+
5
+ <br />
6
  <p>Basically there are four main settings tabs that will help you to setup the plugin to work properly.</p>
7
  <dl>
8
  <dt><strong>Social Networks</strong></dt>
64
  <dd>
65
  <p><b>For now you can use shortcode [apss-share] and [apss-count] for the display of the social shares and counts only as well but in upcoming plugin updates this shortcode will be removed and use the new one. So we suggest to use only the new shortcodes.</b></p>
66
  </dd>
67
+
68
  </dl>
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.5
7
- Stable tag: 4.1.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -45,6 +45,8 @@ it button for each images. Please upgrade to Premium version.`
45
  * <strong>Free updates</strong>
46
  - Get free updates for lifetime.
47
 
 
 
48
  = Premium Features: =
49
 
50
  ★ Beautifully designed 10 themes to select from.
@@ -131,6 +133,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.1.4 =
135
  * Removal of unnecessary css codes from the plugin's frontend css file.
136
 
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.5
7
+ Stable tag: 4.1.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
45
  * <strong>Free updates</strong>
46
  - Get free updates for lifetime.
47
 
48
+ [youtube https://www.youtube.com/watch?v=PKUbaeKpsbM&feature=youtu.be]
49
+
50
  = Premium Features: =
51
 
52
  ★ Beautifully designed 10 themes to select from.
133
  6. Backend Miscellaneous Settings Section
134
 
135
  == Changelog ==
136
+ = 4.1.5 =
137
+ * Multisite compactibility issue fixed.
138
+
139
  = 4.1.4 =
140
  * Removal of unnecessary css codes from the plugin's frontend css file.
141