Version Description
- Update: Removed Google icon
- Update: Nonce error in Q6 preview language icons corrected
Download this release
Release Info
Developer | socialdude |
Plugin | Social Share Icons & Social Share Buttons |
Version | 3.1.6 |
Comparing to | |
See all releases |
Code changes from version 3.1.5 to 3.1.6
- js/custom-admin.js +10 -29
- js/custom.js +2 -6
- libs/controllers/sfsi_buttons_controller.php +2 -30
- libs/controllers/sfsiocns_OnPosts.php +1 -14
- libs/sfsi_gutenberg_block.php +1 -10
- libs/sfsi_install_uninstall.php +7 -2
- readme.txt +7 -2
- ultimate_social_media_icons.php +2 -24
- views/sfsi_option_view1.php +0 -3
- views/sfsi_option_view2.php +2 -25
- views/sfsi_option_view4.php +0 -15
- views/sfsi_option_view5.php +2 -13
- views/sfsi_option_view8.php +0 -7
js/custom-admin.js
CHANGED
@@ -322,13 +322,12 @@ function sfsi_plus_update_step1()
|
|
322 |
{
|
323 |
var nonce = SFSI("#sfsi_plus_save1").attr("data-nonce");
|
324 |
global_error = 0, sfsiplus_beForeLoad(), sfsi_plus_depened_sections();
|
325 |
-
var s = !1, i = SFSI("input[name='sfsi_plus_rss_display']:checked").val(), e = SFSI("input[name='sfsi_plus_email_display']:checked").val(), t = SFSI("input[name='sfsi_plus_facebook_display']:checked").val(), n = SFSI("input[name='sfsi_plus_twitter_display']:checked").val(),
|
326 |
action:"plus_updateSrcn1",
|
327 |
sfsi_plus_rss_display:i,
|
328 |
sfsi_plus_email_display:e,
|
329 |
sfsi_plus_facebook_display:t,
|
330 |
sfsi_plus_twitter_display:n,
|
331 |
-
sfsi_plus_google_display:o,
|
332 |
sfsi_plus_youtube_display:r,
|
333 |
sfsi_plus_pinterest_display:c,
|
334 |
sfsi_plus_linkedin_display:p,
|
@@ -375,7 +374,7 @@ function sfsi_plus_update_step2()
|
|
375 |
var s = sfsi_plus_validationStep2();
|
376 |
if (!s) return global_error = 1, !1;
|
377 |
sfsiplus_beForeLoad();
|
378 |
-
var i = 1 == SFSI("input[name='sfsi_plus_rss_url']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_rss_url']").val(), e = 1 == SFSI("input[name='sfsi_plus_rss_icons']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_rss_icons']:checked").val(), t = 1 == SFSI("input[name='sfsi_plus_facebookPage_option']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_facebookPage_option']:checked").val(), n = 1 == SFSI("input[name='sfsi_plus_facebookLike_option']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_facebookLike_option']:checked").val(), o = 1 == SFSI("input[name='sfsi_plus_facebookShare_option']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_facebookShare_option']:checked").val(), a = SFSI("input[name='sfsi_plus_facebookPage_url']").val(), r = 1 == SFSI("input[name='sfsi_plus_twitter_followme']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_twitter_followme']:checked").val(), c = 1 == SFSI("input[name='sfsi_plus_twitter_followUserName']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_twitter_followUserName']").val(), p = 1 == SFSI("input[name='sfsi_plus_twitter_aboutPage']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_twitter_aboutPage']:checked").val(), _ = 1 == SFSI("input[name='sfsi_plus_twitter_page']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_twitter_page']:checked").val(), l = SFSI("input[name='sfsi_plus_twitter_pageURL']").val(), S = SFSI("textarea[name='sfsi_plus_twitter_aboutPageText']").val(),
|
379 |
tgShareChk = SFSI("input[name='sfsi_plus_telegramShare_option']:checked").val(),
|
380 |
tgShareChk = "undefined" !== typeof tgShareChk ? tgShareChk: "no",
|
381 |
tgMsgChk = SFSI("input[name='sfsi_plus_telegramMessage_option']:checked").val(),
|
@@ -436,10 +435,6 @@ function sfsi_plus_update_step2()
|
|
436 |
sfsi_plus_twitter_page:_,
|
437 |
sfsi_plus_twitter_pageURL:l,
|
438 |
sfsi_plus_twitter_aboutPageText:S,
|
439 |
-
sfsi_plus_google_page:u,
|
440 |
-
/*sfsi_plus_googleLike_option:f,*/
|
441 |
-
sfsi_plus_google_pageURL:d,
|
442 |
-
sfsi_plus_googleShare_option:I,
|
443 |
sfsi_plus_youtube_page:m,
|
444 |
sfsi_plus_youtube_pageUrl:F,
|
445 |
sfsi_plus_youtube_follow:h,
|
@@ -572,8 +567,7 @@ function sfsi_plus_showPreviewCounts()
|
|
572 |
s = 1) :SFSI("#sfsi_plus_rss_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_plus_email_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_email_countsDisplay").css("opacity", 1),
|
573 |
s = 1) :SFSI("#sfsi_plus_email_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_plus_facebook_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_facebook_countsDisplay").css("opacity", 1),
|
574 |
s = 1) :SFSI("#sfsi_plus_facebook_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_plus_twitter_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_twitter_countsDisplay").css("opacity", 1),
|
575 |
-
s = 1) :SFSI("#sfsi_plus_twitter_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='
|
576 |
-
s = 1) :SFSI("#sfsi_plus_google_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_plus_linkedIn_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_linkedIn_countsDisplay").css("opacity", 1),
|
577 |
s = 1) :SFSI("#sfsi_plus_linkedIn_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_plus_youtube_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_youtube_countsDisplay").css("opacity", 1),
|
578 |
s = 1) :SFSI("#sfsi_plus_youtube_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_plus_pinterest_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_pinterest_countsDisplay").css("opacity", 1),
|
579 |
s = 1) :SFSI("#sfsi_plus_pinterest_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_plus_instagram_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_instagram_countsDisplay").css("opacity", 1),
|
@@ -590,7 +584,7 @@ function sfsi_plus_update_step4()
|
|
590 |
var s = !1, i = sfsi_plus_validationStep4();
|
591 |
if (!i) return global_error = 1, !1;
|
592 |
sfsiplus_beForeLoad();
|
593 |
-
var e = SFSI("input[name='sfsi_plus_display_counts']:checked").val(), t = 1 == SFSI("input[name='sfsi_plus_email_countsDisplay']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_email_countsDisplay']:checked").val(), n = 1 == SFSI("input[name='sfsi_plus_email_countsFrom']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_email_countsFrom']:checked").val(), o = SFSI("input[name='sfsi_plus_email_manualCounts']").val(),
|
594 |
vkc = SFSI("input[name='sfsi_plus_vk_countsDisplay']:checked").val()||'no',
|
595 |
vkm = SFSI("input[name='sfsi_plus_vk_manualCounts']").val(),
|
596 |
tc = SFSI("input[name='sfsi_plus_telegram_countsDisplay']:checked").val()||'no',
|
@@ -620,10 +614,6 @@ function sfsi_plus_update_step4()
|
|
620 |
sfsiplus_tw_consumer_secret:I,
|
621 |
sfsiplus_tw_oauth_access_token:m,
|
622 |
sfsiplus_tw_oauth_access_token_secret:F,
|
623 |
-
sfsi_plus_google_countsDisplay:h,
|
624 |
-
sfsi_plus_google_countsFrom:v,
|
625 |
-
sfsi_plus_google_manualCounts:g,
|
626 |
-
sfsi_plus_google_api_key:a,
|
627 |
sfsi_plus_linkedIn_countsDisplay:D,
|
628 |
sfsi_plus_linkedIn_countsFrom:k,
|
629 |
sfsi_plus_linkedIn_manualCounts:y,
|
@@ -700,9 +690,8 @@ function sfsi_plus_update_step5()
|
|
700 |
followicon = SFSI("#sfsi_plus_follow_icons_language").val(),
|
701 |
facebookicon = SFSI("#sfsi_plus_facebook_icons_language").val(),
|
702 |
twittericon = SFSI("#sfsi_plus_twitter_icons_language").val(),
|
703 |
-
googleicon = SFSI("#sfsi_plus_google_icons_language").val(),
|
704 |
|
705 |
-
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"),
|
706 |
|
707 |
SFSI(".sfsiplus_custom_iconOrder").each(function()
|
708 |
{
|
@@ -711,7 +700,7 @@ function sfsi_plus_update_step5()
|
|
711 |
ele:SFSI(this).attr("element-id")
|
712 |
});
|
713 |
});
|
714 |
-
var v = 1 == SFSI("input[name='sfsi_plus_rss_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_rss_MouseOverText']").val(), g = 1 == SFSI("input[name='sfsi_plus_email_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_email_MouseOverText']").val(), k = 1 == SFSI("input[name='sfsi_plus_twitter_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_twitter_MouseOverText']").val(), y = 1 == SFSI("input[name='sfsi_plus_facebook_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_facebook_MouseOverText']").val(),
|
715 |
SFSI("input[name='sfsi_plus_custom_MouseOverTexts[]']").each(function() {
|
716 |
O[SFSI(this).attr("file-id")] = this.value;
|
717 |
});
|
@@ -727,7 +716,6 @@ function sfsi_plus_update_step5()
|
|
727 |
sfsi_plus_follow_icons_language:followicon,
|
728 |
sfsi_plus_facebook_icons_language:facebookicon,
|
729 |
sfsi_plus_twitter_icons_language:twittericon,
|
730 |
-
sfsi_plus_google_icons_language:googleicon,
|
731 |
sfsi_plus_icons_language:lang,
|
732 |
sfsi_plus_icons_spacing:t,
|
733 |
sfsi_plus_icons_ClickPageOpen:o,
|
@@ -740,7 +728,6 @@ function sfsi_plus_update_step5()
|
|
740 |
sfsi_plus_email_MouseOverText:g,
|
741 |
sfsi_plus_twitter_MouseOverText:k,
|
742 |
sfsi_plus_facebook_MouseOverText:y,
|
743 |
-
sfsi_plus_google_MouseOverText:b,
|
744 |
sfsi_plus_youtube_MouseOverText:x,
|
745 |
sfsi_plus_linkedIn_MouseOverText:w,
|
746 |
sfsi_plus_pinterest_MouseOverText:C,
|
@@ -753,7 +740,6 @@ function sfsi_plus_update_step5()
|
|
753 |
sfsi_plus_emailIcon_order:_,
|
754 |
sfsi_plus_facebookIcon_order:S,
|
755 |
sfsi_plus_twitterIcon_order:u,
|
756 |
-
sfsi_plus_googleIcon_order:l,
|
757 |
sfsi_plus_youtubeIcon_order:f,
|
758 |
sfsi_plus_pinterestIcon_order:d,
|
759 |
sfsi_plus_instagramIcon_order:I,
|
@@ -898,7 +884,6 @@ function sfsi_plus_update_step8()
|
|
898 |
g = SFSI("input[name='sfsi_plus_display_after_blogposts']:checked").val(),
|
899 |
rsub = SFSI("input[name='sfsi_plus_rectsub']:checked").val(),
|
900 |
rfb = SFSI("input[name='sfsi_plus_rectfb']:checked").val(),
|
901 |
-
rgp = SFSI("input[name='sfsi_plus_rectgp']:checked").val(),
|
902 |
rtwr = SFSI("input[name='sfsi_plus_recttwtr']:checked").val(),
|
903 |
rpin = SFSI("input[name='sfsi_plus_rectpinit']:checked").val(),
|
904 |
rfbshare = SFSI("input[name='sfsi_plus_rectfbshare']:checked").val(),
|
@@ -935,7 +920,6 @@ function sfsi_plus_update_step8()
|
|
935 |
sfsi_plus_display_after_blogposts: g,
|
936 |
sfsi_plus_rectsub: rsub,
|
937 |
sfsi_plus_rectfb: rfb,
|
938 |
-
sfsi_plus_rectgp: rgp,
|
939 |
sfsi_plus_recttwtr: rtwr,
|
940 |
sfsi_plus_rectpinit: rpin,
|
941 |
sfsi_plus_rectfbshare: rfbshare,
|
@@ -1335,9 +1319,11 @@ SFSI(document).ready(function(s) {
|
|
1335 |
|
1336 |
SFSI(".lanOnchange").change(function(){
|
1337 |
var currentDrpdown = SFSI(this).parents(".icons_size");
|
|
|
1338 |
var data = {
|
1339 |
action:"getIconPreview",
|
1340 |
iconValue: SFSI(this).val(),
|
|
|
1341 |
iconname: SFSI(this).attr( "data-iconUrl" )
|
1342 |
};
|
1343 |
SFSI.ajax({
|
@@ -1779,7 +1765,7 @@ SFSI(document).ready(function(s) {
|
|
1779 |
}).submit());
|
1780 |
}),
|
1781 |
SFSI(".pop-up").on("click", function() {
|
1782 |
-
("fbex-s2" == SFSI(this).attr("data-id") || "
|
1783 |
SFSI("." + SFSI(this).attr("data-id")).css("opacity", "1"), SFSI("." + SFSI(this).attr("data-id")).css("z-index", "1000")),
|
1784 |
SFSI("." + SFSI(this).attr("data-id")).show("slow");
|
1785 |
}),
|
@@ -1953,12 +1939,7 @@ SFSI(document).ready(function(s) {
|
|
1953 |
SFSI('input[name="sfsi_plus_twitter_countsDisplay"]').parent().find("span.checkbox").attr("style", "background-position:0px -36px;"),
|
1954 |
"manual" == SFSI("input[name='sfsi_plus_twitter_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_plus_twitter_manualCounts']").slideDown(),
|
1955 |
SFSI(".tw_follow_options").slideUp()) :(SFSI("input[name='sfsi_plus_twitter_manualCounts']").slideUp(),
|
1956 |
-
SFSI(".tw_follow_options").slideDown())), "
|
1957 |
-
SFSI('input[name="sfsi_plus_google_countsDisplay"]').parent().find("span.checkbox").attr("style", "background-position:0px -36px;"),
|
1958 |
-
"manual" == SFSI("input[name='sfsi_plus_google_countsFrom']:checked").val() && (SFSI("input[name='sfsi_plus_google_manualCounts']").slideDown(),
|
1959 |
-
SFSI(".google_option").slideUp()), "likes" == SFSI("input[name='sfsi_plus_google_countsFrom']:checked").val() && (SFSI("input[name='sfsi_plus_google_manualCounts']").slideUp(),
|
1960 |
-
SFSI(".google_option").slideUp()), "follower" == SFSI("input[name='sfsi_plus_google_countsFrom']:checked").val() && (SFSI(".google_option").slideDown(),
|
1961 |
-
SFSI("input[name='sfsi_plus_google_manualCounts']").slideUp())), "sfsi_plus_linkedIn_countsFrom" == s.attr("name") && (SFSI('input[name="sfsi_plus_linkedIn_countsDisplay"]').prop("checked", !0),
|
1962 |
SFSI('input[name="sfsi_plus_linkedIn_countsDisplay"]').parent().find("span.checkbox").attr("style", "background-position:0px -36px;"),
|
1963 |
"manual" == SFSI("input[name='sfsi_plus_linkedIn_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_plus_linkedIn_manualCounts']").slideDown(),
|
1964 |
SFSI(".linkedIn_options").slideUp()) :(SFSI("input[name='sfsi_plus_linkedIn_manualCounts']").slideUp(),
|
322 |
{
|
323 |
var nonce = SFSI("#sfsi_plus_save1").attr("data-nonce");
|
324 |
global_error = 0, sfsiplus_beForeLoad(), sfsi_plus_depened_sections();
|
325 |
+
var s = !1, i = SFSI("input[name='sfsi_plus_rss_display']:checked").val(), e = SFSI("input[name='sfsi_plus_email_display']:checked").val(), t = SFSI("input[name='sfsi_plus_facebook_display']:checked").val(), n = SFSI("input[name='sfsi_plus_twitter_display']:checked").val(), r = SFSI("input[name='sfsi_plus_youtube_display']:checked").val(), c = SFSI("input[name='sfsi_plus_pinterest_display']:checked").val(), p = SFSI("input[name='sfsi_plus_linkedin_display']:checked").val(), _ = SFSI("input[name='sfsi_plus_instagram_display']:checked").val(), telegram = SFSI("input[name='sfsi_plus_telegram_display']:checked").val(), vk = SFSI("input[name='sfsi_plus_vk_display']:checked").val(), ok = SFSI("input[name='sfsi_plus_ok_display']:checked").val(), weibo = SFSI("input[name='sfsi_plus_weibo_display']:checked").val(), wechat = SFSI("input[name='sfsi_plus_wechat_display']:checked").val(), houzz = SFSI("input[name='sfsi_plus_houzz_display']:checked").val(), l = SFSI("input[name='sfsi_custom1_display']:checked").val(), S = SFSI("input[name='sfsi_custom2_display']:checked").val(), u = SFSI("input[name='sfsi_custom3_display']:checked").val(), f = SFSI("input[name='sfsi_custom4_display']:checked").val(), d = SFSI("input[name='plussfsiICON_5']:checked").val(), I = {
|
326 |
action:"plus_updateSrcn1",
|
327 |
sfsi_plus_rss_display:i,
|
328 |
sfsi_plus_email_display:e,
|
329 |
sfsi_plus_facebook_display:t,
|
330 |
sfsi_plus_twitter_display:n,
|
|
|
331 |
sfsi_plus_youtube_display:r,
|
332 |
sfsi_plus_pinterest_display:c,
|
333 |
sfsi_plus_linkedin_display:p,
|
374 |
var s = sfsi_plus_validationStep2();
|
375 |
if (!s) return global_error = 1, !1;
|
376 |
sfsiplus_beForeLoad();
|
377 |
+
var i = 1 == SFSI("input[name='sfsi_plus_rss_url']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_rss_url']").val(), e = 1 == SFSI("input[name='sfsi_plus_rss_icons']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_rss_icons']:checked").val(), t = 1 == SFSI("input[name='sfsi_plus_facebookPage_option']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_facebookPage_option']:checked").val(), n = 1 == SFSI("input[name='sfsi_plus_facebookLike_option']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_facebookLike_option']:checked").val(), o = 1 == SFSI("input[name='sfsi_plus_facebookShare_option']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_facebookShare_option']:checked").val(), a = SFSI("input[name='sfsi_plus_facebookPage_url']").val(), r = 1 == SFSI("input[name='sfsi_plus_twitter_followme']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_twitter_followme']:checked").val(), c = 1 == SFSI("input[name='sfsi_plus_twitter_followUserName']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_twitter_followUserName']").val(), p = 1 == SFSI("input[name='sfsi_plus_twitter_aboutPage']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_twitter_aboutPage']:checked").val(), _ = 1 == SFSI("input[name='sfsi_plus_twitter_page']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_twitter_page']:checked").val(), l = SFSI("input[name='sfsi_plus_twitter_pageURL']").val(), S = SFSI("textarea[name='sfsi_plus_twitter_aboutPageText']").val(), m = 1 == SFSI("input[name='sfsi_plus_youtube_page']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_youtube_page']:checked").val(), F = 1 == SFSI("input[name='sfsi_plus_youtube_pageUrl']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_youtube_pageUrl']").val(), h = 1 == SFSI("input[name='sfsi_plus_youtube_follow']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_youtube_follow']:checked").val(), cls = SFSI("input[name='sfsi_plus_youtubeusernameorid']:checked").val(), v = SFSI("input[name='sfsi_plus_ytube_user']").val(), vchid = SFSI("input[name='sfsi_plus_ytube_chnlid']").val(), g = 1 == SFSI("input[name='sfsi_plus_pinterest_page']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_pinterest_page']:checked").val(), k = 1 == SFSI("input[name='sfsi_plus_pinterest_pageUrl']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_pinterest_pageUrl']").val(), y = 1 == SFSI("input[name='sfsi_plus_pinterest_pingBlog']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_pinterest_pingBlog']:checked").val(), b = 1 == SFSI("input[name='sfsi_plus_instagram_pageUrl']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_instagram_pageUrl']").val(), houzz = 1 == SFSI("input[name='sfsi_plus_houzz_pageUrl']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_houzz_pageUrl']").val(), w = 1 == SFSI("input[name='sfsi_plus_linkedin_page']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_linkedin_page']:checked").val(), x = 1 == SFSI("input[name='sfsi_plus_linkedin_pageURL']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_linkedin_pageURL']").val(), C = 1 == SFSI("input[name='sfsi_plus_linkedin_follow']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_linkedin_follow']:checked").val(), D = SFSI("input[name='sfsi_plus_linkedin_followCompany']").val(), U = 1 == SFSI("input[name='sfsi_plus_linkedin_SharePage']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_linkedin_SharePage']:checked").val(), O = SFSI("input[name='sfsi_plus_linkedin_recommendBusines']:checked").val(), T = SFSI("input[name='sfsi_plus_linkedin_recommendProductId']").val(), j = SFSI("input[name='sfsi_plus_linkedin_recommendCompany']").val(),
|
378 |
tgShareChk = SFSI("input[name='sfsi_plus_telegramShare_option']:checked").val(),
|
379 |
tgShareChk = "undefined" !== typeof tgShareChk ? tgShareChk: "no",
|
380 |
tgMsgChk = SFSI("input[name='sfsi_plus_telegramMessage_option']:checked").val(),
|
435 |
sfsi_plus_twitter_page:_,
|
436 |
sfsi_plus_twitter_pageURL:l,
|
437 |
sfsi_plus_twitter_aboutPageText:S,
|
|
|
|
|
|
|
|
|
438 |
sfsi_plus_youtube_page:m,
|
439 |
sfsi_plus_youtube_pageUrl:F,
|
440 |
sfsi_plus_youtube_follow:h,
|
567 |
s = 1) :SFSI("#sfsi_plus_rss_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_plus_email_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_email_countsDisplay").css("opacity", 1),
|
568 |
s = 1) :SFSI("#sfsi_plus_email_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_plus_facebook_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_facebook_countsDisplay").css("opacity", 1),
|
569 |
s = 1) :SFSI("#sfsi_plus_facebook_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_plus_twitter_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_twitter_countsDisplay").css("opacity", 1),
|
570 |
+
s = 1) :SFSI("#sfsi_plus_twitter_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_plus_linkedIn_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_linkedIn_countsDisplay").css("opacity", 1),
|
|
|
571 |
s = 1) :SFSI("#sfsi_plus_linkedIn_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_plus_youtube_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_youtube_countsDisplay").css("opacity", 1),
|
572 |
s = 1) :SFSI("#sfsi_plus_youtube_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_plus_pinterest_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_pinterest_countsDisplay").css("opacity", 1),
|
573 |
s = 1) :SFSI("#sfsi_plus_pinterest_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_plus_instagram_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_instagram_countsDisplay").css("opacity", 1),
|
584 |
var s = !1, i = sfsi_plus_validationStep4();
|
585 |
if (!i) return global_error = 1, !1;
|
586 |
sfsiplus_beForeLoad();
|
587 |
+
var e = SFSI("input[name='sfsi_plus_display_counts']:checked").val(), t = 1 == SFSI("input[name='sfsi_plus_email_countsDisplay']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_email_countsDisplay']:checked").val(), n = 1 == SFSI("input[name='sfsi_plus_email_countsFrom']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_email_countsFrom']:checked").val(), o = SFSI("input[name='sfsi_plus_email_manualCounts']").val(), r = 1 == SFSI("input[name='sfsi_plus_rss_countsDisplay']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_rss_countsDisplay']:checked").val(), c = SFSI("input[name='sfsi_plus_rss_manualCounts']").val(), p = 1 == SFSI("input[name='sfsi_plus_facebook_countsDisplay']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_facebook_countsDisplay']:checked").val(), _ = 1 == SFSI("input[name='sfsi_plus_facebook_countsFrom']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_facebook_countsFrom']:checked").val(), mp = SFSI("input[name='sfsi_plus_facebook_mypageCounts']").val(), l = SFSI("input[name='sfsi_plus_facebook_manualCounts']").val(), S = 1 == SFSI("input[name='sfsi_plus_twitter_countsDisplay']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_twitter_countsDisplay']:checked").val(), u = 1 == SFSI("input[name='sfsi_plus_twitter_countsFrom']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_twitter_countsFrom']:checked").val(), f = SFSI("input[name='sfsi_plus_twitter_manualCounts']").val(), d = SFSI("input[name='sfsiplus_tw_consumer_key']").val(), I = SFSI("input[name='sfsiplus_tw_consumer_secret']").val(), m = SFSI("input[name='sfsiplus_tw_oauth_access_token']").val(), F = SFSI("input[name='sfsiplus_tw_oauth_access_token_secret']").val(), k = 1 == SFSI("input[name='sfsi_plus_linkedIn_countsFrom']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_linkedIn_countsFrom']:checked").val(), y = SFSI("input[name='sfsi_plus_linkedIn_manualCounts']").val(), b = SFSI("input[name='sfsi_plus_ln_company']").val(), w = SFSI("input[name='sfsi_plus_ln_api_key']").val(), x = SFSI("input[name='sfsi_plus_ln_secret_key']").val(), C = SFSI("input[name='sfsi_plus_ln_oAuth_user_token']").val(), D = 1 == SFSI("input[name='sfsi_plus_linkedIn_countsDisplay']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_linkedIn_countsDisplay']:checked").val(), k = 1 == SFSI("input[name='sfsi_plus_linkedIn_countsFrom']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_linkedIn_countsFrom']:checked").val(), y = SFSI("input[name='sfsi_plus_linkedIn_manualCounts']").val(), U = 1 == SFSI("input[name='sfsi_plus_youtube_countsDisplay']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_youtube_countsDisplay']:checked").val(), O = 1 == SFSI("input[name='sfsi_plus_youtube_countsFrom']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_youtube_countsFrom']:checked").val(), T = SFSI("input[name='sfsi_plus_youtube_manualCounts']").val(), j = SFSI("input[name='sfsi_plus_youtube_user']").val(), P = 1 == SFSI("input[name='sfsi_plus_pinterest_countsDisplay']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_pinterest_countsDisplay']:checked").val(), M = 1 == SFSI("input[name='sfsi_plus_pinterest_countsFrom']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_pinterest_countsFrom']:checked").val(), L = SFSI("input[name='sfsi_plus_pinterest_manualCounts']").val(), B = SFSI("input[name='sfsi_plus_pinterest_user']").val(), E = SFSI("input[name='sfsi_plus_pinterest_board']").val(), z = 1 == SFSI("input[name='sfsi_plus_instagram_countsDisplay']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_instagram_countsDisplay']:checked").val(), A = 1 == SFSI("input[name='sfsi_plus_instagram_countsFrom']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_instagram_countsFrom']:checked").val(), N = SFSI("input[name='sfsi_plus_instagram_manualCounts']").val(), H = SFSI("input[name='sfsi_plus_instagram_User']").val(), houzzDisplay = 1 == SFSI("input[name='sfsi_plus_houzz_countsDisplay']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_houzz_countsDisplay']:checked").val(), houzzFrom = 1 == SFSI("input[name='sfsi_plus_houzz_countsFrom']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_houzz_countsFrom']:checked").val(), houzzCount = SFSI("input[name='sfsi_plus_houzz_manualCounts']").val(),
|
588 |
vkc = SFSI("input[name='sfsi_plus_vk_countsDisplay']:checked").val()||'no',
|
589 |
vkm = SFSI("input[name='sfsi_plus_vk_manualCounts']").val(),
|
590 |
tc = SFSI("input[name='sfsi_plus_telegram_countsDisplay']:checked").val()||'no',
|
614 |
sfsiplus_tw_consumer_secret:I,
|
615 |
sfsiplus_tw_oauth_access_token:m,
|
616 |
sfsiplus_tw_oauth_access_token_secret:F,
|
|
|
|
|
|
|
|
|
617 |
sfsi_plus_linkedIn_countsDisplay:D,
|
618 |
sfsi_plus_linkedIn_countsFrom:k,
|
619 |
sfsi_plus_linkedIn_manualCounts:y,
|
690 |
followicon = SFSI("#sfsi_plus_follow_icons_language").val(),
|
691 |
facebookicon = SFSI("#sfsi_plus_facebook_icons_language").val(),
|
692 |
twittericon = SFSI("#sfsi_plus_twitter_icons_language").val(),
|
|
|
693 |
|
694 |
+
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"), 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"), tl = SFSI("#sfsi_plus_telegramIcon_order").attr("data-index"), vki = SFSI("#sfsi_plus_vkIcon_order").attr("data-index"), ok = SFSI("#sfsi_plus_okIcon_order").attr("data-index"), weibo = SFSI("#sfsi_plus_weiboIcon_order").attr("data-index"), wechat = SFSI("#sfsi_plus_wechatIcon_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();
|
695 |
|
696 |
SFSI(".sfsiplus_custom_iconOrder").each(function()
|
697 |
{
|
700 |
ele:SFSI(this).attr("element-id")
|
701 |
});
|
702 |
});
|
703 |
+
var v = 1 == SFSI("input[name='sfsi_plus_rss_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_rss_MouseOverText']").val(), g = 1 == SFSI("input[name='sfsi_plus_email_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_email_MouseOverText']").val(), k = 1 == SFSI("input[name='sfsi_plus_twitter_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_twitter_MouseOverText']").val(), y = 1 == SFSI("input[name='sfsi_plus_facebook_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_facebook_MouseOverText']").val(), w = 1 == SFSI("input[name='sfsi_plus_linkedIn_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_linkedIn_MouseOverText']").val(), x = 1 == SFSI("input[name='sfsi_plus_youtube_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_youtube_MouseOverText']").val(), C = 1 == SFSI("input[name='sfsi_plus_pinterest_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_pinterest_MouseOverText']").val(), insD = 1 == SFSI("input[name='sfsi_plus_instagram_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_instagram_MouseOverText']").val(), tl = 1 == SFSI("input[name='sfsi_plus_telegram_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_telegram_MouseOverText']").val(), vk = 1 == SFSI("input[name='sfsi_plus_vk_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_vk_MouseOverText']").val(), D = 1 == SFSI("input[name='sfsi_plus_houzz_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_houzz_MouseOverText']").val(), O = {};
|
704 |
SFSI("input[name='sfsi_plus_custom_MouseOverTexts[]']").each(function() {
|
705 |
O[SFSI(this).attr("file-id")] = this.value;
|
706 |
});
|
716 |
sfsi_plus_follow_icons_language:followicon,
|
717 |
sfsi_plus_facebook_icons_language:facebookicon,
|
718 |
sfsi_plus_twitter_icons_language:twittericon,
|
|
|
719 |
sfsi_plus_icons_language:lang,
|
720 |
sfsi_plus_icons_spacing:t,
|
721 |
sfsi_plus_icons_ClickPageOpen:o,
|
728 |
sfsi_plus_email_MouseOverText:g,
|
729 |
sfsi_plus_twitter_MouseOverText:k,
|
730 |
sfsi_plus_facebook_MouseOverText:y,
|
|
|
731 |
sfsi_plus_youtube_MouseOverText:x,
|
732 |
sfsi_plus_linkedIn_MouseOverText:w,
|
733 |
sfsi_plus_pinterest_MouseOverText:C,
|
740 |
sfsi_plus_emailIcon_order:_,
|
741 |
sfsi_plus_facebookIcon_order:S,
|
742 |
sfsi_plus_twitterIcon_order:u,
|
|
|
743 |
sfsi_plus_youtubeIcon_order:f,
|
744 |
sfsi_plus_pinterestIcon_order:d,
|
745 |
sfsi_plus_instagramIcon_order:I,
|
884 |
g = SFSI("input[name='sfsi_plus_display_after_blogposts']:checked").val(),
|
885 |
rsub = SFSI("input[name='sfsi_plus_rectsub']:checked").val(),
|
886 |
rfb = SFSI("input[name='sfsi_plus_rectfb']:checked").val(),
|
|
|
887 |
rtwr = SFSI("input[name='sfsi_plus_recttwtr']:checked").val(),
|
888 |
rpin = SFSI("input[name='sfsi_plus_rectpinit']:checked").val(),
|
889 |
rfbshare = SFSI("input[name='sfsi_plus_rectfbshare']:checked").val(),
|
920 |
sfsi_plus_display_after_blogposts: g,
|
921 |
sfsi_plus_rectsub: rsub,
|
922 |
sfsi_plus_rectfb: rfb,
|
|
|
923 |
sfsi_plus_recttwtr: rtwr,
|
924 |
sfsi_plus_rectpinit: rpin,
|
925 |
sfsi_plus_rectfbshare: rfbshare,
|
1319 |
|
1320 |
SFSI(".lanOnchange").change(function(){
|
1321 |
var currentDrpdown = SFSI(this).parents(".icons_size");
|
1322 |
+
var nonce= currentDrpdown.find('select').attr('data-nonce');
|
1323 |
var data = {
|
1324 |
action:"getIconPreview",
|
1325 |
iconValue: SFSI(this).val(),
|
1326 |
+
nonce: nonce,
|
1327 |
iconname: SFSI(this).attr( "data-iconUrl" )
|
1328 |
};
|
1329 |
SFSI.ajax({
|
1765 |
}).submit());
|
1766 |
}),
|
1767 |
SFSI(".pop-up").on("click", function() {
|
1768 |
+
("fbex-s2" == SFSI(this).attr("data-id") || "linkex-s2" == SFSI(this).attr("data-id")) && (SFSI("." + SFSI(this).attr("data-id")).hide(),
|
1769 |
SFSI("." + SFSI(this).attr("data-id")).css("opacity", "1"), SFSI("." + SFSI(this).attr("data-id")).css("z-index", "1000")),
|
1770 |
SFSI("." + SFSI(this).attr("data-id")).show("slow");
|
1771 |
}),
|
1939 |
SFSI('input[name="sfsi_plus_twitter_countsDisplay"]').parent().find("span.checkbox").attr("style", "background-position:0px -36px;"),
|
1940 |
"manual" == SFSI("input[name='sfsi_plus_twitter_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_plus_twitter_manualCounts']").slideDown(),
|
1941 |
SFSI(".tw_follow_options").slideUp()) :(SFSI("input[name='sfsi_plus_twitter_manualCounts']").slideUp(),
|
1942 |
+
SFSI(".tw_follow_options").slideDown())), "sfsi_plus_linkedIn_countsFrom" == s.attr("name") && (SFSI('input[name="sfsi_plus_linkedIn_countsDisplay"]').prop("checked", !0),
|
|
|
|
|
|
|
|
|
|
|
1943 |
SFSI('input[name="sfsi_plus_linkedIn_countsDisplay"]').parent().find("span.checkbox").attr("style", "background-position:0px -36px;"),
|
1944 |
"manual" == SFSI("input[name='sfsi_plus_linkedIn_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_plus_linkedIn_manualCounts']").slideDown(),
|
1945 |
SFSI(".linkedIn_options").slideUp()) :(SFSI("input[name='sfsi_plus_linkedIn_manualCounts']").slideUp(),
|
js/custom.js
CHANGED
@@ -197,7 +197,7 @@ SFSI(document).ready(function(s) {
|
|
197 |
SFSI(this).css("opacity", "1");
|
198 |
}),
|
199 |
SFSI(".pop-up").on("click", function() {
|
200 |
-
("fbex-s2" == SFSI(this).attr("data-id") || "
|
201 |
SFSI("." + SFSI(this).attr("data-id")).css("opacity", "1"), SFSI("." + SFSI(this).attr("data-id")).css("z-index", "1000")),
|
202 |
SFSI("." + SFSI(this).attr("data-id")).show("slow");
|
203 |
}),
|
@@ -288,11 +288,7 @@ SFSI(document).ready(function(s) {
|
|
288 |
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("data-effect") && "fade_in" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("data-effect") && SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").css("opacity", "0.6"),
|
289 |
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("data-effect") && "scale" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("data-effect") && SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").removeClass("scale"),
|
290 |
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("data-effect") && "combo" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("data-effect") && (SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").css("opacity", "0.6"),
|
291 |
-
SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").removeClass("scale"))
|
292 |
-
SFSI(this).children(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide();
|
293 |
-
}) :(SFSI(this).css({
|
294 |
-
"z-index":"0"
|
295 |
-
}), SFSI(this).children(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide());
|
296 |
}), SFSI("body").on("click", function() {
|
297 |
SFSI(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide();
|
298 |
}), SFSI(".adminTooltip >a").on("hover", function() {
|
197 |
SFSI(this).css("opacity", "1");
|
198 |
}),
|
199 |
SFSI(".pop-up").on("click", function() {
|
200 |
+
("fbex-s2" == SFSI(this).attr("data-id") || "linkex-s2" == SFSI(this).attr("data-id")) && (SFSI("." + SFSI(this).attr("data-id")).hide(),
|
201 |
SFSI("." + SFSI(this).attr("data-id")).css("opacity", "1"), SFSI("." + SFSI(this).attr("data-id")).css("z-index", "1000")),
|
202 |
SFSI("." + SFSI(this).attr("data-id")).show("slow");
|
203 |
}),
|
288 |
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("data-effect") && "fade_in" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("data-effect") && SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").css("opacity", "0.6"),
|
289 |
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("data-effect") && "scale" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("data-effect") && SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").removeClass("scale"),
|
290 |
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("data-effect") && "combo" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("data-effect") && (SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").css("opacity", "0.6"),
|
291 |
+
SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").removeClass("scale"));
|
|
|
|
|
|
|
|
|
292 |
}), SFSI("body").on("click", function() {
|
293 |
SFSI(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide();
|
294 |
}), SFSI(".adminTooltip >a").on("hover", function() {
|
libs/controllers/sfsi_buttons_controller.php
CHANGED
@@ -12,8 +12,7 @@ function sfsi_plus_options_updater1()
|
|
12 |
$sfsi_plus_rss_display = isset($_POST["sfsi_plus_rss_display"]) ? sanitize_text_field( $_POST["sfsi_plus_rss_display"] ): 'no';
|
13 |
$sfsi_plus_email_display = isset($_POST["sfsi_plus_email_display"]) ? sanitize_text_field( $_POST["sfsi_plus_email_display"] ): 'no';
|
14 |
$sfsi_plus_facebook_display = isset($_POST["sfsi_plus_facebook_display"]) ? sanitize_text_field( $_POST["sfsi_plus_facebook_display"] ): 'no';
|
15 |
-
$sfsi_plus_twitter_display = isset($_POST["sfsi_plus_twitter_display"]) ? sanitize_text_field( $_POST["sfsi_plus_twitter_display"] ): 'no';
|
16 |
-
$sfsi_plus_google_display = isset($_POST["sfsi_plus_google_display"]) ? sanitize_text_field( $_POST["sfsi_plus_google_display"] ): 'no';
|
17 |
$sfsi_plus_youtube_display = isset($_POST["sfsi_plus_youtube_display"]) ? sanitize_text_field( $_POST["sfsi_plus_youtube_display"] ): 'no';
|
18 |
$sfsi_plus_pinterest_display= isset($_POST["sfsi_plus_pinterest_display"]) ? sanitize_text_field( $_POST["sfsi_plus_pinterest_display"] ): 'no';
|
19 |
$sfsi_plus_instagram_display= isset($_POST["sfsi_plus_instagram_display"]) ? sanitize_text_field( $_POST["sfsi_plus_instagram_display"] ): 'no';
|
@@ -31,7 +30,6 @@ function sfsi_plus_options_updater1()
|
|
31 |
'sfsi_plus_email_display' => sanitize_text_field($sfsi_plus_email_display),
|
32 |
'sfsi_plus_facebook_display' => sanitize_text_field($sfsi_plus_facebook_display),
|
33 |
'sfsi_plus_twitter_display' => sanitize_text_field($sfsi_plus_twitter_display),
|
34 |
-
'sfsi_plus_google_display' => sanitize_text_field($sfsi_plus_google_display),
|
35 |
'sfsi_plus_youtube_display' => sanitize_text_field($sfsi_plus_youtube_display),
|
36 |
'sfsi_plus_pinterest_display' => sanitize_text_field($sfsi_plus_pinterest_display),
|
37 |
'sfsi_plus_linkedin_display' => sanitize_text_field($sfsi_plus_linkedin_display),
|
@@ -74,11 +72,6 @@ function sfsi_plus_options_updater2()
|
|
74 |
$sfsi_plus_twitter_pageURL = isset($_POST["sfsi_plus_twitter_pageURL"]) ? esc_url( trim($_POST["sfsi_plus_twitter_pageURL"]) ): '';
|
75 |
$sfsi_plus_twitter_aboutPageText= isset($_POST["sfsi_plus_twitter_aboutPageText"]) ? sanitize_text_field( $_POST["sfsi_plus_twitter_aboutPageText"] ): 'Hey check out this cool site I found';
|
76 |
|
77 |
-
$sfsi_plus_google_page = isset($_POST["sfsi_plus_google_page"]) ? sanitize_text_field( $_POST["sfsi_plus_google_page"] ): 'no';
|
78 |
-
$sfsi_plus_google_pageURL = isset($_POST["sfsi_plus_google_pageURL"]) ? esc_url( trim($_POST["sfsi_plus_google_pageURL"]) ): '';
|
79 |
-
$sfsi_plus_googleLike_option = isset($_POST["sfsi_plus_googleLike_option"]) ? sanitize_text_field( $_POST["sfsi_plus_googleLike_option"] ): 'no';
|
80 |
-
$sfsi_plus_googleShare_option = isset($_POST["sfsi_plus_googleShare_option"]) ? sanitize_text_field( $_POST["sfsi_plus_googleShare_option"] ): 'no';
|
81 |
-
|
82 |
$sfsi_plus_youtube_pageUrl = isset($_POST["sfsi_plus_youtube_pageUrl"]) ? esc_url( trim($_POST["sfsi_plus_youtube_pageUrl"]) ): '';
|
83 |
$sfsi_plus_youtube_page = isset($_POST["sfsi_plus_youtube_page"]) ? sanitize_text_field( $_POST["sfsi_plus_youtube_page"] ): 'no';
|
84 |
$sfsi_plus_youtube_follow = isset($_POST["sfsi_plus_youtube_follow"]) ? sanitize_text_field( $_POST["sfsi_plus_youtube_follow"] ): 'no';
|
@@ -345,12 +338,7 @@ function sfsi_plus_options_updater4()
|
|
345 |
$sfsiplus_tw_oauth_access_token = isset($_POST["sfsiplus_tw_oauth_access_token"]) ? sanitize_text_field( trim($_POST["sfsiplus_tw_oauth_access_token"]) ): '';
|
346 |
$sfsiplus_tw_oauth_access_token_secret = isset($_POST["sfsiplus_tw_oauth_access_token_secret"])
|
347 |
? sanitize_text_field( trim($_POST["sfsiplus_tw_oauth_access_token_secret"])
|
348 |
-
): '';
|
349 |
-
|
350 |
-
$sfsi_plus_google_countsDisplay = isset($_POST["sfsi_plus_google_countsDisplay"]) ? sanitize_text_field( $_POST["sfsi_plus_google_countsDisplay"] ): 'no';
|
351 |
-
$sfsi_plus_google_countsFrom = isset($_POST["sfsi_plus_google_countsFrom"]) ? sanitize_text_field( $_POST["sfsi_plus_google_countsFrom"] ): 'manual';
|
352 |
-
$sfsi_plus_google_manualCounts = isset($_POST["sfsi_plus_google_manualCounts"]) ? intval( trim($_POST["sfsi_plus_google_manualCounts"]) ): '';
|
353 |
-
$sfsi_plus_google_api_key = isset($_POST["sfsi_plus_google_api_key"]) ? sanitize_text_field( trim($_POST["sfsi_plus_google_api_key"]) ): '';
|
354 |
|
355 |
$sfsi_plus_linkedIn_countsDisplay = isset($_POST["sfsi_plus_linkedIn_countsDisplay"]) ? sanitize_text_field( $_POST["sfsi_plus_linkedIn_countsDisplay"] ): 'no';
|
356 |
$sfsi_plus_linkedIn_countsFrom = isset($_POST["sfsi_plus_linkedIn_countsFrom"]) ? sanitize_text_field( $_POST["sfsi_plus_linkedIn_countsFrom"] ): 'manual';
|
@@ -423,11 +411,6 @@ function sfsi_plus_options_updater4()
|
|
423 |
'sfsiplus_tw_consumer_secret' => sfsi_plus_sanitize_field($sfsiplus_tw_consumer_secret),
|
424 |
'sfsiplus_tw_oauth_access_token' => sfsi_plus_sanitize_field($sfsiplus_tw_oauth_access_token),
|
425 |
'sfsiplus_tw_oauth_access_token_secret'=> sfsi_plus_sanitize_field($sfsiplus_tw_oauth_access_token_secret),
|
426 |
-
|
427 |
-
'sfsi_plus_google_countsDisplay' => sanitize_text_field($sfsi_plus_google_countsDisplay),
|
428 |
-
'sfsi_plus_google_countsFrom' => sanitize_text_field($sfsi_plus_google_countsFrom),
|
429 |
-
'sfsi_plus_google_manualCounts' => intval($sfsi_plus_google_manualCounts),
|
430 |
-
'sfsi_plus_google_api_key' => sfsi_plus_sanitize_field($sfsi_plus_google_api_key),
|
431 |
|
432 |
/*'sfsi_plus_ln_company' => $sfsi_plus_ln_company,
|
433 |
'sfsi_plus_ln_api_key' => $sfsi_plus_ln_api_key,
|
@@ -507,7 +490,6 @@ function sfsi_plus_options_updater5()
|
|
507 |
|
508 |
$sfsi_plus_twitter_MouseOverText = isset($_POST["sfsi_plus_twitter_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_plus_twitter_MouseOverText"] ): '';
|
509 |
$sfsi_plus_facebook_MouseOverText = isset($_POST["sfsi_plus_facebook_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_plus_facebook_MouseOverText"] ): '';
|
510 |
-
$sfsi_plus_google_MouseOverText = isset($_POST["sfsi_plus_google_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_plus_google_MouseOverText"] ): '';
|
511 |
$sfsi_plus_linkedIn_MouseOverText = isset($_POST["sfsi_plus_linkedIn_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_plus_linkedIn_MouseOverText"] ): '';
|
512 |
$sfsi_plus_pinterest_MouseOverText = isset($_POST["sfsi_plus_pinterest_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_plus_pinterest_MouseOverText"] ): '';
|
513 |
$sfsi_plus_instagram_MouseOverText = isset($_POST["sfsi_plus_instagram_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_plus_instagram_MouseOverText"] ): '';
|
@@ -527,7 +509,6 @@ function sfsi_plus_options_updater5()
|
|
527 |
$sfsi_plus_rssIcon_order = isset($_POST["sfsi_plus_rssIcon_order"]) ? intval( $_POST["sfsi_plus_rssIcon_order"] ): '1';
|
528 |
$sfsi_plus_emailIcon_order = isset($_POST["sfsi_plus_emailIcon_order"]) ? intval( $_POST["sfsi_plus_emailIcon_order"] ): '2';
|
529 |
$sfsi_plus_facebookIcon_order = isset($_POST["sfsi_plus_facebookIcon_order"]) ? intval( $_POST["sfsi_plus_facebookIcon_order"] ): '3';
|
530 |
-
$sfsi_plus_googleIcon_order = isset($_POST["sfsi_plus_googleIcon_order"]) ? intval( $_POST["sfsi_plus_googleIcon_order"] ): '4';
|
531 |
$sfsi_plus_twitterIcon_order = isset($_POST["sfsi_plus_twitterIcon_order"]) ? intval( $_POST["sfsi_plus_twitterIcon_order"] ): '5';
|
532 |
$sfsi_plus_youtubeIcon_order = isset($_POST["sfsi_plus_youtubeIcon_order"]) ? intval( $_POST["sfsi_plus_youtubeIcon_order"] ): '7';
|
533 |
$sfsi_plus_pinterestIcon_order = isset($_POST["sfsi_plus_pinterestIcon_order"]) ? intval( $_POST["sfsi_plus_pinterestIcon_order"] ): '8';
|
@@ -557,9 +538,6 @@ function sfsi_plus_options_updater5()
|
|
557 |
$sfsi_plus_twitter_icons_language = isset($_POST["sfsi_plus_twitter_icons_language"])
|
558 |
? sanitize_text_field( $_POST["sfsi_plus_twitter_icons_language"]
|
559 |
): 'Visit_us_en_US';
|
560 |
-
$sfsi_plus_google_icons_language = isset($_POST["sfsi_plus_google_icons_language"])
|
561 |
-
? sanitize_text_field( $_POST["sfsi_plus_google_icons_language"]
|
562 |
-
): 'Visit_us_en_US';
|
563 |
|
564 |
$sfsi_plus_custom_social_hide = isset($_POST["sfsi_plus_custom_social_hide"]) ? sanitize_text_field( $_POST["sfsi_plus_custom_social_hide"] ): 'no';
|
565 |
|
@@ -574,7 +552,6 @@ function sfsi_plus_options_updater5()
|
|
574 |
'sfsi_plus_follow_icons_language' => sanitize_text_field($sfsi_plus_follow_icons_language),
|
575 |
'sfsi_plus_facebook_icons_language' => sanitize_text_field($sfsi_plus_facebook_icons_language),
|
576 |
'sfsi_plus_twitter_icons_language' => sanitize_text_field($sfsi_plus_twitter_icons_language),
|
577 |
-
'sfsi_plus_google_icons_language' => sanitize_text_field($sfsi_plus_google_icons_language),
|
578 |
'sfsi_plus_icons_language' => sanitize_text_field($sfsi_plus_icons_language),
|
579 |
'sfsi_plus_icons_ClickPageOpen' => sanitize_text_field($sfsi_plus_icons_ClickPageOpen),
|
580 |
'sfsi_plus_icons_float' => sanitize_text_field($sfsi_plus_icons_float),
|
@@ -587,7 +564,6 @@ function sfsi_plus_options_updater5()
|
|
587 |
'sfsi_plus_email_MouseOverText' => sanitize_text_field($sfsi_plus_email_MouseOverText),
|
588 |
'sfsi_plus_twitter_MouseOverText' => sanitize_text_field($sfsi_plus_twitter_MouseOverText),
|
589 |
'sfsi_plus_facebook_MouseOverText' => sanitize_text_field($sfsi_plus_facebook_MouseOverText),
|
590 |
-
'sfsi_plus_google_MouseOverText' => sanitize_text_field($sfsi_plus_google_MouseOverText),
|
591 |
'sfsi_plus_linkedIn_MouseOverText' => sanitize_text_field($sfsi_plus_linkedIn_MouseOverText),
|
592 |
'sfsi_plus_pinterest_MouseOverText' => sanitize_text_field($sfsi_plus_pinterest_MouseOverText),
|
593 |
'sfsi_plus_youtube_MouseOverText' => sanitize_text_field($sfsi_plus_youtube_MouseOverText),
|
@@ -597,7 +573,6 @@ function sfsi_plus_options_updater5()
|
|
597 |
'sfsi_plus_rssIcon_order' => intval($sfsi_plus_rssIcon_order),
|
598 |
'sfsi_plus_emailIcon_order' => intval($sfsi_plus_emailIcon_order),
|
599 |
'sfsi_plus_facebookIcon_order' => intval($sfsi_plus_facebookIcon_order),
|
600 |
-
'sfsi_plus_googleIcon_order' => intval($sfsi_plus_googleIcon_order),
|
601 |
'sfsi_plus_twitterIcon_order' => intval($sfsi_plus_twitterIcon_order),
|
602 |
'sfsi_plus_youtubeIcon_order' => intval($sfsi_plus_youtubeIcon_order),
|
603 |
'sfsi_plus_pinterestIcon_order' => intval($sfsi_plus_pinterestIcon_order),
|
@@ -740,7 +715,6 @@ function sfsi_plus_options_updater8()
|
|
740 |
$sfsi_plus_display_after_blogposts = isset($_POST["sfsi_plus_display_after_blogposts"]) ? sanitize_text_field( $_POST["sfsi_plus_display_after_blogposts"] ): 'no';
|
741 |
$sfsi_plus_rectsub = isset($_POST["sfsi_plus_rectsub"]) ? sanitize_text_field( $_POST["sfsi_plus_rectsub"] ): 'no';
|
742 |
$sfsi_plus_rectfb = isset($_POST["sfsi_plus_rectfb"]) ? sanitize_text_field( $_POST["sfsi_plus_rectfb"] ): 'no';
|
743 |
-
$sfsi_plus_rectgp = isset($_POST["sfsi_plus_rectgp"]) ? sanitize_text_field( $_POST["sfsi_plus_rectgp"] ): 'no';
|
744 |
$sfsi_plus_recttwtr = isset($_POST["sfsi_plus_recttwtr"]) ? sanitize_text_field( $_POST["sfsi_plus_recttwtr"] ): 'no';
|
745 |
$sfsi_plus_rectpinit = isset($_POST["sfsi_plus_rectpinit"]) ? sanitize_text_field( $_POST["sfsi_plus_rectpinit"] ): 'no';
|
746 |
$sfsi_plus_rectfbshare = isset($_POST["sfsi_plus_rectfbshare"]) ? sanitize_text_field( $_POST["sfsi_plus_rectfbshare"] ): 'no';
|
@@ -773,7 +747,6 @@ function sfsi_plus_options_updater8()
|
|
773 |
'sfsi_plus_display_after_blogposts' => sanitize_text_field($sfsi_plus_display_after_blogposts),
|
774 |
'sfsi_plus_rectsub' => sanitize_text_field($sfsi_plus_rectsub),
|
775 |
'sfsi_plus_rectfb' => sanitize_text_field($sfsi_plus_rectfb),
|
776 |
-
'sfsi_plus_rectgp' => sanitize_text_field($sfsi_plus_rectgp),
|
777 |
'sfsi_plus_recttwtr' => sanitize_text_field($sfsi_plus_recttwtr),
|
778 |
'sfsi_plus_rectpinit' => sanitize_text_field($sfsi_plus_rectpinit),
|
779 |
'sfsi_plus_rectfbshare' => sanitize_text_field($sfsi_plus_rectfbshare)
|
@@ -873,7 +846,6 @@ function sfsi_plus_getCounts()
|
|
873 |
'email_count'=>'',
|
874 |
'fb_count'=>'',
|
875 |
'twitter_count'=>'',
|
876 |
-
'google_count'=>'',
|
877 |
'linkedIn_count'=>'',
|
878 |
'youtube_count'=>'',
|
879 |
'pin_count'=>'',
|
12 |
$sfsi_plus_rss_display = isset($_POST["sfsi_plus_rss_display"]) ? sanitize_text_field( $_POST["sfsi_plus_rss_display"] ): 'no';
|
13 |
$sfsi_plus_email_display = isset($_POST["sfsi_plus_email_display"]) ? sanitize_text_field( $_POST["sfsi_plus_email_display"] ): 'no';
|
14 |
$sfsi_plus_facebook_display = isset($_POST["sfsi_plus_facebook_display"]) ? sanitize_text_field( $_POST["sfsi_plus_facebook_display"] ): 'no';
|
15 |
+
$sfsi_plus_twitter_display = isset($_POST["sfsi_plus_twitter_display"]) ? sanitize_text_field( $_POST["sfsi_plus_twitter_display"] ): 'no';
|
|
|
16 |
$sfsi_plus_youtube_display = isset($_POST["sfsi_plus_youtube_display"]) ? sanitize_text_field( $_POST["sfsi_plus_youtube_display"] ): 'no';
|
17 |
$sfsi_plus_pinterest_display= isset($_POST["sfsi_plus_pinterest_display"]) ? sanitize_text_field( $_POST["sfsi_plus_pinterest_display"] ): 'no';
|
18 |
$sfsi_plus_instagram_display= isset($_POST["sfsi_plus_instagram_display"]) ? sanitize_text_field( $_POST["sfsi_plus_instagram_display"] ): 'no';
|
30 |
'sfsi_plus_email_display' => sanitize_text_field($sfsi_plus_email_display),
|
31 |
'sfsi_plus_facebook_display' => sanitize_text_field($sfsi_plus_facebook_display),
|
32 |
'sfsi_plus_twitter_display' => sanitize_text_field($sfsi_plus_twitter_display),
|
|
|
33 |
'sfsi_plus_youtube_display' => sanitize_text_field($sfsi_plus_youtube_display),
|
34 |
'sfsi_plus_pinterest_display' => sanitize_text_field($sfsi_plus_pinterest_display),
|
35 |
'sfsi_plus_linkedin_display' => sanitize_text_field($sfsi_plus_linkedin_display),
|
72 |
$sfsi_plus_twitter_pageURL = isset($_POST["sfsi_plus_twitter_pageURL"]) ? esc_url( trim($_POST["sfsi_plus_twitter_pageURL"]) ): '';
|
73 |
$sfsi_plus_twitter_aboutPageText= isset($_POST["sfsi_plus_twitter_aboutPageText"]) ? sanitize_text_field( $_POST["sfsi_plus_twitter_aboutPageText"] ): 'Hey check out this cool site I found';
|
74 |
|
|
|
|
|
|
|
|
|
|
|
75 |
$sfsi_plus_youtube_pageUrl = isset($_POST["sfsi_plus_youtube_pageUrl"]) ? esc_url( trim($_POST["sfsi_plus_youtube_pageUrl"]) ): '';
|
76 |
$sfsi_plus_youtube_page = isset($_POST["sfsi_plus_youtube_page"]) ? sanitize_text_field( $_POST["sfsi_plus_youtube_page"] ): 'no';
|
77 |
$sfsi_plus_youtube_follow = isset($_POST["sfsi_plus_youtube_follow"]) ? sanitize_text_field( $_POST["sfsi_plus_youtube_follow"] ): 'no';
|
338 |
$sfsiplus_tw_oauth_access_token = isset($_POST["sfsiplus_tw_oauth_access_token"]) ? sanitize_text_field( trim($_POST["sfsiplus_tw_oauth_access_token"]) ): '';
|
339 |
$sfsiplus_tw_oauth_access_token_secret = isset($_POST["sfsiplus_tw_oauth_access_token_secret"])
|
340 |
? sanitize_text_field( trim($_POST["sfsiplus_tw_oauth_access_token_secret"])
|
341 |
+
): '';
|
|
|
|
|
|
|
|
|
|
|
342 |
|
343 |
$sfsi_plus_linkedIn_countsDisplay = isset($_POST["sfsi_plus_linkedIn_countsDisplay"]) ? sanitize_text_field( $_POST["sfsi_plus_linkedIn_countsDisplay"] ): 'no';
|
344 |
$sfsi_plus_linkedIn_countsFrom = isset($_POST["sfsi_plus_linkedIn_countsFrom"]) ? sanitize_text_field( $_POST["sfsi_plus_linkedIn_countsFrom"] ): 'manual';
|
411 |
'sfsiplus_tw_consumer_secret' => sfsi_plus_sanitize_field($sfsiplus_tw_consumer_secret),
|
412 |
'sfsiplus_tw_oauth_access_token' => sfsi_plus_sanitize_field($sfsiplus_tw_oauth_access_token),
|
413 |
'sfsiplus_tw_oauth_access_token_secret'=> sfsi_plus_sanitize_field($sfsiplus_tw_oauth_access_token_secret),
|
|
|
|
|
|
|
|
|
|
|
414 |
|
415 |
/*'sfsi_plus_ln_company' => $sfsi_plus_ln_company,
|
416 |
'sfsi_plus_ln_api_key' => $sfsi_plus_ln_api_key,
|
490 |
|
491 |
$sfsi_plus_twitter_MouseOverText = isset($_POST["sfsi_plus_twitter_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_plus_twitter_MouseOverText"] ): '';
|
492 |
$sfsi_plus_facebook_MouseOverText = isset($_POST["sfsi_plus_facebook_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_plus_facebook_MouseOverText"] ): '';
|
|
|
493 |
$sfsi_plus_linkedIn_MouseOverText = isset($_POST["sfsi_plus_linkedIn_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_plus_linkedIn_MouseOverText"] ): '';
|
494 |
$sfsi_plus_pinterest_MouseOverText = isset($_POST["sfsi_plus_pinterest_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_plus_pinterest_MouseOverText"] ): '';
|
495 |
$sfsi_plus_instagram_MouseOverText = isset($_POST["sfsi_plus_instagram_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_plus_instagram_MouseOverText"] ): '';
|
509 |
$sfsi_plus_rssIcon_order = isset($_POST["sfsi_plus_rssIcon_order"]) ? intval( $_POST["sfsi_plus_rssIcon_order"] ): '1';
|
510 |
$sfsi_plus_emailIcon_order = isset($_POST["sfsi_plus_emailIcon_order"]) ? intval( $_POST["sfsi_plus_emailIcon_order"] ): '2';
|
511 |
$sfsi_plus_facebookIcon_order = isset($_POST["sfsi_plus_facebookIcon_order"]) ? intval( $_POST["sfsi_plus_facebookIcon_order"] ): '3';
|
|
|
512 |
$sfsi_plus_twitterIcon_order = isset($_POST["sfsi_plus_twitterIcon_order"]) ? intval( $_POST["sfsi_plus_twitterIcon_order"] ): '5';
|
513 |
$sfsi_plus_youtubeIcon_order = isset($_POST["sfsi_plus_youtubeIcon_order"]) ? intval( $_POST["sfsi_plus_youtubeIcon_order"] ): '7';
|
514 |
$sfsi_plus_pinterestIcon_order = isset($_POST["sfsi_plus_pinterestIcon_order"]) ? intval( $_POST["sfsi_plus_pinterestIcon_order"] ): '8';
|
538 |
$sfsi_plus_twitter_icons_language = isset($_POST["sfsi_plus_twitter_icons_language"])
|
539 |
? sanitize_text_field( $_POST["sfsi_plus_twitter_icons_language"]
|
540 |
): 'Visit_us_en_US';
|
|
|
|
|
|
|
541 |
|
542 |
$sfsi_plus_custom_social_hide = isset($_POST["sfsi_plus_custom_social_hide"]) ? sanitize_text_field( $_POST["sfsi_plus_custom_social_hide"] ): 'no';
|
543 |
|
552 |
'sfsi_plus_follow_icons_language' => sanitize_text_field($sfsi_plus_follow_icons_language),
|
553 |
'sfsi_plus_facebook_icons_language' => sanitize_text_field($sfsi_plus_facebook_icons_language),
|
554 |
'sfsi_plus_twitter_icons_language' => sanitize_text_field($sfsi_plus_twitter_icons_language),
|
|
|
555 |
'sfsi_plus_icons_language' => sanitize_text_field($sfsi_plus_icons_language),
|
556 |
'sfsi_plus_icons_ClickPageOpen' => sanitize_text_field($sfsi_plus_icons_ClickPageOpen),
|
557 |
'sfsi_plus_icons_float' => sanitize_text_field($sfsi_plus_icons_float),
|
564 |
'sfsi_plus_email_MouseOverText' => sanitize_text_field($sfsi_plus_email_MouseOverText),
|
565 |
'sfsi_plus_twitter_MouseOverText' => sanitize_text_field($sfsi_plus_twitter_MouseOverText),
|
566 |
'sfsi_plus_facebook_MouseOverText' => sanitize_text_field($sfsi_plus_facebook_MouseOverText),
|
|
|
567 |
'sfsi_plus_linkedIn_MouseOverText' => sanitize_text_field($sfsi_plus_linkedIn_MouseOverText),
|
568 |
'sfsi_plus_pinterest_MouseOverText' => sanitize_text_field($sfsi_plus_pinterest_MouseOverText),
|
569 |
'sfsi_plus_youtube_MouseOverText' => sanitize_text_field($sfsi_plus_youtube_MouseOverText),
|
573 |
'sfsi_plus_rssIcon_order' => intval($sfsi_plus_rssIcon_order),
|
574 |
'sfsi_plus_emailIcon_order' => intval($sfsi_plus_emailIcon_order),
|
575 |
'sfsi_plus_facebookIcon_order' => intval($sfsi_plus_facebookIcon_order),
|
|
|
576 |
'sfsi_plus_twitterIcon_order' => intval($sfsi_plus_twitterIcon_order),
|
577 |
'sfsi_plus_youtubeIcon_order' => intval($sfsi_plus_youtubeIcon_order),
|
578 |
'sfsi_plus_pinterestIcon_order' => intval($sfsi_plus_pinterestIcon_order),
|
715 |
$sfsi_plus_display_after_blogposts = isset($_POST["sfsi_plus_display_after_blogposts"]) ? sanitize_text_field( $_POST["sfsi_plus_display_after_blogposts"] ): 'no';
|
716 |
$sfsi_plus_rectsub = isset($_POST["sfsi_plus_rectsub"]) ? sanitize_text_field( $_POST["sfsi_plus_rectsub"] ): 'no';
|
717 |
$sfsi_plus_rectfb = isset($_POST["sfsi_plus_rectfb"]) ? sanitize_text_field( $_POST["sfsi_plus_rectfb"] ): 'no';
|
|
|
718 |
$sfsi_plus_recttwtr = isset($_POST["sfsi_plus_recttwtr"]) ? sanitize_text_field( $_POST["sfsi_plus_recttwtr"] ): 'no';
|
719 |
$sfsi_plus_rectpinit = isset($_POST["sfsi_plus_rectpinit"]) ? sanitize_text_field( $_POST["sfsi_plus_rectpinit"] ): 'no';
|
720 |
$sfsi_plus_rectfbshare = isset($_POST["sfsi_plus_rectfbshare"]) ? sanitize_text_field( $_POST["sfsi_plus_rectfbshare"] ): 'no';
|
747 |
'sfsi_plus_display_after_blogposts' => sanitize_text_field($sfsi_plus_display_after_blogposts),
|
748 |
'sfsi_plus_rectsub' => sanitize_text_field($sfsi_plus_rectsub),
|
749 |
'sfsi_plus_rectfb' => sanitize_text_field($sfsi_plus_rectfb),
|
|
|
750 |
'sfsi_plus_recttwtr' => sanitize_text_field($sfsi_plus_recttwtr),
|
751 |
'sfsi_plus_rectpinit' => sanitize_text_field($sfsi_plus_rectpinit),
|
752 |
'sfsi_plus_rectfbshare' => sanitize_text_field($sfsi_plus_rectfbshare)
|
846 |
'email_count'=>'',
|
847 |
'fb_count'=>'',
|
848 |
'twitter_count'=>'',
|
|
|
849 |
'linkedIn_count'=>'',
|
850 |
'youtube_count'=>'',
|
851 |
'pin_count'=>'',
|
libs/controllers/sfsiocns_OnPosts.php
CHANGED
@@ -21,10 +21,6 @@ function sfsi_plus_social_buttons_below($content)
|
|
21 |
{
|
22 |
$sfsi_section8['sfsi_plus_rectfb'] = 'yes';
|
23 |
}
|
24 |
-
if(!isset($sfsi_section8['sfsi_plus_rectgp']))
|
25 |
-
{
|
26 |
-
$sfsi_section8['sfsi_plus_rectgp'] = 'yes';
|
27 |
-
}
|
28 |
if(!isset($sfsi_section8['sfsi_plus_recttwtr']))
|
29 |
{
|
30 |
$sfsi_section8['sfsi_plus_recttwtr'] = 'no';
|
@@ -65,7 +61,7 @@ function sfsi_plus_social_buttons_below($content)
|
|
65 |
$txt=(isset($sfsi_section8['sfsi_plus_textBefor_icons']))? $sfsi_section8['sfsi_plus_textBefor_icons'] : "Please follow and like us:" ;
|
66 |
//$float= $sfsi_section6['sfsi_plus_icons_alignment'];
|
67 |
$float= $sfsi_section8['sfsi_plus_icons_alignment'];
|
68 |
-
if($sfsi_section8['sfsi_plus_rectsub'] == 'yes' || $sfsi_section8['sfsi_plus_rectfb'] == 'yes' || $sfsi_section8['
|
69 |
{
|
70 |
$icons="<div class='sfsi_plus_Sicons ".$float."' style='float:".$float."'><div style='display: inline-block;margin-bottom: 0; margin-left: 0; margin-right: 8px; margin-top: 0; vertical-align: middle;width: auto;'><span>".$txt."</span></div>";
|
71 |
}
|
@@ -96,11 +92,6 @@ function sfsi_plus_social_buttons_below($content)
|
|
96 |
if($show_count){$sfsiLikeWithpinit = "100px";}else{$sfsiLikeWithpinit = "auto";}
|
97 |
$icons.="<div class='sf_pinit' style='display: inline-block;text-align:left;vertical-align: middle;width: ".$sfsiLikeWithpinit.";'>".sfsi_plus_pinitpinterest($permalink,$show_count)."</div>";
|
98 |
}
|
99 |
-
if($sfsi_section8['sfsi_plus_rectgp'] == 'yes')
|
100 |
-
{
|
101 |
-
if($show_count){$sfsiLikeWithpingogl = "63px";}else{$sfsiLikeWithpingogl = "auto";}
|
102 |
-
$icons.="<div class='sf_google' style='display: inline-block;vertical-align: middle; width:".$sfsiLikeWithpingogl.";'>".sfsi_plus_googlePlus($permalink,$show_count)."</div>";
|
103 |
-
}
|
104 |
$icons.="</div>";
|
105 |
|
106 |
if(!is_feed() && !is_home() && !is_page())
|
@@ -274,10 +265,6 @@ function sfsi_plus_footer_script()
|
|
274 |
{
|
275 |
$sfsi_section8['sfsi_plus_rectfb'] = 'yes';
|
276 |
}
|
277 |
-
if(!isset($sfsi_section8['sfsi_plus_rectgp']))
|
278 |
-
{
|
279 |
-
$sfsi_section8['sfsi_plus_rectgp'] = 'yes';
|
280 |
-
}
|
281 |
if(!isset($sfsi_section8['sfsi_plus_recttwtr']))
|
282 |
{
|
283 |
$sfsi_section8['sfsi_plus_recttwtr'] = 'no';
|
21 |
{
|
22 |
$sfsi_section8['sfsi_plus_rectfb'] = 'yes';
|
23 |
}
|
|
|
|
|
|
|
|
|
24 |
if(!isset($sfsi_section8['sfsi_plus_recttwtr']))
|
25 |
{
|
26 |
$sfsi_section8['sfsi_plus_recttwtr'] = 'no';
|
61 |
$txt=(isset($sfsi_section8['sfsi_plus_textBefor_icons']))? $sfsi_section8['sfsi_plus_textBefor_icons'] : "Please follow and like us:" ;
|
62 |
//$float= $sfsi_section6['sfsi_plus_icons_alignment'];
|
63 |
$float= $sfsi_section8['sfsi_plus_icons_alignment'];
|
64 |
+
if($sfsi_section8['sfsi_plus_rectsub'] == 'yes' || $sfsi_section8['sfsi_plus_rectfb'] == 'yes' || $sfsi_section8['sfsi_plus_recttwtr'] == 'yes' || $sfsi_section8['sfsi_plus_rectpinit'] == 'yes' || $sfsi_section8['sfsi_plus_rectfbshare'] == 'yes')
|
65 |
{
|
66 |
$icons="<div class='sfsi_plus_Sicons ".$float."' style='float:".$float."'><div style='display: inline-block;margin-bottom: 0; margin-left: 0; margin-right: 8px; margin-top: 0; vertical-align: middle;width: auto;'><span>".$txt."</span></div>";
|
67 |
}
|
92 |
if($show_count){$sfsiLikeWithpinit = "100px";}else{$sfsiLikeWithpinit = "auto";}
|
93 |
$icons.="<div class='sf_pinit' style='display: inline-block;text-align:left;vertical-align: middle;width: ".$sfsiLikeWithpinit.";'>".sfsi_plus_pinitpinterest($permalink,$show_count)."</div>";
|
94 |
}
|
|
|
|
|
|
|
|
|
|
|
95 |
$icons.="</div>";
|
96 |
|
97 |
if(!is_feed() && !is_home() && !is_page())
|
265 |
{
|
266 |
$sfsi_section8['sfsi_plus_rectfb'] = 'yes';
|
267 |
}
|
|
|
|
|
|
|
|
|
268 |
if(!isset($sfsi_section8['sfsi_plus_recttwtr']))
|
269 |
{
|
270 |
$sfsi_section8['sfsi_plus_recttwtr'] = 'no';
|
libs/sfsi_gutenberg_block.php
CHANGED
@@ -164,10 +164,6 @@ function sfsi_plus_render_gutenberg_rectangle($args = null, $content = null,$sha
|
|
164 |
{
|
165 |
$sfsi_section8['sfsi_plus_rectfb'] = 'yes';
|
166 |
}
|
167 |
-
if(!isset($sfsi_section8['sfsi_plus_rectgp']))
|
168 |
-
{
|
169 |
-
$sfsi_section8['sfsi_plus_rectgp'] = 'yes';
|
170 |
-
}
|
171 |
if(!isset($sfsi_section8['sfsi_plus_recttwtr']))
|
172 |
{
|
173 |
$sfsi_section8['sfsi_plus_recttwtr'] = 'no';
|
@@ -208,7 +204,7 @@ function sfsi_plus_render_gutenberg_rectangle($args = null, $content = null,$sha
|
|
208 |
// $txt=(isset($sfsi_section8['sfsi_plus_textBefor_icons']))? $sfsi_section8['sfsi_plus_textBefor_icons'] : "Please follow and like us:" ;
|
209 |
//$float= $sfsi_section6['sfsi_plus_icons_alignment'];
|
210 |
$float= $sfsi_section8['sfsi_plus_icons_alignment'];
|
211 |
-
if($sfsi_section8['sfsi_plus_rectsub'] == 'yes' || $sfsi_section8['sfsi_plus_rectfb'] == 'yes' || $sfsi_section8['
|
212 |
{
|
213 |
$icons="<div class='sfsi_plus_Sicons ".$float."' style='float:".$float."'><div style='display: inline-block;margin-bottom: 0; margin-left: 0; margin-right: 8px; margin-top: 0; vertical-align: middle;width: auto;'><span>".$txt."</span></div>";
|
214 |
}
|
@@ -236,11 +232,6 @@ function sfsi_plus_render_gutenberg_rectangle($args = null, $content = null,$sha
|
|
236 |
if($show_count){$sfsiLikeWithpinit = "100px";}else{$sfsiLikeWithpinit = "auto";}
|
237 |
$icons.="<div class='sf_pinit' style='display: inline-block;text-align:left;vertical-align: top;width: ".$sfsiLikeWithpinit.";'>".sfsi_plus_pinitpinterest($permalink,$show_count)."</div>";
|
238 |
}
|
239 |
-
if($sfsi_section8['sfsi_plus_rectgp'] == 'yes')
|
240 |
-
{
|
241 |
-
if($show_count){$sfsiLikeWithpingogl = "63px";}else{$sfsiLikeWithpingogl = "auto";}
|
242 |
-
$icons.="<div class='sf_google' style='display: inline-block;vertical-align: top; width:".$sfsiLikeWithpingogl.";'>".sfsi_plus_googlePlus($permalink,$show_count)."</div>";
|
243 |
-
}
|
244 |
$icons.="</div>";
|
245 |
return $icons;
|
246 |
} else{
|
164 |
{
|
165 |
$sfsi_section8['sfsi_plus_rectfb'] = 'yes';
|
166 |
}
|
|
|
|
|
|
|
|
|
167 |
if(!isset($sfsi_section8['sfsi_plus_recttwtr']))
|
168 |
{
|
169 |
$sfsi_section8['sfsi_plus_recttwtr'] = 'no';
|
204 |
// $txt=(isset($sfsi_section8['sfsi_plus_textBefor_icons']))? $sfsi_section8['sfsi_plus_textBefor_icons'] : "Please follow and like us:" ;
|
205 |
//$float= $sfsi_section6['sfsi_plus_icons_alignment'];
|
206 |
$float= $sfsi_section8['sfsi_plus_icons_alignment'];
|
207 |
+
if($sfsi_section8['sfsi_plus_rectsub'] == 'yes' || $sfsi_section8['sfsi_plus_rectfb'] == 'yes' || $sfsi_section8['sfsi_plus_recttwtr'] == 'yes' || $sfsi_section8['sfsi_plus_rectpinit'] == 'yes' || $sfsi_section8['sfsi_plus_rectfbshare'] == 'yes')
|
208 |
{
|
209 |
$icons="<div class='sfsi_plus_Sicons ".$float."' style='float:".$float."'><div style='display: inline-block;margin-bottom: 0; margin-left: 0; margin-right: 8px; margin-top: 0; vertical-align: middle;width: auto;'><span>".$txt."</span></div>";
|
210 |
}
|
232 |
if($show_count){$sfsiLikeWithpinit = "100px";}else{$sfsiLikeWithpinit = "auto";}
|
233 |
$icons.="<div class='sf_pinit' style='display: inline-block;text-align:left;vertical-align: top;width: ".$sfsiLikeWithpinit.";'>".sfsi_plus_pinitpinterest($permalink,$show_count)."</div>";
|
234 |
}
|
|
|
|
|
|
|
|
|
|
|
235 |
$icons.="</div>";
|
236 |
return $icons;
|
237 |
} else{
|
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", "3.
|
16 |
|
17 |
if(!get_option('sfsi_plus_serverphpVersionnotification'))
|
18 |
{
|
@@ -632,7 +632,6 @@ function sfsi_plus_activate_plugin()
|
|
632 |
'sfsi_plus_display_after_blogposts'=>'no',
|
633 |
'sfsi_plus_rectsub'=>'yes',
|
634 |
'sfsi_plus_rectfb'=>'yes',
|
635 |
-
'sfsi_plus_rectgp'=>'no',
|
636 |
'sfsi_plus_recttwtr'=>'yes',
|
637 |
'sfsi_plus_rectpinit'=>'yes',
|
638 |
'sfsi_plus_rectfbshare'=>'yes',
|
@@ -732,6 +731,12 @@ function sfsi_plus_remove_google(){
|
|
732 |
unset($option5['sfsi_plus_google_MouseOverText']);
|
733 |
}
|
734 |
update_option('sfsi_plus_section5_options', serialize($option5));
|
|
|
|
|
|
|
|
|
|
|
|
|
735 |
|
736 |
}
|
737 |
function sfsi_plus_updateFeedPing($status,$feed_id)
|
12 |
}
|
13 |
|
14 |
//Install version
|
15 |
+
update_option("sfsi_plus_pluginVersion", "3.16");
|
16 |
|
17 |
if(!get_option('sfsi_plus_serverphpVersionnotification'))
|
18 |
{
|
632 |
'sfsi_plus_display_after_blogposts'=>'no',
|
633 |
'sfsi_plus_rectsub'=>'yes',
|
634 |
'sfsi_plus_rectfb'=>'yes',
|
|
|
635 |
'sfsi_plus_recttwtr'=>'yes',
|
636 |
'sfsi_plus_rectpinit'=>'yes',
|
637 |
'sfsi_plus_rectfbshare'=>'yes',
|
731 |
unset($option5['sfsi_plus_google_MouseOverText']);
|
732 |
}
|
733 |
update_option('sfsi_plus_section5_options', serialize($option5));
|
734 |
+
|
735 |
+
$option8 = unserialize(get_option('sfsi_plus_section8_options',false));
|
736 |
+
if(isset($option8['sfsi_plus_rectgp'])){
|
737 |
+
unset($option8['sfsi_plus_rectgp']);
|
738 |
+
}
|
739 |
+
update_option('sfsi_plus_section8_options', serialize($option8));
|
740 |
|
741 |
}
|
742 |
function sfsi_plus_updateFeedPing($status,$feed_id)
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: socialsharepro, socialtech
|
|
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: 5.2
|
6 |
-
Stable tag: 3.1.
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -446,6 +446,11 @@ The premium plugin offrs many more social buttons from other social media platfo
|
|
446 |
|
447 |
|
448 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
449 |
= 3.1.5 =
|
450 |
* Update: Corrected typos
|
451 |
* Update: Updated theme suggestion data
|
@@ -874,5 +879,5 @@ The premium plugin offrs many more social buttons from other social media platfo
|
|
874 |
|
875 |
== Upgrade Notice ==
|
876 |
|
877 |
-
= 3.1.
|
878 |
* 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: 5.2
|
6 |
+
Stable tag: 3.1.6
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
446 |
|
447 |
|
448 |
== Changelog ==
|
449 |
+
|
450 |
+
= 3.1.6 =
|
451 |
+
* Update: Removed Google icon
|
452 |
+
* Update: Nonce error in Q6 preview language icons corrected
|
453 |
+
|
454 |
= 3.1.5 =
|
455 |
* Update: Corrected typos
|
456 |
* Update: Updated theme suggestion data
|
879 |
|
880 |
== Upgrade Notice ==
|
881 |
|
882 |
+
= 3.1.6 =
|
883 |
* 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: 3.1.
|
11 |
License: GPLv2
|
12 |
*/
|
13 |
|
@@ -104,7 +104,7 @@ register_deactivation_hook(__FILE__, 'sfsi_plus_deactivate_plugin');
|
|
104 |
//register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
105 |
|
106 |
/*Plugin version setup*/
|
107 |
-
if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 3.
|
108 |
{
|
109 |
add_action("init", "sfsi_plus_update_plugin");
|
110 |
}
|
@@ -426,14 +426,6 @@ function sfsi_plus_beforeafterblogposts( $content )
|
|
426 |
{
|
427 |
$sfsi_section8['sfsi_plus_rectsub'] = 'no';
|
428 |
}
|
429 |
-
if(!isset($sfsi_section8['sfsi_plus_rectfb']))
|
430 |
-
{
|
431 |
-
$sfsi_section8['sfsi_plus_rectfb'] = 'yes';
|
432 |
-
}
|
433 |
-
if(!isset($sfsi_section8['sfsi_plus_rectgp']))
|
434 |
-
{
|
435 |
-
$sfsi_section8['sfsi_plus_rectgp'] = 'no';
|
436 |
-
}
|
437 |
if(!isset($sfsi_section8['sfsi_plus_recttwtr']))
|
438 |
{
|
439 |
$sfsi_section8['sfsi_plus_recttwtr'] = 'no';
|
@@ -474,7 +466,6 @@ function sfsi_plus_beforeafterblogposts( $content )
|
|
474 |
if(
|
475 |
$sfsi_section8['sfsi_plus_rectsub'] == 'yes' ||
|
476 |
$sfsi_section8['sfsi_plus_rectfb'] == 'yes' ||
|
477 |
-
$sfsi_section8['sfsi_plus_rectgp'] == 'yes' ||
|
478 |
$sfsi_section8['sfsi_plus_recttwtr'] == 'yes' ||
|
479 |
$sfsi_section8['sfsi_plus_rectpinit'] == 'yes' ||
|
480 |
$sfsi_section8['sfsi_plus_rectfbshare'] == 'yes'
|
@@ -511,12 +502,6 @@ function sfsi_plus_beforeafterblogposts( $content )
|
|
511 |
if($show_count){$sfsiLikeWithpinit = "100px";}else{$sfsiLikeWithpinit = "auto";}
|
512 |
$icons_before.="<div class='sf_pinit' style='display: inline-block;vertical-align: middle;text-align:left;width: ".$sfsiLikeWithpinit."'>".sfsi_plus_pinitpinterest($permalink,$show_count)."</div>";
|
513 |
}
|
514 |
-
|
515 |
-
if($sfsi_section8['sfsi_plus_rectgp'] == 'yes')
|
516 |
-
{
|
517 |
-
if($show_count){$sfsiLikeWithpingogl = "63px";}else{$sfsiLikeWithpingogl = "auto";}
|
518 |
-
$icons_before .= "<div class='sf_google' style='display: inline-block;vertical-align: middle;width: ".$sfsiLikeWithpingogl.";'>".sfsi_plus_googlePlus($permalink,$show_count)."</div>";
|
519 |
-
}
|
520 |
}
|
521 |
else
|
522 |
{
|
@@ -546,7 +531,6 @@ function sfsi_plus_beforeafterblogposts( $content )
|
|
546 |
if(
|
547 |
$sfsi_section8['sfsi_plus_rectsub'] == 'yes' ||
|
548 |
$sfsi_section8['sfsi_plus_rectfb'] == 'yes' ||
|
549 |
-
$sfsi_section8['sfsi_plus_rectgp'] == 'yes' ||
|
550 |
$sfsi_section8['sfsi_plus_recttwtr'] == 'yes' ||
|
551 |
$sfsi_section8['sfsi_plus_rectpinit'] == 'yes' ||
|
552 |
$sfsi_section8['sfsi_plus_rectfbshare'] == 'yes'
|
@@ -583,12 +567,6 @@ function sfsi_plus_beforeafterblogposts( $content )
|
|
583 |
if($show_count){$sfsiLikeWithpinit = "100px";}else{$sfsiLikeWithpinit = "auto";}
|
584 |
$icons_after.="<div class='sf_pinit' style='display: inline-block;text-align:left;vertical-align: middle;width: ".$sfsiLikeWithpinit."'>".sfsi_plus_pinitpinterest($permalink,$show_count)."</div>";
|
585 |
}
|
586 |
-
|
587 |
-
if($sfsi_section8['sfsi_plus_rectgp'] == 'yes')
|
588 |
-
{
|
589 |
-
if($show_count){$sfsiLikeWithpingogl = "63px";}else{$sfsiLikeWithpingogl = "auto";}
|
590 |
-
$icons_after .= "<div class='sf_google' style='display: inline-block;vertical-align: middle;width: ".$sfsiLikeWithpingogl.";'>".sfsi_plus_googlePlus($permalink,$show_count)."</div>";
|
591 |
-
}
|
592 |
}
|
593 |
else
|
594 |
{
|
7 |
Text Domain: ultimate-social-media-plus
|
8 |
Domain Path: /languages
|
9 |
Author URI: http://socialshare.pro/
|
10 |
+
Version: 3.1.6
|
11 |
License: GPLv2
|
12 |
*/
|
13 |
|
104 |
//register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
105 |
|
106 |
/*Plugin version setup*/
|
107 |
+
if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 3.16)
|
108 |
{
|
109 |
add_action("init", "sfsi_plus_update_plugin");
|
110 |
}
|
426 |
{
|
427 |
$sfsi_section8['sfsi_plus_rectsub'] = 'no';
|
428 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
429 |
if(!isset($sfsi_section8['sfsi_plus_recttwtr']))
|
430 |
{
|
431 |
$sfsi_section8['sfsi_plus_recttwtr'] = 'no';
|
466 |
if(
|
467 |
$sfsi_section8['sfsi_plus_rectsub'] == 'yes' ||
|
468 |
$sfsi_section8['sfsi_plus_rectfb'] == 'yes' ||
|
|
|
469 |
$sfsi_section8['sfsi_plus_recttwtr'] == 'yes' ||
|
470 |
$sfsi_section8['sfsi_plus_rectpinit'] == 'yes' ||
|
471 |
$sfsi_section8['sfsi_plus_rectfbshare'] == 'yes'
|
502 |
if($show_count){$sfsiLikeWithpinit = "100px";}else{$sfsiLikeWithpinit = "auto";}
|
503 |
$icons_before.="<div class='sf_pinit' style='display: inline-block;vertical-align: middle;text-align:left;width: ".$sfsiLikeWithpinit."'>".sfsi_plus_pinitpinterest($permalink,$show_count)."</div>";
|
504 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
505 |
}
|
506 |
else
|
507 |
{
|
531 |
if(
|
532 |
$sfsi_section8['sfsi_plus_rectsub'] == 'yes' ||
|
533 |
$sfsi_section8['sfsi_plus_rectfb'] == 'yes' ||
|
|
|
534 |
$sfsi_section8['sfsi_plus_recttwtr'] == 'yes' ||
|
535 |
$sfsi_section8['sfsi_plus_rectpinit'] == 'yes' ||
|
536 |
$sfsi_section8['sfsi_plus_rectfbshare'] == 'yes'
|
567 |
if($show_count){$sfsiLikeWithpinit = "100px";}else{$sfsiLikeWithpinit = "auto";}
|
568 |
$icons_after.="<div class='sf_pinit' style='display: inline-block;text-align:left;vertical-align: middle;width: ".$sfsiLikeWithpinit."'>".sfsi_plus_pinitpinterest($permalink,$show_count)."</div>";
|
569 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
570 |
}
|
571 |
else
|
572 |
{
|
views/sfsi_option_view1.php
CHANGED
@@ -18,9 +18,6 @@
|
|
18 |
$option1['sfsi_plus_twitter_display'] = (isset($option1['sfsi_plus_twitter_display']))
|
19 |
? sanitize_text_field($option1['sfsi_plus_twitter_display'])
|
20 |
: '';
|
21 |
-
$option1['sfsi_plus_google_display'] = (isset($option1['sfsi_plus_google_display']))
|
22 |
-
? sanitize_text_field($option1['sfsi_plus_google_display'])
|
23 |
-
: '';
|
24 |
$option1['sfsi_plus_youtube_display'] = (isset($option1['sfsi_plus_youtube_display']))
|
25 |
? sanitize_text_field($option1['sfsi_plus_youtube_display'])
|
26 |
: '';
|
18 |
$option1['sfsi_plus_twitter_display'] = (isset($option1['sfsi_plus_twitter_display']))
|
19 |
? sanitize_text_field($option1['sfsi_plus_twitter_display'])
|
20 |
: '';
|
|
|
|
|
|
|
21 |
$option1['sfsi_plus_youtube_display'] = (isset($option1['sfsi_plus_youtube_display']))
|
22 |
? sanitize_text_field($option1['sfsi_plus_youtube_display'])
|
23 |
: '';
|
views/sfsi_option_view2.php
CHANGED
@@ -46,20 +46,6 @@
|
|
46 |
$option2['sfsi_plus_twitter_aboutPageText'] = (isset($option2['sfsi_plus_twitter_aboutPageText']))
|
47 |
? sanitize_text_field($option2['sfsi_plus_twitter_aboutPageText'])
|
48 |
: '';
|
49 |
-
|
50 |
-
$option2['sfsi_plus_google_page'] = (isset($option2['sfsi_plus_google_page']))
|
51 |
-
? sanitize_text_field($option2['sfsi_plus_google_page'])
|
52 |
-
: '';
|
53 |
-
$option2['sfsi_plus_google_pageURL'] = (isset($option2['sfsi_plus_google_pageURL']))
|
54 |
-
? esc_url($option2['sfsi_plus_google_pageURL'])
|
55 |
-
: '';
|
56 |
-
$option2['sfsi_plus_googleLike_option'] = (isset($option2['sfsi_plus_googleLike_option']))
|
57 |
-
? sanitize_text_field($option2['sfsi_plus_googleLike_option'])
|
58 |
-
: '';
|
59 |
-
$option2['sfsi_plus_googleShare_option'] = (isset($option2['sfsi_plus_googleShare_option']))
|
60 |
-
? sanitize_text_field($option2['sfsi_plus_googleShare_option'])
|
61 |
-
: '';
|
62 |
-
|
63 |
$option2['sfsi_plus_youtube_pageUrl'] = (isset($option2['sfsi_plus_youtube_pageUrl']))
|
64 |
? esc_url($option2['sfsi_plus_youtube_pageUrl'])
|
65 |
: '';
|
@@ -129,14 +115,8 @@
|
|
129 |
: 'yes';
|
130 |
$option2['sfsi_plus_premium_twitter_box'] = (isset($option2['sfsi_plus_premium_twitter_box']))
|
131 |
? sanitize_text_field($option2['sfsi_plus_premium_twitter_box'])
|
132 |
-
: 'yes';
|
133 |
-
|
134 |
-
$option2['sfsi_plus_premium_google_box'] = (isset($option2['sfsi_plus_premium_google_box']))
|
135 |
-
? sanitize_text_field($option2['sfsi_plus_premium_google_box'])
|
136 |
-
: 'yes';
|
137 |
-
// MZ CODE START
|
138 |
-
|
139 |
-
$option2['sfsi_plus_okLike_option'] = (isset($option2['sfsi_plus_okLike_option']))
|
140 |
? sanitize_text_field($option2['sfsi_plus_okLike_option'])
|
141 |
: 'no';
|
142 |
$option2['sfsi_plus_okVisit_option'] = (isset($option2['sfsi_plus_okVisit_option']))
|
@@ -205,9 +185,6 @@ $option2['sfsi_plus_okLike_option'] = (isset($option2['sfsi_plus_okLike_option'
|
|
205 |
$option2['sfsi_plus_weiboLike_option'] = (isset($option2['sfsi_plus_weiboLike_option']))
|
206 |
? sanitize_text_field($option2['sfsi_plus_weiboLike_option'])
|
207 |
: 'no';
|
208 |
-
|
209 |
-
//MZ CODE END
|
210 |
-
|
211 |
?>
|
212 |
<!-- Section 2 "What do you want the icons to do?" main div Start -->
|
213 |
<div class="tab2">
|
46 |
$option2['sfsi_plus_twitter_aboutPageText'] = (isset($option2['sfsi_plus_twitter_aboutPageText']))
|
47 |
? sanitize_text_field($option2['sfsi_plus_twitter_aboutPageText'])
|
48 |
: '';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
$option2['sfsi_plus_youtube_pageUrl'] = (isset($option2['sfsi_plus_youtube_pageUrl']))
|
50 |
? esc_url($option2['sfsi_plus_youtube_pageUrl'])
|
51 |
: '';
|
115 |
: 'yes';
|
116 |
$option2['sfsi_plus_premium_twitter_box'] = (isset($option2['sfsi_plus_premium_twitter_box']))
|
117 |
? sanitize_text_field($option2['sfsi_plus_premium_twitter_box'])
|
118 |
+
: 'yes';
|
119 |
+
$option2['sfsi_plus_okLike_option'] = (isset($option2['sfsi_plus_okLike_option']))
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
? sanitize_text_field($option2['sfsi_plus_okLike_option'])
|
121 |
: 'no';
|
122 |
$option2['sfsi_plus_okVisit_option'] = (isset($option2['sfsi_plus_okVisit_option']))
|
185 |
$option2['sfsi_plus_weiboLike_option'] = (isset($option2['sfsi_plus_weiboLike_option']))
|
186 |
? sanitize_text_field($option2['sfsi_plus_weiboLike_option'])
|
187 |
: 'no';
|
|
|
|
|
|
|
188 |
?>
|
189 |
<!-- Section 2 "What do you want the icons to do?" main div Start -->
|
190 |
<div class="tab2">
|
views/sfsi_option_view4.php
CHANGED
@@ -64,21 +64,6 @@
|
|
64 |
$option4['sfsiplus_tw_oauth_access_token_secret']= (isset($option4['sfsiplus_tw_oauth_access_token_secret']))
|
65 |
? sfsi_plus_sanitize_field($option4['sfsiplus_tw_oauth_access_token_secret'])
|
66 |
: '';
|
67 |
-
|
68 |
-
|
69 |
-
$option4['sfsi_plus_google_countsFrom'] = (isset($option4['sfsi_plus_google_countsFrom']))
|
70 |
-
? sanitize_text_field($option4['sfsi_plus_google_countsFrom'])
|
71 |
-
: '';
|
72 |
-
$option4['sfsi_plus_google_manualCounts'] = (isset($option4['sfsi_plus_google_manualCounts']))
|
73 |
-
? intval($option4['sfsi_plus_google_manualCounts'])
|
74 |
-
: '';
|
75 |
-
$option4['sfsi_plus_google_api_key'] = (isset($option4['sfsi_plus_google_api_key']))
|
76 |
-
? sfsi_plus_sanitize_field($option4['sfsi_plus_google_api_key'])
|
77 |
-
: '';
|
78 |
-
$option4['sfsi_plus_google_countsDisplay'] = (isset($option4['sfsi_plus_google_countsDisplay']))
|
79 |
-
? sanitize_text_field($option4['sfsi_plus_google_countsDisplay'])
|
80 |
-
: '';
|
81 |
-
|
82 |
$option4['sfsi_plus_youtube_countsDisplay'] = (isset($option4['sfsi_plus_youtube_countsDisplay']))
|
83 |
? sanitize_text_field($option4['sfsi_plus_youtube_countsDisplay'])
|
84 |
: '';
|
64 |
$option4['sfsiplus_tw_oauth_access_token_secret']= (isset($option4['sfsiplus_tw_oauth_access_token_secret']))
|
65 |
? sfsi_plus_sanitize_field($option4['sfsiplus_tw_oauth_access_token_secret'])
|
66 |
: '';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
$option4['sfsi_plus_youtube_countsDisplay'] = (isset($option4['sfsi_plus_youtube_countsDisplay']))
|
68 |
? sanitize_text_field($option4['sfsi_plus_youtube_countsDisplay'])
|
69 |
: '';
|
views/sfsi_option_view5.php
CHANGED
@@ -61,9 +61,6 @@
|
|
61 |
$option5['sfsi_plus_twitter_icons_language']= (isset($option5['sfsi_plus_twitter_icons_language']))
|
62 |
? sanitize_text_field($option5['sfsi_plus_twitter_icons_language'])
|
63 |
: '';
|
64 |
-
$option5['sfsi_plus_google_icons_language'] = (isset($option5['sfsi_plus_google_icons_language']))
|
65 |
-
? sanitize_text_field($option5['sfsi_plus_google_icons_language'])
|
66 |
-
: '';
|
67 |
$option5['sfsi_plus_icons_ClickPageOpen'] = (isset($option5['sfsi_plus_icons_ClickPageOpen']))
|
68 |
? sanitize_text_field($option5['sfsi_plus_icons_ClickPageOpen'])
|
69 |
: '';
|
@@ -86,9 +83,6 @@
|
|
86 |
$option5['sfsi_plus_facebook_MouseOverText']= (isset($option5['sfsi_plus_facebook_MouseOverText']))
|
87 |
? sanitize_text_field($option5['sfsi_plus_facebook_MouseOverText'])
|
88 |
: '';
|
89 |
-
$option5['sfsi_plus_google_MouseOverText'] = (isset($option5['sfsi_plus_google_MouseOverText']))
|
90 |
-
? sanitize_text_field($option5['sfsi_plus_google_MouseOverText'])
|
91 |
-
: '';
|
92 |
$option5['sfsi_plus_linkedIn_MouseOverText']= (isset($option5['sfsi_plus_linkedIn_MouseOverText']))
|
93 |
? sanitize_text_field($option5['sfsi_plus_linkedIn_MouseOverText'])
|
94 |
: '';
|
@@ -175,16 +169,11 @@
|
|
175 |
elseif($name == "sfsi_plus_twitter_icons_language")
|
176 |
{
|
177 |
$visit_icon = $visit_iconsUrl."Visit_us_twitter";
|
178 |
-
}
|
179 |
-
elseif($name == "sfsi_plus_google_icons_language")
|
180 |
-
{
|
181 |
-
$visit_icon = $visit_iconsUrl."Visit_us_google";
|
182 |
-
}
|
183 |
-
|
184 |
$option5 = unserialize(get_option('sfsi_plus_section5_options',false));
|
185 |
|
186 |
?>
|
187 |
-
<select name="<?php echo $name; ?>" id="<?php echo $name; ?>" data-iconUrl="<?php echo $visit_icon; ?>" class="<?php echo $name; ?>-preview lanOnchange">
|
188 |
<option value="<?php echo $follow; ?>_ar" <?php echo ($option5[$name]== $follow.'_ar') ? 'selected="selected"' : '' ; ?>>
|
189 |
العربية<span> - << </span><span><?php echo $follow ?></span><span> >> </span>
|
190 |
</option>
|
61 |
$option5['sfsi_plus_twitter_icons_language']= (isset($option5['sfsi_plus_twitter_icons_language']))
|
62 |
? sanitize_text_field($option5['sfsi_plus_twitter_icons_language'])
|
63 |
: '';
|
|
|
|
|
|
|
64 |
$option5['sfsi_plus_icons_ClickPageOpen'] = (isset($option5['sfsi_plus_icons_ClickPageOpen']))
|
65 |
? sanitize_text_field($option5['sfsi_plus_icons_ClickPageOpen'])
|
66 |
: '';
|
83 |
$option5['sfsi_plus_facebook_MouseOverText']= (isset($option5['sfsi_plus_facebook_MouseOverText']))
|
84 |
? sanitize_text_field($option5['sfsi_plus_facebook_MouseOverText'])
|
85 |
: '';
|
|
|
|
|
|
|
86 |
$option5['sfsi_plus_linkedIn_MouseOverText']= (isset($option5['sfsi_plus_linkedIn_MouseOverText']))
|
87 |
? sanitize_text_field($option5['sfsi_plus_linkedIn_MouseOverText'])
|
88 |
: '';
|
169 |
elseif($name == "sfsi_plus_twitter_icons_language")
|
170 |
{
|
171 |
$visit_icon = $visit_iconsUrl."Visit_us_twitter";
|
172 |
+
}
|
|
|
|
|
|
|
|
|
|
|
173 |
$option5 = unserialize(get_option('sfsi_plus_section5_options',false));
|
174 |
|
175 |
?>
|
176 |
+
<select name="<?php echo $name; ?>" id="<?php echo $name; ?>" data-iconUrl="<?php echo $visit_icon; ?>" class="<?php echo $name; ?>-preview lanOnchange" data-nonce="<?php echo wp_create_nonce('plus_getIconPreview');?>" >
|
177 |
<option value="<?php echo $follow; ?>_ar" <?php echo ($option5[$name]== $follow.'_ar') ? 'selected="selected"' : '' ; ?>>
|
178 |
العربية<span> - << </span><span><?php echo $follow ?></span><span> >> </span>
|
179 |
</option>
|
views/sfsi_option_view8.php
CHANGED
@@ -9,10 +9,6 @@
|
|
9 |
{
|
10 |
$option8['sfsi_plus_rectfb'] = 'yes';
|
11 |
}
|
12 |
-
if(!isset($option8['sfsi_plus_rectgp']))
|
13 |
-
{
|
14 |
-
$option8['sfsi_plus_rectgp'] = 'no';
|
15 |
-
}
|
16 |
if(!isset($option8['sfsi_plus_recttwtr']))
|
17 |
{
|
18 |
$option8['sfsi_plus_recttwtr'] = 'no';
|
@@ -84,9 +80,6 @@
|
|
84 |
$option8['sfsi_plus_rectfb'] = (isset($option8['sfsi_plus_rectfb']))
|
85 |
? sanitize_text_field($option8['sfsi_plus_rectfb'])
|
86 |
: '';
|
87 |
-
$option8['sfsi_plus_rectgp'] = (isset($option8['sfsi_plus_rectgp']))
|
88 |
-
? sanitize_text_field($option8['sfsi_plus_rectgp'])
|
89 |
-
: '';
|
90 |
$option8['sfsi_plus_recttwtr'] = (isset($option8['sfsi_plus_recttwtr']))
|
91 |
? sanitize_text_field($option8['sfsi_plus_recttwtr'])
|
92 |
: '';
|
9 |
{
|
10 |
$option8['sfsi_plus_rectfb'] = 'yes';
|
11 |
}
|
|
|
|
|
|
|
|
|
12 |
if(!isset($option8['sfsi_plus_recttwtr']))
|
13 |
{
|
14 |
$option8['sfsi_plus_recttwtr'] = 'no';
|
80 |
$option8['sfsi_plus_rectfb'] = (isset($option8['sfsi_plus_rectfb']))
|
81 |
? sanitize_text_field($option8['sfsi_plus_rectfb'])
|
82 |
: '';
|
|
|
|
|
|
|
83 |
$option8['sfsi_plus_recttwtr'] = (isset($option8['sfsi_plus_recttwtr']))
|
84 |
? sanitize_text_field($option8['sfsi_plus_recttwtr'])
|
85 |
: '';
|