Social Media Share Buttons & Social Sharing Icons - Version 2.1.9

Version Description

  • Solved: Security Patch.
Download this release

Release Info

Developer socialdude
Plugin Icon 128x128 Social Media Share Buttons & Social Sharing Icons
Version 2.1.9
Comparing to
See all releases

Code changes from version 2.1.7 to 2.1.9

libs/controllers/sfsi_buttons_controller.php CHANGED
@@ -874,7 +874,10 @@ function sfsiremoveFooter()
874
  add_action('wp_ajax_getForm','sfsigetForm');
875
  function sfsigetForm()
876
  {
877
- extract($_POST);
 
 
 
878
  ?>
879
  <xmp>
880
  <div class="sfsi_subscribe_Popinner">
@@ -1134,7 +1137,9 @@ add_action('wp_ajax_sfsiOfflineChatMessage','sfsi_OfflineChatMessage');
1134
 
1135
  function sfsi_OfflineChatMessage(){
1136
  error_reporting(0);
1137
- extract($_POST);
 
 
1138
  $body="<table><tr><th>Site:</th><td>".home_url()."</td></tr><tr><th>Plugin:</th><td>Old Plugin</td></tr><tr><th>Email:</th><td>".$email."</td></tr><tr><th>Message:</th><td>".$message."</td></tr></table>";
1139
  $sent=wp_mail('help@ultimatelysocial.com',"New question from user",$body,array('Content-Type: text/html; charset=UTF-8'));
1140
  if(isset($sent)&&(true===$sent)){
874
  add_action('wp_ajax_getForm','sfsigetForm');
875
  function sfsigetForm()
876
  {
877
+ // extract($_POST);
878
+ $heading = isset($_POST) && isset($_POST['heading'])?sanitize_text_field($_POST['heading']):'';
879
+ $placeholder = isset($_POST) && isset($_POST['placeholder'])?sanitize_text_field($_POST['placeholder']):'';
880
+ $button = isset($_POST) && isset($_POST['button'])?sanitize_text_field($_POST['button']):'';
881
  ?>
882
  <xmp>
883
  <div class="sfsi_subscribe_Popinner">
1137
 
1138
  function sfsi_OfflineChatMessage(){
1139
  error_reporting(0);
1140
+ // extract($_POST);
1141
+ $email = isset($_POST) && isset($_POST['email']) ? sanitize_text_field($_POST['email']) : '';
1142
+ $message = isset($_POST) && isset($_POST['message']) ? sanitize_textarea_field($_POST['message']) : '';
1143
  $body="<table><tr><th>Site:</th><td>".home_url()."</td></tr><tr><th>Plugin:</th><td>Old Plugin</td></tr><tr><th>Email:</th><td>".$email."</td></tr><tr><th>Message:</th><td>".$message."</td></tr></table>";
1144
  $sent=wp_mail('help@ultimatelysocial.com',"New question from user",$body,array('Content-Type: text/html; charset=UTF-8'));
1145
  if(isset($sent)&&(true===$sent)){
libs/controllers/sfsi_iconsUpload_contoller.php CHANGED
@@ -218,7 +218,8 @@ add_action('wp_ajax_UploadIcons','sfsi_UploadIcons');
218
  /* uplaod custom icon {change by monad}*/
219
  function sfsi_UploadIcons()
220
  {
221
- extract($_POST);
 
222
  $upload_dir = wp_upload_dir();
223
 
224
  $ThumbSquareSize = 100; //Thumbnail will be 57X57
218
  /* uplaod custom icon {change by monad}*/
219
  function sfsi_UploadIcons()
220
  {
221
+ // extract($_POST);
222
+ $custom_imgurl = isset($_POST) && isset($_POST['custom_imgurl']) ? sanitize_text_field($_POST['custom_imgurl']):'';
223
  $upload_dir = wp_upload_dir();
224
 
225
  $ThumbSquareSize = 100; //Thumbnail will be 57X57
libs/sfsi_install_uninstall.php CHANGED
@@ -12,7 +12,7 @@ function sfsi_update_plugin()
12
  }
13
 
14
  //Install version
15
- update_option("sfsi_pluginVersion", "2.17");
16
 
17
  if(!get_option('sfsi_serverphpVersionnotification'))
18
  {
12
  }
13
 
14
  //Install version
15
+ update_option("sfsi_pluginVersion", "2.19");
16
 
17
  if(!get_option('sfsi_serverphpVersionnotification'))
18
  {
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: socialdude
3
  Tags: social media, share, buttons, social widget, icons, share icons, share buttons, sharing icons, sharing buttons, social share, sharing, social sharing
4
  Requires at least: 3.5
5
  Tested up to: 5.1
6
- Stable tag: 2.1.7
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -274,10 +274,15 @@ You cannot use the same plugin twice, however you can install both the USM as we
274
 
275
 
276
  == Changelog ==
 
 
 
 
 
 
277
  = 2.1.7 =
278
  * Solved: save button not working.
279
 
280
-
281
  = 2.1.6 =
282
  * Solved: compatablity issue with older versions.
283
 
@@ -766,5 +771,5 @@ You cannot use the same plugin twice, however you can install both the USM as we
766
 
767
  == Upgrade Notice ==
768
 
769
- = 2.1.7 =
770
  Please upgrade
3
  Tags: social media, share, buttons, social widget, icons, share icons, share buttons, sharing icons, sharing buttons, social share, sharing, social sharing
4
  Requires at least: 3.5
5
  Tested up to: 5.1
6
+ Stable tag: 2.1.9
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
274
 
275
 
276
  == Changelog ==
277
+ = 2.1.9 =
278
+ * Solved: Security Patch.
279
+
280
+ = 2.1.8 =
281
+ * Solved: security update.
282
+
283
  = 2.1.7 =
284
  * Solved: save button not working.
285
 
 
286
  = 2.1.6 =
287
  * Solved: compatablity issue with older versions.
288
 
771
 
772
  == Upgrade Notice ==
773
 
774
+ = 2.1.9 =
775
  Please upgrade
ultimate_social_media_icons.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://ultimatelysocial.com
5
  Description: Easy to use and 100% FREE social media plugin which adds social media icons to your website with tons of customization features!.
6
  Author: UltimatelySocial
7
  Author URI: http://ultimatelysocial.com
8
- Version: 2.1.7
9
  License: GPLv2 or later
10
  */
11
 
@@ -65,7 +65,7 @@ register_activation_hook(__FILE__, 'sfsi_activate_plugin' );
65
  register_deactivation_hook(__FILE__, 'sfsi_deactivate_plugin');
66
  register_uninstall_hook(__FILE__, 'sfsi_Unistall_plugin');
67
 
68
- if(!get_option('sfsi_pluginVersion') || get_option('sfsi_pluginVersion') < 2.17)
69
  {
70
  add_action("init", "sfsi_update_plugin");
71
  }
5
  Description: Easy to use and 100% FREE social media plugin which adds social media icons to your website with tons of customization features!.
6
  Author: UltimatelySocial
7
  Author URI: http://ultimatelysocial.com
8
+ Version: 2.1.9
9
  License: GPLv2 or later
10
  */
11
 
65
  register_deactivation_hook(__FILE__, 'sfsi_deactivate_plugin');
66
  register_uninstall_hook(__FILE__, 'sfsi_Unistall_plugin');
67
 
68
+ if(!get_option('sfsi_pluginVersion') || get_option('sfsi_pluginVersion') < 2.19)
69
  {
70
  add_action("init", "sfsi_update_plugin");
71
  }