Version Description
- Issue with click on icons on mobile fixed
Download this release
Release Info
Developer | socialdude |
Plugin | Social Media Share Buttons & Social Sharing Icons |
Version | 2.0.5 |
Comparing to | |
See all releases |
Code changes from version 2.0.4 to 2.0.5
- css/sfsi-style.css +2 -1
- helpers/twitteroauth/twiiterCount.php +1 -1
- libs/controllers/sfsi_class_theme_check.php +7 -7
- libs/controllers/sfsi_frontpopUp.php +1 -1
- libs/controllers/sfsi_iconsUpload_contoller.php +2 -2
- libs/sfsi_install_uninstall.php +1 -1
- readme.txt +7 -4
- ultimate_social_media_icons.php +2 -2
css/sfsi-style.css
CHANGED
@@ -2276,4 +2276,5 @@ ul.cstmskin_iconlist {
|
|
2276 |
width: 38px !important;
|
2277 |
right: -45px !important;
|
2278 |
}
|
2279 |
-
.sfsi_wicons a{box-shadow:none !important;}
|
|
2276 |
width: 38px !important;
|
2277 |
right: -45px !important;
|
2278 |
}
|
2279 |
+
.sfsi_wicons a{box-shadow:none !important;}
|
2280 |
+
a.sficn{ cursor: pointer; }
|
helpers/twitteroauth/twiiterCount.php
CHANGED
@@ -16,7 +16,7 @@ function sfsi_twitter_followers(){
|
|
16 |
$connection = new TwitterOAuth($sfsi_section4_options['tw_consumer_key'], $sfsi_section4_options['tw_consumer_secret'], $sfsi_section4_options['tw_oauth_access_token'], $sfsi_section4_options['tw_oauth_access_token_secret']);
|
17 |
|
18 |
$statuses = $connection->get('followers/ids');
|
19 |
-
$count = isset($statuses) && isset($statuses->ids)? count($statuses->ids) : 0;
|
20 |
}
|
21 |
catch(Exception $e) {
|
22 |
return $count;
|
16 |
$connection = new TwitterOAuth($sfsi_section4_options['tw_consumer_key'], $sfsi_section4_options['tw_consumer_secret'], $sfsi_section4_options['tw_oauth_access_token'], $sfsi_section4_options['tw_oauth_access_token_secret']);
|
17 |
|
18 |
$statuses = $connection->get('followers/ids');
|
19 |
+
$count = isset($statuses) && isset($statuses->ids) && is_array($statuses->ids) ? count($statuses->ids) : 0;
|
20 |
}
|
21 |
catch(Exception $e) {
|
22 |
return $count;
|
libs/controllers/sfsi_class_theme_check.php
CHANGED
@@ -31,13 +31,13 @@ class sfsi_ThemeCheck
|
|
31 |
$keywordEnglish = array_map("str_getcsv", explode("\n", $keywordData));
|
32 |
$themeDataArr = array();
|
33 |
|
34 |
-
if(isset($keywordEnglish) && count($keywordEnglish)>0){
|
35 |
|
36 |
unset($keywordEnglish[0]);
|
37 |
|
38 |
$finalArr = array_filter(array_values($keywordEnglish));
|
39 |
|
40 |
-
if(isset($finalArr) && count($finalArr)>0){
|
41 |
|
42 |
for($i=0;$i<count($finalArr);$i++) {
|
43 |
|
@@ -77,7 +77,7 @@ class sfsi_ThemeCheck
|
|
77 |
|
78 |
$strRegex = "";
|
79 |
|
80 |
-
if(isset($arrKeyWords) && count($arrKeyWords)>0 && is_array($arrKeyWords)){
|
81 |
|
82 |
$count = count($arrKeyWords);
|
83 |
|
@@ -108,7 +108,7 @@ class sfsi_ThemeCheck
|
|
108 |
|
109 |
$strRegex = "";
|
110 |
|
111 |
-
if(isset($arrKeyWords) && count($arrKeyWords)>0 && is_array($arrKeyWords)){
|
112 |
|
113 |
$count = count($arrKeyWords);
|
114 |
|
@@ -289,7 +289,7 @@ class sfsi_ThemeCheck
|
|
289 |
|
290 |
$bflag = false;
|
291 |
|
292 |
-
if(isset($arrNoBrainerKeywords) && count($arrNoBrainerKeywords)>0 && is_array($arrNoBrainerKeywords)>0){
|
293 |
|
294 |
if(preg_match($this->sfsi_plus_regex_for_keywords($arrNoBrainerKeywords), $domainname)){
|
295 |
$bflag = true;
|
@@ -303,13 +303,13 @@ class sfsi_ThemeCheck
|
|
303 |
|
304 |
$flag = false;
|
305 |
|
306 |
-
if(
|
307 |
|
308 |
if(preg_match($this->sfsi_plus_regex_for_keywords($arrNoBrainerAndSeparateKeywords), $domainname))
|
309 |
{
|
310 |
if(!empty($domainname))
|
311 |
{
|
312 |
-
if(
|
313 |
$domainname = preg_replace($this->sfsi_plus_regex_forNegative_keywords($arrNegativeKeywords), '', $domainname);
|
314 |
$explode = explode(".", $domainname);
|
315 |
$domainname = @$explode[0];
|
31 |
$keywordEnglish = array_map("str_getcsv", explode("\n", $keywordData));
|
32 |
$themeDataArr = array();
|
33 |
|
34 |
+
if(isset($keywordEnglish) && is_array($keywordEnglish) && count($keywordEnglish)>0){
|
35 |
|
36 |
unset($keywordEnglish[0]);
|
37 |
|
38 |
$finalArr = array_filter(array_values($keywordEnglish));
|
39 |
|
40 |
+
if(isset($finalArr) && is_array($finalArr) && count($finalArr)>0){
|
41 |
|
42 |
for($i=0;$i<count($finalArr);$i++) {
|
43 |
|
77 |
|
78 |
$strRegex = "";
|
79 |
|
80 |
+
if(isset($arrKeyWords) && is_array($arrKeyWords) && count($arrKeyWords)>0 && is_array($arrKeyWords)){
|
81 |
|
82 |
$count = count($arrKeyWords);
|
83 |
|
108 |
|
109 |
$strRegex = "";
|
110 |
|
111 |
+
if(isset($arrKeyWords) && is_array($arrKeyWords) && count($arrKeyWords)>0 && is_array($arrKeyWords)){
|
112 |
|
113 |
$count = count($arrKeyWords);
|
114 |
|
289 |
|
290 |
$bflag = false;
|
291 |
|
292 |
+
if(isset($arrNoBrainerKeywords) && is_array($arrNoBrainerKeywords) && count($arrNoBrainerKeywords)>0 && is_array($arrNoBrainerKeywords)>0){
|
293 |
|
294 |
if(preg_match($this->sfsi_plus_regex_for_keywords($arrNoBrainerKeywords), $domainname)){
|
295 |
$bflag = true;
|
303 |
|
304 |
$flag = false;
|
305 |
|
306 |
+
if(isset($arrNoBrainerAndSeparateKeywords) && is_array($arrNoBrainerAndSeparateKeywords) && count($arrNoBrainerAndSeparateKeywords)>0){
|
307 |
|
308 |
if(preg_match($this->sfsi_plus_regex_for_keywords($arrNoBrainerAndSeparateKeywords), $domainname))
|
309 |
{
|
310 |
if(!empty($domainname))
|
311 |
{
|
312 |
+
if(isset($arrNegativeKeywords) && is_array($arrNegativeKeywords) && count($arrNegativeKeywords)){
|
313 |
$domainname = preg_replace($this->sfsi_plus_regex_forNegative_keywords($arrNegativeKeywords), '', $domainname);
|
314 |
$explode = explode(".", $domainname);
|
315 |
$domainname = @$explode[0];
|
libs/controllers/sfsi_frontpopUp.php
CHANGED
@@ -185,7 +185,7 @@ function sfsi_FrontPopupDiv()
|
|
185 |
$icons= unserialize($sfsi_section1_options['sfsi_custom_files']);
|
186 |
if(is_array($icons)) $elements=array_keys($icons);
|
187 |
$cnt=0;
|
188 |
-
$total=count($custom_icons_order);
|
189 |
if(!empty($icons) && is_array($icons)) :
|
190 |
foreach($icons as $cn=>$c_icons)
|
191 |
{
|
185 |
$icons= unserialize($sfsi_section1_options['sfsi_custom_files']);
|
186 |
if(is_array($icons)) $elements=array_keys($icons);
|
187 |
$cnt=0;
|
188 |
+
$total=isset($custom_icons_order) && is_array($custom_icons_order)? count($custom_icons_order):0;
|
189 |
if(!empty($icons) && is_array($icons)) :
|
190 |
foreach($icons as $cn=>$c_icons)
|
191 |
{
|
libs/controllers/sfsi_iconsUpload_contoller.php
CHANGED
@@ -290,7 +290,7 @@ function sfsi_UploadIcons()
|
|
290 |
$icons[] = $AccressImagePath;
|
291 |
|
292 |
$sec_options['sfsi_custom_files'] = serialize($icons);
|
293 |
-
$total_uploads = count($icons); end($icons); $key = key($icons);
|
294 |
update_option('sfsi_section1_options',serialize($sec_options));
|
295 |
die(json_encode(array('res'=>'success','img_path'=>$AccressImagePath,'element'=>$total_uploads,'key'=>$key)));
|
296 |
}
|
@@ -346,7 +346,7 @@ function sfsi_deleteIcons()
|
|
346 |
|
347 |
end($up_icons);
|
348 |
$key=(key($up_icons))? key($up_icons) :$custom_icon[1] ;
|
349 |
-
$total_uploads=count($up_icons);
|
350 |
|
351 |
update_option('sfsi_section1_options',serialize($sec_options1));
|
352 |
update_option('sfsi_section2_options',serialize($sec_options2));
|
290 |
$icons[] = $AccressImagePath;
|
291 |
|
292 |
$sec_options['sfsi_custom_files'] = serialize($icons);
|
293 |
+
$total_uploads = ( isset($icons) && is_array($icons) )?count($icons):0; end($icons); $key = key($icons);
|
294 |
update_option('sfsi_section1_options',serialize($sec_options));
|
295 |
die(json_encode(array('res'=>'success','img_path'=>$AccressImagePath,'element'=>$total_uploads,'key'=>$key)));
|
296 |
}
|
346 |
|
347 |
end($up_icons);
|
348 |
$key=(key($up_icons))? key($up_icons) :$custom_icon[1] ;
|
349 |
+
$total_uploads=(isset($up_icons) && is_array($up_icons))?count($up_icons):0;
|
350 |
|
351 |
update_option('sfsi_section1_options',serialize($sec_options1));
|
352 |
update_option('sfsi_section2_options',serialize($sec_options2));
|
libs/sfsi_install_uninstall.php
CHANGED
@@ -12,7 +12,7 @@ function sfsi_update_plugin()
|
|
12 |
}
|
13 |
|
14 |
//Install version
|
15 |
-
update_option("sfsi_pluginVersion", "2.
|
16 |
|
17 |
if(!get_option('sfsi_serverphpVersionnotification'))
|
18 |
{
|
12 |
}
|
13 |
|
14 |
//Install version
|
15 |
+
update_option("sfsi_pluginVersion", "2.05");
|
16 |
|
17 |
if(!get_option('sfsi_serverphpVersionnotification'))
|
18 |
{
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: socialdude
|
3 |
Tags: social media, share, buttons, social widget, icons, share icons, share buttons, sharing icons, sharing buttons, social share, sharing, social sharing
|
4 |
Requires at least: 2.8
|
5 |
-
Tested up to: 4.9.
|
6 |
-
Stable tag: 2.0.
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -65,7 +65,7 @@ We released a Premium Plugin with many more exciting features:
|
|
65 |
- **Friendly support** in case you're stuck
|
66 |
- **Many more settings and options** for your social media network icons
|
67 |
|
68 |
-
Have a look at the [Premium Plugin features]
|
69 |
|
70 |
|
71 |
== Installation ==
|
@@ -275,6 +275,9 @@ You cannot use the same plugin twice, however you can install both the USM as we
|
|
275 |
|
276 |
== Changelog ==
|
277 |
|
|
|
|
|
|
|
278 |
= 2.0.4 =
|
279 |
* Corrected missing ? in shortcode
|
280 |
|
@@ -712,5 +715,5 @@ You cannot use the same plugin twice, however you can install both the USM as we
|
|
712 |
|
713 |
== Upgrade Notice ==
|
714 |
|
715 |
-
= 2.0.
|
716 |
Please upgrade
|
2 |
Contributors: socialdude
|
3 |
Tags: social media, share, buttons, social widget, icons, share icons, share buttons, sharing icons, sharing buttons, social share, sharing, social sharing
|
4 |
Requires at least: 2.8
|
5 |
+
Tested up to: 4.9.8
|
6 |
+
Stable tag: 2.0.5
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
65 |
- **Friendly support** in case you're stuck
|
66 |
- **Many more settings and options** for your social media network icons
|
67 |
|
68 |
+
Have a look at the [Premium Plugin features](https://www.ultimatelysocial.com/usm-premium/)
|
69 |
|
70 |
|
71 |
== Installation ==
|
275 |
|
276 |
== Changelog ==
|
277 |
|
278 |
+
= 2.0.5 =
|
279 |
+
* Issue with click on icons on mobile fixed
|
280 |
+
|
281 |
= 2.0.4 =
|
282 |
* Corrected missing ? in shortcode
|
283 |
|
715 |
|
716 |
== Upgrade Notice ==
|
717 |
|
718 |
+
= 2.0.5 =
|
719 |
Please upgrade
|
ultimate_social_media_icons.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://ultimatelysocial.com
|
|
5 |
Description: Easy to use and 100% FREE social media plugin which adds social media icons to your website with tons of customization features!.
|
6 |
Author: UltimatelySocial
|
7 |
Author URI: http://ultimatelysocial.com
|
8 |
-
Version: 2.0.
|
9 |
License: GPLv2 or later
|
10 |
*/
|
11 |
|
@@ -57,7 +57,7 @@ register_activation_hook(__FILE__, 'sfsi_activate_plugin' );
|
|
57 |
register_deactivation_hook(__FILE__, 'sfsi_deactivate_plugin');
|
58 |
register_uninstall_hook(__FILE__, 'sfsi_Unistall_plugin');
|
59 |
|
60 |
-
if(!get_option('sfsi_pluginVersion') || get_option('sfsi_pluginVersion') < 2.
|
61 |
{
|
62 |
add_action("init", "sfsi_update_plugin");
|
63 |
}
|
5 |
Description: Easy to use and 100% FREE social media plugin which adds social media icons to your website with tons of customization features!.
|
6 |
Author: UltimatelySocial
|
7 |
Author URI: http://ultimatelysocial.com
|
8 |
+
Version: 2.0.5
|
9 |
License: GPLv2 or later
|
10 |
*/
|
11 |
|
57 |
register_deactivation_hook(__FILE__, 'sfsi_deactivate_plugin');
|
58 |
register_uninstall_hook(__FILE__, 'sfsi_Unistall_plugin');
|
59 |
|
60 |
+
if(!get_option('sfsi_pluginVersion') || get_option('sfsi_pluginVersion') < 2.05)
|
61 |
{
|
62 |
add_action("init", "sfsi_update_plugin");
|
63 |
}
|