Version Description
- Saving different languages for the social icons sometimes didn't work - fixed now
Download this release
Release Info
Developer | socialdude |
Plugin | Social Share Icons & Social Share Buttons |
Version | 2.8.9 |
Comparing to | |
See all releases |
Code changes from version 2.8.8 to 2.8.9
- js/custom-admin.js +3 -1
- libs/controllers/sfsi_buttons_controller.php +28 -26
- libs/controllers/sfsiocns_OnPosts.php +3 -1
- libs/sfsi_install_uninstall.php +17 -6
- libs/sfsi_widget.php +3 -3
- readme.txt +5 -2
- ultimate_social_media_icons.php +2 -2
- views/sfsi_option_view5.php +7 -1
js/custom-admin.js
CHANGED
@@ -524,7 +524,9 @@ function sfsi_plus_update_step5()
|
|
524 |
facebookicon = SFSI("#sfsi_plus_facebook_icons_language").val(),
|
525 |
twittericon = SFSI("#sfsi_plus_twitter_icons_language").val(),
|
526 |
googleicon = SFSI("#sfsi_plus_google_icons_language").val(),
|
527 |
-
|
|
|
|
|
528 |
SFSI(".sfsiplus_custom_iconOrder").each(function()
|
529 |
{
|
530 |
h.push({
|
524 |
facebookicon = SFSI("#sfsi_plus_facebook_icons_language").val(),
|
525 |
twittericon = SFSI("#sfsi_plus_twitter_icons_language").val(),
|
526 |
googleicon = SFSI("#sfsi_plus_google_icons_language").val(),
|
527 |
+
|
528 |
+
lang = SFSI("#sfsi_plus_icons_language").val(), o = SFSI("input[name='sfsi_plus_icons_ClickPageOpen']:checked").val(), a = SFSI("input[name='sfsi_plus_icons_float']:checked").val(), dsb = SFSI("input[name='sfsi_plus_disable_floaticons']:checked").val(), dsbv = SFSI("input[name='sfsi_plus_disable_viewport']:checked").val(), r = SFSI("#sfsi_plus_icons_floatPosition").val(), c = SFSI("input[name='sfsi_plus_icons_stick']:checked").val(), p = SFSI("#sfsi_plus_rssIcon_order").attr("data-index"), _ = SFSI("#sfsi_plus_emailIcon_order").attr("data-index"), l = SFSI("#sfsi_plus_googleIcon_order").attr("data-index"), S = SFSI("#sfsi_plus_facebookIcon_order").attr("data-index"), u = SFSI("#sfsi_plus_twitterIcon_order").attr("data-index"), f = SFSI("#sfsi_plus_youtubeIcon_order").attr("data-index"), d = SFSI("#sfsi_plus_pinterestIcon_order").attr("data-index"), I = SFSI("#sfsi_plus_instagramIcon_order").attr("data-index"), m = SFSI("#sfsi_plus_shareIcon_order").attr("data-index"), F = SFSI("#sfsi_plus_linkedinIcon_order").attr("data-index"), houzzOrder = SFSI("#sfsi_plus_houzzIcon_order").attr("data-index"), h = new Array();
|
529 |
+
|
530 |
SFSI(".sfsiplus_custom_iconOrder").each(function()
|
531 |
{
|
532 |
h.push({
|
libs/controllers/sfsi_buttons_controller.php
CHANGED
@@ -392,43 +392,45 @@ function sfsi_plus_options_updater5()
|
|
392 |
if ( !wp_verify_nonce( $_POST['nonce'], "update_plus_step5")) {
|
393 |
echo json_encode(array("wrong_nonce")); exit;
|
394 |
}
|
395 |
-
$sfsi_plus_icons_size = isset($_POST["sfsi_plus_icons_size"])
|
396 |
-
$sfsi_plus_icons_spacing = isset($_POST["sfsi_plus_icons_spacing"])
|
397 |
$sfsi_plus_icons_Alignment = isset($_POST["sfsi_plus_icons_Alignment"]) ? $_POST["sfsi_plus_icons_Alignment"] : 'center';
|
398 |
-
$sfsi_plus_icons_perRow = isset($_POST["sfsi_plus_icons_perRow"])
|
399 |
|
400 |
-
$sfsi_plus_icons_language = isset($_POST["sfsi_plus_icons_language"])
|
401 |
$sfsi_plus_icons_ClickPageOpen = isset($_POST["sfsi_plus_icons_ClickPageOpen"]) ? $_POST["sfsi_plus_icons_ClickPageOpen"] : 'no';
|
402 |
-
$sfsi_plus_icons_float = isset($_POST["sfsi_plus_icons_float"])
|
403 |
-
$sfsi_plus_disable_floaticons = isset($_POST["sfsi_plus_disable_floaticons"])
|
404 |
-
$sfsi_plus_disable_viewport = isset($_POST["sfsi_plus_disable_viewport"])
|
405 |
$sfsi_plus_icons_floatPosition = isset($_POST["sfsi_plus_icons_floatPosition"]) ? $_POST["sfsi_plus_icons_floatPosition"] : 'center-right';
|
406 |
-
$sfsi_plus_icons_stick = isset($_POST["sfsi_plus_icons_stick"])
|
407 |
-
$sfsi_plus_rss_MouseOverText = isset($_POST["sfsi_plus_rss_MouseOverText"])
|
408 |
$sfsi_plus_email_MouseOverText = isset($_POST["sfsi_plus_email_MouseOverText"]) ? $_POST["sfsi_plus_email_MouseOverText"] : '';
|
409 |
-
|
410 |
-
$
|
411 |
-
$
|
412 |
-
$
|
|
|
413 |
$sfsi_plus_pinterest_MouseOverText = isset($_POST["sfsi_plus_pinterest_MouseOverText"]) ? $_POST["sfsi_plus_pinterest_MouseOverText"] : '';
|
414 |
$sfsi_plus_instagram_MouseOverText = isset($_POST["sfsi_plus_instagram_MouseOverText"]) ? $_POST["sfsi_plus_instagram_MouseOverText"] : '';
|
415 |
-
$sfsi_plus_houzz_MouseOverText = isset($_POST["sfsi_plus_houzz_MouseOverText"])
|
416 |
-
$sfsi_plus_youtube_MouseOverText = isset($_POST["sfsi_plus_youtube_MouseOverText"])
|
417 |
-
$sfsi_plus_share_MouseOverText = isset($_POST["sfsi_plus_share_MouseOverText"])
|
418 |
-
$sfsi_plus_custom_orders = isset($_POST["sfsi_plus_custom_orders"])
|
419 |
|
420 |
|
421 |
-
$sfsi_plus_rssIcon_order = isset($_POST["sfsi_plus_rssIcon_order"])
|
422 |
-
$sfsi_plus_emailIcon_order = isset($_POST["sfsi_plus_emailIcon_order"])
|
423 |
-
$sfsi_plus_facebookIcon_order = isset($_POST["sfsi_plus_facebookIcon_order"])
|
424 |
-
$sfsi_plus_googleIcon_order = isset($_POST["sfsi_plus_googleIcon_order"])
|
425 |
-
$sfsi_plus_twitterIcon_order = isset($_POST["sfsi_plus_twitterIcon_order"])
|
426 |
-
$sfsi_plus_shareIcon_order = isset($_POST["sfsi_plus_shareIcon_order"])
|
427 |
-
$sfsi_plus_youtubeIcon_order = isset($_POST["sfsi_plus_youtubeIcon_order"])
|
428 |
$sfsi_plus_pinterestIcon_order = isset($_POST["sfsi_plus_pinterestIcon_order"]) ? $_POST["sfsi_plus_pinterestIcon_order"] : '8';
|
429 |
-
$sfsi_plus_linkedinIcon_order = isset($_POST["sfsi_plus_linkedinIcon_order"])
|
430 |
$sfsi_plus_instagramIcon_order = isset($_POST["sfsi_plus_instagramIcon_order"]) ? $_POST["sfsi_plus_instagramIcon_order"] : '10';
|
431 |
-
$sfsi_plus_houzzIcon_order = isset($_POST["sfsi_plus_houzzIcon_order"])
|
|
|
432 |
$sfsi_plus_custom_MouseOverTexts = isset($_POST["sfsi_plus_custom_MouseOverTexts"]) ? serialize($_POST["sfsi_plus_custom_MouseOverTexts"]):'';
|
433 |
|
434 |
$sfsi_plus_follow_icons_language = isset($_POST["sfsi_plus_follow_icons_language"])
|
392 |
if ( !wp_verify_nonce( $_POST['nonce'], "update_plus_step5")) {
|
393 |
echo json_encode(array("wrong_nonce")); exit;
|
394 |
}
|
395 |
+
$sfsi_plus_icons_size = isset($_POST["sfsi_plus_icons_size"]) ? $_POST["sfsi_plus_icons_size"] : '51';
|
396 |
+
$sfsi_plus_icons_spacing = isset($_POST["sfsi_plus_icons_spacing"]) ? $_POST["sfsi_plus_icons_spacing"] : '2';
|
397 |
$sfsi_plus_icons_Alignment = isset($_POST["sfsi_plus_icons_Alignment"]) ? $_POST["sfsi_plus_icons_Alignment"] : 'center';
|
398 |
+
$sfsi_plus_icons_perRow = isset($_POST["sfsi_plus_icons_perRow"]) ? $_POST["sfsi_plus_icons_perRow"] : '5';
|
399 |
|
400 |
+
$sfsi_plus_icons_language = isset($_POST["sfsi_plus_icons_language"]) ? $_POST["sfsi_plus_icons_language"] : 'en_US';
|
401 |
$sfsi_plus_icons_ClickPageOpen = isset($_POST["sfsi_plus_icons_ClickPageOpen"]) ? $_POST["sfsi_plus_icons_ClickPageOpen"] : 'no';
|
402 |
+
$sfsi_plus_icons_float = isset($_POST["sfsi_plus_icons_float"]) ? $_POST["sfsi_plus_icons_float"] : 'no';
|
403 |
+
$sfsi_plus_disable_floaticons = isset($_POST["sfsi_plus_disable_floaticons"]) ? $_POST["sfsi_plus_disable_floaticons"] : 'no';
|
404 |
+
$sfsi_plus_disable_viewport = isset($_POST["sfsi_plus_disable_viewport"]) ? $_POST["sfsi_plus_disable_viewport"] : 'no';
|
405 |
$sfsi_plus_icons_floatPosition = isset($_POST["sfsi_plus_icons_floatPosition"]) ? $_POST["sfsi_plus_icons_floatPosition"] : 'center-right';
|
406 |
+
$sfsi_plus_icons_stick = isset($_POST["sfsi_plus_icons_stick"]) ? $_POST["sfsi_plus_icons_stick"] : 'no';
|
407 |
+
$sfsi_plus_rss_MouseOverText = isset($_POST["sfsi_plus_rss_MouseOverText"]) ? $_POST["sfsi_plus_rss_MouseOverText"] : '';
|
408 |
$sfsi_plus_email_MouseOverText = isset($_POST["sfsi_plus_email_MouseOverText"]) ? $_POST["sfsi_plus_email_MouseOverText"] : '';
|
409 |
+
|
410 |
+
$sfsi_plus_twitter_MouseOverText = isset($_POST["sfsi_plus_twitter_MouseOverText"]) ? $_POST["sfsi_plus_twitter_MouseOverText"] : '';
|
411 |
+
$sfsi_plus_facebook_MouseOverText = isset($_POST["sfsi_plus_facebook_MouseOverText"]) ? $_POST["sfsi_plus_facebook_MouseOverText"] : '';
|
412 |
+
$sfsi_plus_google_MouseOverText = isset($_POST["sfsi_plus_google_MouseOverText"]) ? $_POST["sfsi_plus_google_MouseOverText"] : '';
|
413 |
+
$sfsi_plus_linkedIn_MouseOverText = isset($_POST["sfsi_plus_linkedIn_MouseOverText"]) ? $_POST["sfsi_plus_linkedIn_MouseOverText"] : '';
|
414 |
$sfsi_plus_pinterest_MouseOverText = isset($_POST["sfsi_plus_pinterest_MouseOverText"]) ? $_POST["sfsi_plus_pinterest_MouseOverText"] : '';
|
415 |
$sfsi_plus_instagram_MouseOverText = isset($_POST["sfsi_plus_instagram_MouseOverText"]) ? $_POST["sfsi_plus_instagram_MouseOverText"] : '';
|
416 |
+
$sfsi_plus_houzz_MouseOverText = isset($_POST["sfsi_plus_houzz_MouseOverText"]) ? $_POST["sfsi_plus_houzz_MouseOverText"] : '';
|
417 |
+
$sfsi_plus_youtube_MouseOverText = isset($_POST["sfsi_plus_youtube_MouseOverText"]) ? $_POST["sfsi_plus_youtube_MouseOverText"] : '';
|
418 |
+
$sfsi_plus_share_MouseOverText = isset($_POST["sfsi_plus_share_MouseOverText"]) ? $_POST["sfsi_plus_share_MouseOverText"] : '';
|
419 |
+
$sfsi_plus_custom_orders = isset($_POST["sfsi_plus_custom_orders"]) ? serialize($_POST["sfsi_plus_custom_orders"]) : '';
|
420 |
|
421 |
|
422 |
+
$sfsi_plus_rssIcon_order = isset($_POST["sfsi_plus_rssIcon_order"]) ? $_POST["sfsi_plus_rssIcon_order"] : '1';
|
423 |
+
$sfsi_plus_emailIcon_order = isset($_POST["sfsi_plus_emailIcon_order"]) ? $_POST["sfsi_plus_emailIcon_order"] : '2';
|
424 |
+
$sfsi_plus_facebookIcon_order = isset($_POST["sfsi_plus_facebookIcon_order"]) ? $_POST["sfsi_plus_facebookIcon_order"] : '3';
|
425 |
+
$sfsi_plus_googleIcon_order = isset($_POST["sfsi_plus_googleIcon_order"]) ? $_POST["sfsi_plus_googleIcon_order"] : '4';
|
426 |
+
$sfsi_plus_twitterIcon_order = isset($_POST["sfsi_plus_twitterIcon_order"]) ? $_POST["sfsi_plus_twitterIcon_order"] : '5';
|
427 |
+
$sfsi_plus_shareIcon_order = isset($_POST["sfsi_plus_shareIcon_order"]) ? $_POST["sfsi_plus_shareIcon_order"] : '6';
|
428 |
+
$sfsi_plus_youtubeIcon_order = isset($_POST["sfsi_plus_youtubeIcon_order"]) ? $_POST["sfsi_plus_youtubeIcon_order"] : '7';
|
429 |
$sfsi_plus_pinterestIcon_order = isset($_POST["sfsi_plus_pinterestIcon_order"]) ? $_POST["sfsi_plus_pinterestIcon_order"] : '8';
|
430 |
+
$sfsi_plus_linkedinIcon_order = isset($_POST["sfsi_plus_linkedinIcon_order"]) ? $_POST["sfsi_plus_linkedinIcon_order"] : '9';
|
431 |
$sfsi_plus_instagramIcon_order = isset($_POST["sfsi_plus_instagramIcon_order"]) ? $_POST["sfsi_plus_instagramIcon_order"] : '10';
|
432 |
+
$sfsi_plus_houzzIcon_order = isset($_POST["sfsi_plus_houzzIcon_order"]) ? $_POST["sfsi_plus_houzzIcon_order"] : '11';
|
433 |
+
|
434 |
$sfsi_plus_custom_MouseOverTexts = isset($_POST["sfsi_plus_custom_MouseOverTexts"]) ? serialize($_POST["sfsi_plus_custom_MouseOverTexts"]):'';
|
435 |
|
436 |
$sfsi_plus_follow_icons_language = isset($_POST["sfsi_plus_follow_icons_language"])
|
libs/controllers/sfsiocns_OnPosts.php
CHANGED
@@ -306,6 +306,7 @@ function sfsi_plus_footer_script()
|
|
306 |
$sfsi_section1= unserialize(get_option('sfsi_plus_section1_options',false));
|
307 |
$sfsi_section6= unserialize(get_option('sfsi_plus_section6_options',false));
|
308 |
$sfsi_section8= unserialize(get_option('sfsi_plus_section8_options',false));
|
|
|
309 |
$sfsi_plus_section5_options = unserialize(get_option('sfsi_plus_section5_options',false));
|
310 |
|
311 |
if(
|
@@ -367,8 +368,9 @@ function sfsi_plus_footer_script()
|
|
367 |
<!--google share and like and e js -->
|
368 |
<script type="text/javascript">
|
369 |
window.___gcfg = {
|
370 |
-
lang: '<?php echo $icons_language
|
371 |
};
|
|
|
372 |
(function() {
|
373 |
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
|
374 |
po.src = 'https://apis.google.com/js/plusone.js';
|
306 |
$sfsi_section1= unserialize(get_option('sfsi_plus_section1_options',false));
|
307 |
$sfsi_section6= unserialize(get_option('sfsi_plus_section6_options',false));
|
308 |
$sfsi_section8= unserialize(get_option('sfsi_plus_section8_options',false));
|
309 |
+
|
310 |
$sfsi_plus_section5_options = unserialize(get_option('sfsi_plus_section5_options',false));
|
311 |
|
312 |
if(
|
368 |
<!--google share and like and e js -->
|
369 |
<script type="text/javascript">
|
370 |
window.___gcfg = {
|
371 |
+
lang: '<?php echo $icons_language; ?>'
|
372 |
};
|
373 |
+
|
374 |
(function() {
|
375 |
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
|
376 |
po.src = 'https://apis.google.com/js/plusone.js';
|
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 |
{
|
@@ -111,13 +111,24 @@ function sfsi_plus_update_plugin()
|
|
111 |
|
112 |
/*Language icons*/
|
113 |
$option5 = unserialize(get_option('sfsi_plus_section5_options',false));
|
|
|
114 |
if(isset($option5) && !empty($option5))
|
115 |
{
|
116 |
-
$option5['sfsi_plus_follow_icons_language']
|
117 |
-
|
118 |
-
|
119 |
-
$option5['
|
120 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
|
122 |
if(!isset($option5['sfsi_plus_premium_size_box'])){
|
123 |
$option5['sfsi_plus_premium_size_box'] = 'no';
|
12 |
}
|
13 |
|
14 |
//Install version
|
15 |
+
update_option("sfsi_plus_pluginVersion", "2.89");
|
16 |
|
17 |
if(!get_option('sfsi_plus_serverphpVersionnotification'))
|
18 |
{
|
111 |
|
112 |
/*Language icons*/
|
113 |
$option5 = unserialize(get_option('sfsi_plus_section5_options',false));
|
114 |
+
|
115 |
if(isset($option5) && !empty($option5))
|
116 |
{
|
117 |
+
if(!isset($option5['sfsi_plus_follow_icons_language'])){
|
118 |
+
$option5['sfsi_plus_follow_icons_language'] = 'Follow_en_US';
|
119 |
+
}
|
120 |
+
if(!isset($option5['sfsi_plus_facebook_icons_language'])){
|
121 |
+
$option5['sfsi_plus_facebook_icons_language'] = 'Visit_us_en_US';
|
122 |
+
}
|
123 |
+
if(!isset($option5['sfsi_plus_twitter_icons_language'])){
|
124 |
+
$option5['sfsi_plus_twitter_icons_language'] = 'Visit_us_en_US';
|
125 |
+
}
|
126 |
+
if(!isset($option5['sfsi_plus_google_icons_language'])){
|
127 |
+
$option5['sfsi_plus_google_icons_language'] = 'Visit_us_en_US';
|
128 |
+
}
|
129 |
+
if(!isset($option5['sfsi_plus_icons_language'])){
|
130 |
+
$option5['sfsi_plus_icons_language'] = 'en_US';
|
131 |
+
}
|
132 |
|
133 |
if(!isset($option5['sfsi_plus_premium_size_box'])){
|
134 |
$option5['sfsi_plus_premium_size_box'] = 'no';
|
libs/sfsi_widget.php
CHANGED
@@ -577,12 +577,12 @@ function sfsi_plus_prepairIcons($icon_name,$is_front=0, $onpost="no", $fromPost
|
|
577 |
$facebook_icons_lang = $sfsi_plus_section5_options['sfsi_plus_facebook_icons_language'];
|
578 |
$visit_icon = SFSI_PLUS_DOCROOT.'/images/visit_icons/Visit_us_fb/icon_'.$facebook_icons_lang.'.png';
|
579 |
if(file_exists($visit_icon))
|
580 |
-
|
581 |
-
|
582 |
}
|
583 |
else
|
584 |
{
|
585 |
-
|
586 |
}
|
587 |
|
588 |
//$visit_iconDefault = $visit_iconsUrl."facebook.png";
|
577 |
$facebook_icons_lang = $sfsi_plus_section5_options['sfsi_plus_facebook_icons_language'];
|
578 |
$visit_icon = SFSI_PLUS_DOCROOT.'/images/visit_icons/Visit_us_fb/icon_'.$facebook_icons_lang.'.png';
|
579 |
if(file_exists($visit_icon))
|
580 |
+
{
|
581 |
+
$visit_icon = $visit_iconsUrl."Visit_us_fb/icon_".$facebook_icons_lang.".png";
|
582 |
}
|
583 |
else
|
584 |
{
|
585 |
+
$visit_icon = $visit_iconsUrl."fb.png";
|
586 |
}
|
587 |
|
588 |
//$visit_iconDefault = $visit_iconsUrl."facebook.png";
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: socialsharepro
|
|
3 |
Tags: Share, sharing, share buttons, share button, share social media, share icons, social buttons, sharing buttons, sharing icons, social media icons, social share, social sharing
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 4.9.4
|
6 |
-
Stable tag: 2.8.
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -444,6 +444,9 @@ The premium plugin offrs many more social buttons from other social media platfo
|
|
444 |
|
445 |
== Changelog ==
|
446 |
|
|
|
|
|
|
|
447 |
= 2.8.8 =
|
448 |
* Optimized code for setting value for "adding_plustags" which caused issues on some sites
|
449 |
|
@@ -754,5 +757,5 @@ The premium plugin offrs many more social buttons from other social media platfo
|
|
754 |
|
755 |
== Upgrade Notice ==
|
756 |
|
757 |
-
= 2.8.
|
758 |
* Please update
|
3 |
Tags: Share, sharing, share buttons, share button, share social media, share icons, social buttons, sharing buttons, sharing icons, social media icons, social share, social sharing
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 4.9.4
|
6 |
+
Stable tag: 2.8.9
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
444 |
|
445 |
== Changelog ==
|
446 |
|
447 |
+
= 2.8.9 =
|
448 |
+
* Saving different languages for the social icons sometimes didn't work - fixed now
|
449 |
+
|
450 |
= 2.8.8 =
|
451 |
* Optimized code for setting value for "adding_plustags" which caused issues on some sites
|
452 |
|
757 |
|
758 |
== Upgrade Notice ==
|
759 |
|
760 |
+
= 2.8.9 =
|
761 |
* Please update
|
ultimate_social_media_icons.php
CHANGED
@@ -7,7 +7,7 @@ Author: social share pro
|
|
7 |
Text Domain: ultimate-social-media-plus
|
8 |
Domain Path: /languages
|
9 |
Author URI: http://socialshare.pro/
|
10 |
-
Version: 2.8.
|
11 |
License: GPLv2
|
12 |
*/
|
13 |
|
@@ -93,7 +93,7 @@ register_deactivation_hook(__FILE__, 'sfsi_plus_deactivate_plugin');
|
|
93 |
//register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
94 |
|
95 |
/*Plugin version setup*/
|
96 |
-
if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 2.
|
97 |
{
|
98 |
add_action("init", "sfsi_plus_update_plugin");
|
99 |
}
|
7 |
Text Domain: ultimate-social-media-plus
|
8 |
Domain Path: /languages
|
9 |
Author URI: http://socialshare.pro/
|
10 |
+
Version: 2.8.9
|
11 |
License: GPLv2
|
12 |
*/
|
13 |
|
93 |
//register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
94 |
|
95 |
/*Plugin version setup*/
|
96 |
+
if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 2.89)
|
97 |
{
|
98 |
add_action("init", "sfsi_plus_update_plugin");
|
99 |
}
|
views/sfsi_option_view5.php
CHANGED
@@ -1,8 +1,12 @@
|
|
1 |
<?php
|
|
|
2 |
/* unserialize all saved option for section 5 options */
|
3 |
$icons = ($option1['sfsi_custom_files']) ? unserialize($option1['sfsi_custom_files']) : array() ;
|
|
|
4 |
$option3 = unserialize(get_option('sfsi_plus_section3_options',false));
|
|
|
5 |
$option5 = unserialize(get_option('sfsi_plus_section5_options',false));
|
|
|
6 |
$custom_icons_order = unserialize($option5['sfsi_plus_CustomIcons_order']);
|
7 |
$icons_order = array(
|
8 |
$option5['sfsi_plus_rssIcon_order'] =>'rss',
|
@@ -90,7 +94,7 @@
|
|
90 |
$option5['sfsi_plus_houzz_MouseOverText'] = (isset($option5['sfsi_plus_houzz_MouseOverText']))
|
91 |
? sanitize_text_field($option5['sfsi_plus_houzz_MouseOverText'])
|
92 |
: '';
|
93 |
-
|
94 |
? sanitize_text_field($option5['sfsi_plus_premium_size_box'])
|
95 |
: 'yes';
|
96 |
|
@@ -134,6 +138,7 @@
|
|
134 |
}
|
135 |
|
136 |
$option5 = unserialize(get_option('sfsi_plus_section5_options',false));
|
|
|
137 |
?>
|
138 |
<select name="<?php echo $name; ?>" id="<?php echo $name; ?>" data-iconUrl="<?php echo $visit_icon; ?>" class="<?php echo $name; ?>-preview lanOnchange">
|
139 |
<option value="<?php echo $follow; ?>_ar" <?php echo ($option5[$name]== $follow.'_ar') ? 'selected="selected"' : '' ; ?>>
|
@@ -343,6 +348,7 @@
|
|
343 |
<?php _e( 'Order of your icons', SFSI_PLUS_DOMAIN ); ?>
|
344 |
</h4>
|
345 |
|
|
|
346 |
<!-- icon drag drop section start here -->
|
347 |
<ul class="plus_share_icon_order" >
|
348 |
<?php
|
1 |
<?php
|
2 |
+
|
3 |
/* unserialize all saved option for section 5 options */
|
4 |
$icons = ($option1['sfsi_custom_files']) ? unserialize($option1['sfsi_custom_files']) : array() ;
|
5 |
+
|
6 |
$option3 = unserialize(get_option('sfsi_plus_section3_options',false));
|
7 |
+
|
8 |
$option5 = unserialize(get_option('sfsi_plus_section5_options',false));
|
9 |
+
|
10 |
$custom_icons_order = unserialize($option5['sfsi_plus_CustomIcons_order']);
|
11 |
$icons_order = array(
|
12 |
$option5['sfsi_plus_rssIcon_order'] =>'rss',
|
94 |
$option5['sfsi_plus_houzz_MouseOverText'] = (isset($option5['sfsi_plus_houzz_MouseOverText']))
|
95 |
? sanitize_text_field($option5['sfsi_plus_houzz_MouseOverText'])
|
96 |
: '';
|
97 |
+
$option5['sfsi_plus_premium_size_box'] = (isset($option5['sfsi_plus_premium_size_box']))
|
98 |
? sanitize_text_field($option5['sfsi_plus_premium_size_box'])
|
99 |
: 'yes';
|
100 |
|
138 |
}
|
139 |
|
140 |
$option5 = unserialize(get_option('sfsi_plus_section5_options',false));
|
141 |
+
|
142 |
?>
|
143 |
<select name="<?php echo $name; ?>" id="<?php echo $name; ?>" data-iconUrl="<?php echo $visit_icon; ?>" class="<?php echo $name; ?>-preview lanOnchange">
|
144 |
<option value="<?php echo $follow; ?>_ar" <?php echo ($option5[$name]== $follow.'_ar') ? 'selected="selected"' : '' ; ?>>
|
348 |
<?php _e( 'Order of your icons', SFSI_PLUS_DOMAIN ); ?>
|
349 |
</h4>
|
350 |
|
351 |
+
|
352 |
<!-- icon drag drop section start here -->
|
353 |
<ul class="plus_share_icon_order" >
|
354 |
<?php
|