Version Description
- [Bugfix] 'array_replace' function was causing fatal error at the websites running on PHP version < 5.3. Introduced fallback function for
Download this release
Release Info
Developer | the_champ |
Plugin | WordPress Social Share, Social Login and Social Comments Plugin – Super Socializer |
Version | 7.0.1 |
Comparing to | |
See all releases |
Code changes from version 7.0 to 7.0.1
- readme.txt +8 -2
- super_socializer.php +18 -3
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.heateor.com/donate?action=Super+Socializer
|
|
4 |
Tags: the champ, champ, social login, social sharing, social commenting, social comments, social plugin, buddypress, bbpress, social share, comments, share post, user profile data, social analytics, online identity, social profile storage, id provider, single sign-on, social media tools, free social login, post to social networks, social authentication, social app, connect, capture social data, social sign-in, signin, sign up, signup, social connect, facebook login, twitter login, google login, google+ login, linkedin login, yahoo, vkontakte, instagram, reddit, digg, stumbleupon, delicious, float it, tumblr, social network
|
5 |
Requires at least: 2.5.0
|
6 |
Tested up to: 4.4
|
7 |
-
Stable tag: 7.0
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
The unique Social Plugin to let you integrate Social Login, Social Share and Social Comments at your website
|
@@ -198,6 +198,9 @@ Yes, we can help you with it. Just drop an email at support@heateor.com
|
|
198 |
8. **Social Commenting**: Disqus Commenting selected
|
199 |
|
200 |
== Changelog ==
|
|
|
|
|
|
|
201 |
= 7.0 =
|
202 |
* [New] Added more options to customize social share icons and counters
|
203 |
* [New] Now choose from over 100 social sharing and bookmarking services, to display in sharing bar
|
@@ -744,4 +747,7 @@ Yes, we can help you with it. Just drop an email at support@heateor.com
|
|
744 |
* [Bugfix] User was not getting redirected to the same tab after saving changes, at plugin options page
|
745 |
* [Improvement] Share counts are being rounded off instead of K+, M+ format
|
746 |
* [Improvement] Admin UI improvement
|
747 |
-
* [Improvement] Compatible with PHP 7 (Still, we recommend to check it first on your development environment before moving to production)
|
|
|
|
|
|
4 |
Tags: the champ, champ, social login, social sharing, social commenting, social comments, social plugin, buddypress, bbpress, social share, comments, share post, user profile data, social analytics, online identity, social profile storage, id provider, single sign-on, social media tools, free social login, post to social networks, social authentication, social app, connect, capture social data, social sign-in, signin, sign up, signup, social connect, facebook login, twitter login, google login, google+ login, linkedin login, yahoo, vkontakte, instagram, reddit, digg, stumbleupon, delicious, float it, tumblr, social network
|
5 |
Requires at least: 2.5.0
|
6 |
Tested up to: 4.4
|
7 |
+
Stable tag: 7.0.1
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
The unique Social Plugin to let you integrate Social Login, Social Share and Social Comments at your website
|
198 |
8. **Social Commenting**: Disqus Commenting selected
|
199 |
|
200 |
== Changelog ==
|
201 |
+
= 7.0.1 =
|
202 |
+
* [Bugfix] 'array_replace' function was causing fatal error at the websites running on PHP version < 5.3. Introduced fallback function for
|
203 |
+
|
204 |
= 7.0 =
|
205 |
* [New] Added more options to customize social share icons and counters
|
206 |
* [New] Now choose from over 100 social sharing and bookmarking services, to display in sharing bar
|
747 |
* [Bugfix] User was not getting redirected to the same tab after saving changes, at plugin options page
|
748 |
* [Improvement] Share counts are being rounded off instead of K+, M+ format
|
749 |
* [Improvement] Admin UI improvement
|
750 |
+
* [Improvement] Compatible with PHP 7 (Still, we recommend to check it first on your development environment before moving to production)
|
751 |
+
|
752 |
+
= 7.0.1 =
|
753 |
+
* [Bugfix] 'array_replace' function was causing fatal error at the websites running on PHP version < 5.3. Introduced fallback function for this.
|
super_socializer.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Super Socializer
|
4 |
Plugin URI: http://super-socializer-wordpress.heateor.com
|
5 |
Description: A complete 360 degree solution to provide all the social features like Social Login, Social Commenting, Social Sharing and more.
|
6 |
-
Version: 7.0
|
7 |
Author: Team Heateor
|
8 |
Author URI: http://www.heateor.com
|
9 |
Text Domain: Super-Socializer
|
@@ -11,7 +11,7 @@ Domain Path: /languages
|
|
11 |
License: GPL2+
|
12 |
*/
|
13 |
defined('ABSPATH') or die("Cheating........Uh!!");
|
14 |
-
define('THE_CHAMP_SS_VERSION', '7.0');
|
15 |
|
16 |
$theChampLoginOptions = get_option('the_champ_login');
|
17 |
if(isset($theChampLoginOptions['providers']) && in_array('twitter', $theChampLoginOptions['providers'])){
|
@@ -798,11 +798,26 @@ add_action( 'edit_user_profile_update', 'the_champ_save_avatar' );
|
|
798 |
|
799 |
/**
|
800 |
* Check if WooCommerce is active
|
801 |
-
|
802 |
function the_champ_ss_woocom_is_active(){
|
803 |
return in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) );
|
804 |
}
|
805 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
806 |
/**
|
807 |
* Replace a value in array
|
808 |
*/
|
3 |
Plugin Name: Super Socializer
|
4 |
Plugin URI: http://super-socializer-wordpress.heateor.com
|
5 |
Description: A complete 360 degree solution to provide all the social features like Social Login, Social Commenting, Social Sharing and more.
|
6 |
+
Version: 7.0.1
|
7 |
Author: Team Heateor
|
8 |
Author URI: http://www.heateor.com
|
9 |
Text Domain: Super-Socializer
|
11 |
License: GPL2+
|
12 |
*/
|
13 |
defined('ABSPATH') or die("Cheating........Uh!!");
|
14 |
+
define('THE_CHAMP_SS_VERSION', '7.0.1');
|
15 |
|
16 |
$theChampLoginOptions = get_option('the_champ_login');
|
17 |
if(isset($theChampLoginOptions['providers']) && in_array('twitter', $theChampLoginOptions['providers'])){
|
798 |
|
799 |
/**
|
800 |
* Check if WooCommerce is active
|
801 |
+
*/
|
802 |
function the_champ_ss_woocom_is_active(){
|
803 |
return in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) );
|
804 |
}
|
805 |
|
806 |
+
if(!function_exists('array_replace')){
|
807 |
+
/**
|
808 |
+
* Custom 'array_replace' function for PHP version < 5.3
|
809 |
+
*/
|
810 |
+
function array_replace($array, $value, $replacement){
|
811 |
+
foreach($array as $key => $val){
|
812 |
+
if($val == $value){
|
813 |
+
$array[$key] = $replacement;
|
814 |
+
break;
|
815 |
+
}
|
816 |
+
}
|
817 |
+
return $array;
|
818 |
+
}
|
819 |
+
}
|
820 |
+
|
821 |
/**
|
822 |
* Replace a value in array
|
823 |
*/
|