Version Description
- Info added that url shortener is available in premium plugin
- Non numeric value warning fixed
- Templates with no head issue fixed
Download this release
Release Info
Developer | socialdude |
Plugin | Social Share Icons & Social Share Buttons |
Version | 2.6.7 |
Comparing to | |
See all releases |
Code changes from version 2.6.6 to 2.6.7
- libs/controllers/sfsi_frontpopUp.php +1 -1
- libs/sfsi_install_uninstall.php +14 -4
- readme.txt +11 -5
- ultimate_social_media_icons.php +2 -2
- views/sfsi_option_view2.php +1 -1
libs/controllers/sfsi_frontpopUp.php
CHANGED
@@ -37,7 +37,7 @@ function sfsi_plus_check_PopUp($content)
|
|
37 |
/* check for pop times */
|
38 |
if($sfsi_plus_section7_options['sfsi_plus_Shown_pop']=="once")
|
39 |
{
|
40 |
-
$time_popUp = $sfsi_plus_section7_options['sfsi_plus_Shown_popupOnceTime'];
|
41 |
$time_popUp = $time_popUp*1000;
|
42 |
ob_start();?>
|
43 |
|
37 |
/* check for pop times */
|
38 |
if($sfsi_plus_section7_options['sfsi_plus_Shown_pop']=="once")
|
39 |
{
|
40 |
+
$time_popUp = (int)$sfsi_plus_section7_options['sfsi_plus_Shown_popupOnceTime'];
|
41 |
$time_popUp = $time_popUp*1000;
|
42 |
ob_start();?>
|
43 |
|
libs/sfsi_install_uninstall.php
CHANGED
@@ -12,7 +12,7 @@ function sfsi_plus_update_plugin()
|
|
12 |
}
|
13 |
|
14 |
//Install version
|
15 |
-
update_option("sfsi_plus_pluginVersion", "2.
|
16 |
|
17 |
if(!get_option('sfsi_plus_serverphpVersionnotification'))
|
18 |
{
|
@@ -546,7 +546,12 @@ function sfsi_plus_Unistall_plugin()
|
|
546 |
delete_option('sfsi_plus_serverphpVersionnotification');
|
547 |
|
548 |
delete_option('widget_sfsi-plus-widget');
|
549 |
-
delete_option('widget_sfsiplus_subscriber_widget');
|
|
|
|
|
|
|
|
|
|
|
550 |
}
|
551 |
/* end function */
|
552 |
/* check CUrl */
|
@@ -662,9 +667,14 @@ function sfsi_plus_check_wp_head() {
|
|
662 |
$path=pathinfo($_SERVER['REQUEST_URI']);
|
663 |
if($path['basename']=="themes.php" || $path['basename']=="theme-editor.php" || $path['basename']=="admin.php?page=sfsi-plus-options")
|
664 |
{
|
665 |
-
|
|
|
|
|
|
|
|
|
|
|
666 |
|
667 |
-
|
668 |
}
|
669 |
}
|
670 |
/* admin notice if wp_footer is missing in active theme */
|
12 |
}
|
13 |
|
14 |
//Install version
|
15 |
+
update_option("sfsi_plus_pluginVersion", "2.67");
|
16 |
|
17 |
if(!get_option('sfsi_plus_serverphpVersionnotification'))
|
18 |
{
|
546 |
delete_option('sfsi_plus_serverphpVersionnotification');
|
547 |
|
548 |
delete_option('widget_sfsi-plus-widget');
|
549 |
+
delete_option('widget_sfsiplus_subscriber_widget');
|
550 |
+
|
551 |
+
delete_option('fs_active_plugins');
|
552 |
+
delete_option('fs_accounts');
|
553 |
+
delete_option('fs_api_cache');
|
554 |
+
delete_option('fs_debug_mode');
|
555 |
}
|
556 |
/* end function */
|
557 |
/* check CUrl */
|
667 |
$path=pathinfo($_SERVER['REQUEST_URI']);
|
668 |
if($path['basename']=="themes.php" || $path['basename']=="theme-editor.php" || $path['basename']=="admin.php?page=sfsi-plus-options")
|
669 |
{
|
670 |
+
$currentTheme = wp_get_theme();
|
671 |
+
|
672 |
+
if(isset($currentTheme) && !empty($currentTheme) && $currentTheme->get( 'Name' ) != "Customizr"){
|
673 |
+
|
674 |
+
echo "<div class=\"error\" ><p>". __( 'Error : Please fix your theme to make plugins work correctly. Go to the Theme Editor and insert the following string:', SFSI_PLUS_DOMAIN )." <?php wp_head(); ?> ".__('Please enter it just before the following line of your header.php file:',SFSI_PLUS_DOMAIN)." </head> ".__('Go to your theme editor: ',SFSI_PLUS_DOMAIN)."<a href=\"theme-editor.php\">".__('click here', SFSI_PLUS_DOMAIN )."</a>.</p></div>";
|
675 |
+
}
|
676 |
|
677 |
+
}
|
678 |
}
|
679 |
}
|
680 |
/* admin notice if wp_footer is missing in active theme */
|
readme.txt
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
-
===
|
2 |
Contributors: socialdude
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZWYMA8LFHGHCC
|
4 |
-
Tags:
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.8
|
7 |
-
Stable tag: 2.6.
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
|
12 |
|
13 |
== Description ==
|
14 |
|
@@ -457,6 +457,12 @@ The premium plugin offrs many more buttons from other social media platforms suc
|
|
457 |
|
458 |
== Changelog ==
|
459 |
|
|
|
|
|
|
|
|
|
|
|
|
|
460 |
= 2.6.6 =
|
461 |
* Incorrect error messages removed
|
462 |
* Better formatting of socialshare review bar
|
@@ -700,5 +706,5 @@ The premium plugin offrs many more buttons from other social media platforms suc
|
|
700 |
|
701 |
== Upgrade Notice ==
|
702 |
|
703 |
-
= 2.6.
|
704 |
* Please update
|
1 |
+
=== Share Buttons ===
|
2 |
Contributors: socialdude
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZWYMA8LFHGHCC
|
4 |
+
Tags: Share, sharing, share buttons, share button, social media, icons, buttons, sharing buttons, sharing icons, social media icons
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.8
|
7 |
+
Stable tag: 2.6.7
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
Share buttons to share your site on social media
|
12 |
|
13 |
== Description ==
|
14 |
|
457 |
|
458 |
== Changelog ==
|
459 |
|
460 |
+
|
461 |
+
= 2.6.7 =
|
462 |
+
* Info added that url shortener is available in premium plugin
|
463 |
+
* Non numeric value warning fixed
|
464 |
+
* Templates with no head issue fixed
|
465 |
+
|
466 |
= 2.6.6 =
|
467 |
* Incorrect error messages removed
|
468 |
* Better formatting of socialshare review bar
|
706 |
|
707 |
== Upgrade Notice ==
|
708 |
|
709 |
+
= 2.6.7 =
|
710 |
* Please update
|
ultimate_social_media_icons.php
CHANGED
@@ -7,7 +7,7 @@ Author: UltimatelySocial
|
|
7 |
Text Domain: ultimate-social-media-plus
|
8 |
Domain Path: /languages
|
9 |
Author URI: http://ultimatelysocial.com
|
10 |
-
Version: 2.6.
|
11 |
License: GPLv2
|
12 |
*/
|
13 |
|
@@ -70,7 +70,7 @@ register_deactivation_hook(__FILE__, 'sfsi_plus_deactivate_plugin');
|
|
70 |
//register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
71 |
|
72 |
/*Plugin version setup*/
|
73 |
-
if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 2.
|
74 |
{
|
75 |
add_action("init", "sfsi_plus_update_plugin");
|
76 |
}
|
7 |
Text Domain: ultimate-social-media-plus
|
8 |
Domain Path: /languages
|
9 |
Author URI: http://ultimatelysocial.com
|
10 |
+
Version: 2.6.7
|
11 |
License: GPLv2
|
12 |
*/
|
13 |
|
70 |
//register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
71 |
|
72 |
/*Plugin version setup*/
|
73 |
+
if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 2.67)
|
74 |
{
|
75 |
add_action("init", "sfsi_plus_update_plugin");
|
76 |
}
|
views/sfsi_option_view2.php
CHANGED
@@ -356,7 +356,7 @@
|
|
356 |
<?php if($option2['sfsi_plus_premium_twitter_box'] =='yes') { ?>
|
357 |
<div class= "sfsi_plus_new_prmium_follw">
|
358 |
<p>
|
359 |
-
<b><?php _e( 'New: ', SFSI_PLUS_DOMAIN ); ?></b><?php _e(
|
360 |
</p>
|
361 |
</div>
|
362 |
<?php } ?>
|
356 |
<?php if($option2['sfsi_plus_premium_twitter_box'] =='yes') { ?>
|
357 |
<div class= "sfsi_plus_new_prmium_follw">
|
358 |
<p>
|
359 |
+
<b><?php _e( 'New: ', SFSI_PLUS_DOMAIN ); ?></b><?php _e( "Tweeting becomes really fun in the Premium Plugin – you can insert tags to automatically pull the title of the story & link to the story, attach pictures & snippets to the Tweets ( 'Twitter cards') and user Url-shorteners, all leading to more Tweets and traffic for your site!. ", SFSI_PLUS_DOMAIN ); ?><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=better_tweets&utm_medium=banner" target="_blank"><?php _e( 'See all features', SFSI_PLUS_DOMAIN ); ?></a>
|
360 |
</p>
|
361 |
</div>
|
362 |
<?php } ?>
|