Version Description
- Updated texts
Download this release
Release Info
Developer | socialsharepro |
Plugin | Social Share Icons & Social Share Buttons |
Version | 3.3.3 |
Comparing to | |
See all releases |
Code changes from version 3.3.2 to 3.3.3
- js/custom-admin.js +3 -3
- libs/controllers/sfsi_buttons_controller.php +11 -9
- libs/controllers/sfsi_frontpopUp.php +2 -0
- libs/sfsi_install_uninstall.php +1 -1
- readme.txt +4 -2
- ultimate_social_media_icons.php +2 -2
- views/sfsi_option_view7.php +4 -2
- views/sfsi_pop_content.php +1 -2
- views/sfsi_section_for_premium.php +1 -1
js/custom-admin.js
CHANGED
@@ -1087,9 +1087,9 @@ function sfsi_plus_update_step8() {
|
|
1087 |
responsive_icons.settings.margin_below = SFSI('input[name="sfsi_plus_responsive_icons_settings_margin_below"]').val();
|
1088 |
|
1089 |
|
1090 |
-
|
1091 |
-
|
1092 |
-
})
|
1093 |
var mst = SFSI("input[name='sfsi_plus_icons_floatMargin_top']").val(),
|
1094 |
msb = SFSI("input[name='sfsi_plus_icons_floatMargin_bottom']").val(),
|
1095 |
msl = SFSI("input[name='sfsi_plus_icons_floatMargin_left']").val(),
|
1087 |
responsive_icons.settings.margin_below = SFSI('input[name="sfsi_plus_responsive_icons_settings_margin_below"]').val();
|
1088 |
|
1089 |
|
1090 |
+
// SFSI("#sfsi_plus_Show_popupOn_PageIDs :selected").each(function(s, i) {
|
1091 |
+
// _[s] = SFSI(i).val()
|
1092 |
+
// });
|
1093 |
var mst = SFSI("input[name='sfsi_plus_icons_floatMargin_top']").val(),
|
1094 |
msb = SFSI("input[name='sfsi_plus_icons_floatMargin_bottom']").val(),
|
1095 |
msl = SFSI("input[name='sfsi_plus_icons_floatMargin_left']").val(),
|
libs/controllers/sfsi_buttons_controller.php
CHANGED
@@ -683,15 +683,17 @@ function sfsi_plus_options_updater7()
|
|
683 |
$sfsi_plus_popup_fontStyle = isset($_POST["sfsi_plus_popup_fontStyle"]) ? sanitize_text_field($_POST["sfsi_plus_popup_fontStyle"]) : '';
|
684 |
$sfsi_plus_popup_fontColor = isset($_POST["sfsi_plus_popup_fontColor"]) ? sfsi_plus_sanitize_hex_color($_POST["sfsi_plus_popup_fontColor"]) : 'no';
|
685 |
$sfsi_plus_Show_popupOn = isset($_POST["sfsi_plus_Show_popupOn"]) ? sanitize_text_field($_POST["sfsi_plus_Show_popupOn"]) : '';
|
686 |
-
if (isset($_POST["sfsi_plus_Show_popupOn_PageIDs"])) {
|
687 |
-
|
688 |
-
|
689 |
-
|
690 |
-
|
691 |
-
}
|
692 |
-
|
693 |
-
|
694 |
-
|
|
|
|
|
695 |
$sfsi_plus_Shown_pop = isset($_POST["sfsi_plus_Shown_pop"]) ? sanitize_text_field($_POST["sfsi_plus_Shown_pop"]) : '';
|
696 |
$sfsi_plus_Shown_popupOnceTime = isset($_POST["sfsi_plus_Shown_popupOnceTime"]) ? intval($_POST["sfsi_plus_Shown_popupOnceTime"]) : 'no';
|
697 |
$sfsi_plus_Shown_popuplimitPerUserTime = isset($_POST["sfsi_plus_Shown_popuplimitPerUserTime"])
|
683 |
$sfsi_plus_popup_fontStyle = isset($_POST["sfsi_plus_popup_fontStyle"]) ? sanitize_text_field($_POST["sfsi_plus_popup_fontStyle"]) : '';
|
684 |
$sfsi_plus_popup_fontColor = isset($_POST["sfsi_plus_popup_fontColor"]) ? sfsi_plus_sanitize_hex_color($_POST["sfsi_plus_popup_fontColor"]) : 'no';
|
685 |
$sfsi_plus_Show_popupOn = isset($_POST["sfsi_plus_Show_popupOn"]) ? sanitize_text_field($_POST["sfsi_plus_Show_popupOn"]) : '';
|
686 |
+
// if (isset($_POST["sfsi_plus_Show_popupOn_PageIDs"])) {
|
687 |
+
// $sfsi_plus_Show_popupOn_PageIDs_arr = array();
|
688 |
+
// foreach ($_POST["sfsi_plus_Show_popupOn_PageIDs"] as $index => $sfsi_plus_Show_popupOn_PageID) {
|
689 |
+
// $sfsi_plus_Show_popupOn_PageIDs_arr[$index] = intval($sfsi_plus_Show_popupOn_PageID);
|
690 |
+
// }
|
691 |
+
// }
|
692 |
+
$sfsi_plus_Show_popupOn_PageIDs = isset($_POST["sfsi_plus_Show_popupOn_PageIDs"]) ? serialize($_POST["sfsi_plus_Show_popupOn_PageIDs"]) : '';
|
693 |
+
|
694 |
+
// $sfsi_plus_Show_popupOn_PageIDs = isset($sfsi_plus_Show_popupOn_PageID)
|
695 |
+
// ? serialize($sfsi_plus_Show_popupOn_PageID)
|
696 |
+
// : '';
|
697 |
$sfsi_plus_Shown_pop = isset($_POST["sfsi_plus_Shown_pop"]) ? sanitize_text_field($_POST["sfsi_plus_Shown_pop"]) : '';
|
698 |
$sfsi_plus_Shown_popupOnceTime = isset($_POST["sfsi_plus_Shown_popupOnceTime"]) ? intval($_POST["sfsi_plus_Shown_popupOnceTime"]) : 'no';
|
699 |
$sfsi_plus_Shown_popuplimitPerUserTime = isset($_POST["sfsi_plus_Shown_popuplimitPerUserTime"])
|
libs/controllers/sfsi_frontpopUp.php
CHANGED
@@ -15,10 +15,12 @@ function sfsi_plus_check_PopUp($content = null)
|
|
15 |
global $post;
|
16 |
global $wpdb;
|
17 |
$sfsi_plus_section7_options = unserialize(get_option('sfsi_plus_section7_options', false));
|
|
|
18 |
if ($sfsi_plus_section7_options['sfsi_plus_Show_popupOn'] == "blogpage") {
|
19 |
if (!is_feed() && !is_home() && !is_page()) {
|
20 |
$content = sfsi_plus_frontPopUp() . $content;
|
21 |
}
|
|
|
22 |
} else if ($sfsi_plus_section7_options['sfsi_plus_Show_popupOn'] == "selectedpage") {
|
23 |
if (!empty($post->ID) && !empty($sfsi_plus_section7_options['sfsi_plus_Show_popupOn_PageIDs'])) {
|
24 |
if (is_page() && in_array($post->ID, unserialize($sfsi_plus_section7_options['sfsi_plus_Show_popupOn_PageIDs']))) {
|
15 |
global $post;
|
16 |
global $wpdb;
|
17 |
$sfsi_plus_section7_options = unserialize(get_option('sfsi_plus_section7_options', false));
|
18 |
+
|
19 |
if ($sfsi_plus_section7_options['sfsi_plus_Show_popupOn'] == "blogpage") {
|
20 |
if (!is_feed() && !is_home() && !is_page()) {
|
21 |
$content = sfsi_plus_frontPopUp() . $content;
|
22 |
}
|
23 |
+
|
24 |
} else if ($sfsi_plus_section7_options['sfsi_plus_Show_popupOn'] == "selectedpage") {
|
25 |
if (!empty($post->ID) && !empty($sfsi_plus_section7_options['sfsi_plus_Show_popupOn_PageIDs'])) {
|
26 |
if (is_page() && in_array($post->ID, unserialize($sfsi_plus_section7_options['sfsi_plus_Show_popupOn_PageIDs']))) {
|
libs/sfsi_install_uninstall.php
CHANGED
@@ -17,7 +17,7 @@ function sfsi_plus_update_plugin()
|
|
17 |
}
|
18 |
|
19 |
//Install version
|
20 |
-
update_option("sfsi_plus_pluginVersion", "3.
|
21 |
|
22 |
if(!get_option('sfsi_plus_serverphpVersionnotification'))
|
23 |
{
|
17 |
}
|
18 |
|
19 |
//Install version
|
20 |
+
update_option("sfsi_plus_pluginVersion", "3.33");
|
21 |
|
22 |
if(!get_option('sfsi_plus_serverphpVersionnotification'))
|
23 |
{
|
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.3.0
|
6 |
-
Stable tag: 3.3.
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -295,6 +295,8 @@ The premium plugin offrs many more social buttons from other social media platfo
|
|
295 |
|
296 |
|
297 |
== Changelog ==
|
|
|
|
|
298 |
|
299 |
= 3.3.2 =
|
300 |
* Update: Option to define margin above and below responsive icons added
|
@@ -809,5 +811,5 @@ The premium plugin offrs many more social buttons from other social media platfo
|
|
809 |
|
810 |
== Upgrade Notice ==
|
811 |
|
812 |
-
= 3.3.
|
813 |
* 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.3.0
|
6 |
+
Stable tag: 3.3.3
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
295 |
|
296 |
|
297 |
== Changelog ==
|
298 |
+
= 3.3.3 =
|
299 |
+
* Updated texts
|
300 |
|
301 |
= 3.3.2 =
|
302 |
* Update: Option to define margin above and below responsive icons added
|
811 |
|
812 |
== Upgrade Notice ==
|
813 |
|
814 |
+
= 3.3.3 =
|
815 |
* 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.3.
|
11 |
License: GPLv2
|
12 |
*/
|
13 |
|
@@ -75,7 +75,7 @@ register_deactivation_hook(__FILE__, 'sfsi_plus_deactivate_plugin');
|
|
75 |
//register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
76 |
|
77 |
/*Plugin version setup*/
|
78 |
-
if (!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 3.
|
79 |
add_action("init", "sfsi_plus_update_plugin");
|
80 |
}
|
81 |
|
7 |
Text Domain: ultimate-social-media-plus
|
8 |
Domain Path: /languages
|
9 |
Author URI: http://socialshare.pro/
|
10 |
+
Version: 3.3.3
|
11 |
License: GPLv2
|
12 |
*/
|
13 |
|
75 |
//register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
76 |
|
77 |
/*Plugin version setup*/
|
78 |
+
if (!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 3.33) {
|
79 |
add_action("init", "sfsi_plus_update_plugin");
|
80 |
}
|
81 |
|
views/sfsi_option_view7.php
CHANGED
@@ -319,7 +319,7 @@
|
|
319 |
<label>
|
320 |
<?php _e( 'On blog posts only', SFSI_PLUS_DOMAIN ); ?>
|
321 |
</label>
|
322 |
-
|
323 |
<div class="pop_up_show">
|
324 |
<input name="sfsi_plus_Show_popupOn" <?php echo ($option7['sfsi_plus_Show_popupOn']=='selectedpage') ? 'checked="true"' : '' ;?> type="radio" value="selectedpage" class="styled"/>
|
325 |
<label>
|
@@ -327,7 +327,7 @@
|
|
327 |
</label>
|
328 |
<div class="field" style="width:50%">
|
329 |
<select multiple="multiple" name="sfsi_plus_Show_popupOn_PageIDs" id="sfsi_plus_Show_popupOn_PageIDs" style="width:60%;min-height: 150px;">
|
330 |
-
|
331 |
$select= (isset($option7['sfsi_plus_Show_popupOn_PageIDs'])) ? unserialize($option7['sfsi_plus_Show_popupOn_PageIDs']) :array();
|
332 |
$get_pages = get_pages( array(
|
333 |
'offset'=> 1,
|
@@ -342,6 +342,8 @@
|
|
342 |
|
343 |
foreach( $get_pages as $page )
|
344 |
{
|
|
|
|
|
345 |
if(!empty($select))
|
346 |
{
|
347 |
if( in_array( $page->ID, $select) )
|
319 |
<label>
|
320 |
<?php _e( 'On blog posts only', SFSI_PLUS_DOMAIN ); ?>
|
321 |
</label>
|
322 |
+
</div>
|
323 |
<div class="pop_up_show">
|
324 |
<input name="sfsi_plus_Show_popupOn" <?php echo ($option7['sfsi_plus_Show_popupOn']=='selectedpage') ? 'checked="true"' : '' ;?> type="radio" value="selectedpage" class="styled"/>
|
325 |
<label>
|
327 |
</label>
|
328 |
<div class="field" style="width:50%">
|
329 |
<select multiple="multiple" name="sfsi_plus_Show_popupOn_PageIDs" id="sfsi_plus_Show_popupOn_PageIDs" style="width:60%;min-height: 150px;">
|
330 |
+
<?php
|
331 |
$select= (isset($option7['sfsi_plus_Show_popupOn_PageIDs'])) ? unserialize($option7['sfsi_plus_Show_popupOn_PageIDs']) :array();
|
332 |
$get_pages = get_pages( array(
|
333 |
'offset'=> 1,
|
342 |
|
343 |
foreach( $get_pages as $page )
|
344 |
{
|
345 |
+
$selected_box = '';
|
346 |
+
$class = '';
|
347 |
if(!empty($select))
|
348 |
{
|
349 |
if( in_array( $page->ID, $select) )
|
views/sfsi_pop_content.php
CHANGED
@@ -801,7 +801,6 @@ $pin_url=($option2['sfsi_plus_pinterest_pageUrl']!='') ? $option2['sfsi_plus_pi
|
|
801 |
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/visa.png" />
|
802 |
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/mastercard.png" />
|
803 |
</p>
|
804 |
-
|
805 |
</div>
|
806 |
</div>
|
807 |
<div class="sfsi_plus_col_6" style="text-align: left; vertical-align: middle;">
|
@@ -819,7 +818,7 @@ $pin_url=($option2['sfsi_plus_pinterest_pageUrl']!='') ? $option2['sfsi_plus_pi
|
|
819 |
<div style="margin:10px 70px;border-radius:10px;border:1px solid #bbb;font-size: 17px;line-height: 28px;" >
|
820 |
<ol style="padding: 15px 20px 10px 10px; font-size: 18px; letter-spacing: 0.5px; color: #000000;">
|
821 |
<li>You‘ll get access to <a href="https://www.ultimatelysocial.com/usm-premium/" target="_black" style="color: #000000;">all premium features</a></li>
|
822 |
-
<li>The plugin is <b>priced really fairly</b> starting at <del>
|
823 |
<li><b>Use it for lifetime:</b> Support and updates are limited to six months, however after that it will not be disabled, you can keep using the plugin (even if you don‘t renew)</li>
|
824 |
<li>One license is valid for one the site (as support is included), but we <b>offer 20% discounts</b> for all future purchases</li>
|
825 |
<li>We provide a <b>14 day money-back guarantee</b> if you‘re not satisfied for <u>any reason</u></li>
|
801 |
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/visa.png" />
|
802 |
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/mastercard.png" />
|
803 |
</p>
|
|
|
804 |
</div>
|
805 |
</div>
|
806 |
<div class="sfsi_plus_col_6" style="text-align: left; vertical-align: middle;">
|
818 |
<div style="margin:10px 70px;border-radius:10px;border:1px solid #bbb;font-size: 17px;line-height: 28px;" >
|
819 |
<ol style="padding: 15px 20px 10px 10px; font-size: 18px; letter-spacing: 0.5px; color: #000000;">
|
820 |
<li>You‘ll get access to <a href="https://www.ultimatelysocial.com/usm-premium/" target="_black" style="color: #000000;">all premium features</a></li>
|
821 |
+
<li>The plugin is <b>priced really fairly</b> starting at <del>49.98 USD</del> today: 40% off!</li>
|
822 |
<li><b>Use it for lifetime:</b> Support and updates are limited to six months, however after that it will not be disabled, you can keep using the plugin (even if you don‘t renew)</li>
|
823 |
<li>One license is valid for one the site (as support is included), but we <b>offer 20% discounts</b> for all future purchases</li>
|
824 |
<li>We provide a <b>14 day money-back guarantee</b> if you‘re not satisfied for <u>any reason</u></li>
|
views/sfsi_section_for_premium.php
CHANGED
@@ -318,7 +318,7 @@
|
|
318 |
</div>
|
319 |
|
320 |
<div class="sfsi-footer-bottom-text">
|
321 |
-
<p>..only
|
322 |
</div>
|
323 |
|
324 |
<!-- Footer banner CLOSES -->
|
318 |
</div>
|
319 |
|
320 |
<div class="sfsi-footer-bottom-text">
|
321 |
+
<p>..only 29.98 USD (includes support and updates for six months, and after that it will not be deactivated, so you can just keep using it!)</p>
|
322 |
</div>
|
323 |
|
324 |
<!-- Footer banner CLOSES -->
|