Social Media Flying Icons | Floating Social Media Icon - Version 4.3

Version Description

= Social Media Flying Icons - 4.3 = * Fix - Security Improvements * Add - GDPR Ready * Fix - Improved UI

= Social Media Flying Icons - 4.2.9 = * Fix - Security Improvements * Fix - Improved UI

= Social Media Flying Icons - 4.2.8 = * Fix - URL Break Issues * Fix - Compatibility Update

= Social Media Floating Icons - 4.2.7 = * Fix - Compatibility Update

= Social Media Floating Icons - 4.2.6 = * Fix - Code Optimization. * Fix - Perfomance Improvements.

= Social Media Floating Icons - 4.2.5 = * Fix - Bug on cannot redeclare.

= Social Media Floating Icons - 4.2.4 = * Fix - Security Fixes

= Social Media Floating Icons - 4.2.3 = * Fix - Bug Fixing

= Social Media Floating Icons - 4.2.2 = * Fix - Perfomance Improvements * Fix - Optimized Loading Speed

= Social Media Floating Icons - 4.2.1 = * Fix - Perfomance Improvements * Fix - Update Bug Fixes

= Social Media Floating Icons - 4.2 = * Fix - Perfomance Improvements * Fix - Update Bug Fixes * New Feature - Easy Option to Install Addons

= Social Media Floating Icons - 4.1.4 = * Fix - Perfomance Improvements

= Social Media Floating Icons - 4.1.3 = * Fix - Perfomance Improvements * 6 New Icon Styles * Instagram Support Added * Code Improvements * Fixes for wordpress deprecated functions

= Social Media Floating Icons - 4.1.2 = * Fix - Perfomance Improvements * Stable Release

= Social Media Floating Icons - 4.1.1 = * Fix - Perfomance Improvements * Stable Release

= Social Media Floating Icons - 4.1 = * New - Added Translation Support * Fix - Perfomance Improvements * New - Addon Support * Stable Release

= Floating Social Media Icon - 4.0 = * Total Programming Logic Changes * Perfomance Improvements * Addon Support * Optimized Speed * Improved and Solid Structure * Stable Release

= Floating Social Media Icon - 3.0 = * Big Improvements on User Interface * Perfomance Improvements * Updated Twitter Icons * Updated Google Plus Icons * Icon Links No Follow Support * Stable Release

= Floating Social Media Icon - 2.3 = * Aug 25, 2015 | NOTE: Updating Plugin Will Not Change Your Settings/Configuration.. Update With Confidence :) * Code Optimization * Stable Release

= Floating Social Media Icon - 2.2 = * Aug 19, 2015 | NOTE: Updating Plugin Will Not Change Your Settings/Configuration.. Update With Confidence :) * Security Fix * Stable Release

= Floating Social Media Icon - 2.1 = * May 30, 2015 | NOTE: Updating Plugin Will Not Change Your Settings/Configuration.. Update With Confidence :) * Optimized Codes * Performance Improvements * Stable Release

= Floating Social Media Icon - 2.0 = * April 18, 2015 | NOTE: Updating Plugin Will Not Change Your Settings/Configuration.. Update With Confidence :) * Optimized Codes * Fixed Bugs With Facebook * Stable Release

= Floating Social Media Icon - 1.3.9 = * Feb 20, 2015 | NOTE: Updating Plugin Will Not Change Your Settings/Configuration.. Update With Confidence :) * Optimized Codes * Stable Release

= Floating Social Media Icon - 1.3.8 = * Dec 25, 2014 | NOTE: Updating Plugin Wwill Not Change Your Settings/Configuration.. Update With Confidence :) * UI Design Improvements * Improved Floating Icon Display Logic * Improved Programming * Fixed Icon Display CSS Bugs * Added Width and Height Attributes to Icons SRC * Completely Removed Green Menu Highlighting * Now you can align php/shortcode icons to left, right or centre * Stable Release

= Floating Social Media Icon - 1.3.7 = * Nov 02, 2014 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :) * Minor Bug Fixes * Stable Release

= Floating Social Media Icon - 1.3.6 = * Sep 22, 2014 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :) * Minor Bug Fixes * Stable Release

= Floating Social Media Icon - 1.3.5 = * June 04, 2014 | NOTE: Upgrading Will Not Make Any Changes to Settings/Configurations. Upgrade With Confidence :) * Added Option to Disable Floating Icons on Mobile Devices * Theme Warning Ignore Option * Added Troubleshooting Options * Improved User Interface * Stable Release

= Floating Social Media Icon - 1.3.4 = * March 07, 2014 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :) * Added Theme Warning Ignore Option * Optimized Codes * Updated Option Description

= Floating Social Media Icon - 1.3.3 = * January 05, 2014 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :) * Minor Bug Fixes * Optimized Codes * Spelling Corrections

= Floating Social Media Icon - 1.3.2 = * October 10, 2013 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :) * Stable Release * Minor Bug Fixes * Optimized Codes

= Floating Social Media Icon - 1.3.1 = * August 28, 2013 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :) * Stable Release * Security Improvements * Bug Fixes

= Floating Social Media Icon - 1.3 = * June 26, 2013 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :) * Stable Release * Improved UI * Improved Programming Structure

= Floating Social Media Icon - 1.2 = * February 20, 2013 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :) * Added Option to disable highlighting menu on admin area * Added Option to disable highlighting plugin on plugin list * Improved CSS Styling * Improved Programming Structure * Stable Release

= Floating Social Media Icon - 1.1.5 = * November 29, 2012 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :) * Added Misc settings. * Now in Misc settings - You have option to fix icons displaying in vertical issue. * Added alt tags to icons. * Fixed Missing Argument Issue. * Added title tags to icon links. * Graphics Improvements

= Floating Social Media Icon - 1.1.4 = * July 14, 2012 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :).. * Added Align Option In Widget Settings * Fixed Conflict With Other Plugins Settings Menu so Acx Social Icon Menu will not Disappear

= Floating Social Media Icon - 1.1.3 = * June 01, 2012 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :).. * Optimized Images * Stable Release

= Floating Social Media Icon - 1.1.2 = * May 08, 2012 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :).. * Added Rss Feed Support * Better Icon Quality

= Floating Social Media Icon - 1.1.1 = * April 20, 2012 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :).. * Fixed Minor Styling Problem * Fixed Icon Size Problem on Manual Icon Display via Php

= Floating Social Media Icon - 1.1 = * April 06, 2012 * Added Code Security * Now You can have as many widgets where you can define icon size and icon design for each widget. * Now You can have Shortcode customization where you can define icon size and icon design for each shortcodes (Check Faq for more info).

= Floating Social Media Icon - 1.0.9 = * March 21, 2012 * Added Pinterest * Added drag and drop reorder option * AFTER UPDATE YOU NEED TO VISIT THE PLUGIN SETTINGS PAGE TO START SHOWING THE ICONS (Upgrade Will Not Alter Your Settings).

= Floating Social Media Icon - 1.0.8 = * March 14, 2012 * Added More Icon Designs * Fixed Minor Layout Issues

= Floating Social Media Icon - 1.0.7 = * March 12, 2012 * More Icon Theme/Style * Updated User Interface * Updated Faq * Added Google Plus Support

= Floating Social Media Icon - 1.0.6 = * March 11, 2012 * Fixed Alignment Problem When Displaying All Icons With Bigger Size

= Floating Social Media Icon - 1.0.5 = * March 10, 2012 * Major Fix For More Theme Compatibility

= Floating Social Media Icon - 1.0.4 = * March 09, 2012 * Fixed Some Reported Bugs

= Floating Social Media Icon - 1.0.3 = * Major Fix to Support Older Versions of Wordpress

= Floating Social Media Icon - 1.0.2 = * Fixed Design Icon Clarity

Download this release

Release Info

Developer Acurax
Plugin Icon 128x128 Social Media Flying Icons | Floating Social Media Icon
Version 4.3
Comparing to
See all releases

Code changes from version 4.2.9 to 4.3

acurax-social-icon.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Social Media Flying Icons | Floating Social Media Icon
4
  Plugin URI: http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/
5
  Description: Floating Social Media Icon / Social Media Floating Icons is a complete solution that help you to have Interactive Social Media Icons on your website which links to your social media profiles. The icons will catch your visitors attention by flying from top left to bottom right of your website.Its highly customizable with Drag and Drop Icon Reorder, Icon Size, Multiple Icon Styles etc.
6
  Author: Acurax
7
- Version: 4.2.9
8
  Author URI: http://www.acurax.com/home.php
9
  License: GPLv2 or later
10
  Text Domain: floating-social-media-icon
@@ -31,7 +31,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
31
  define("ACX_FSMI_BASE_LOCATION",plugin_dir_url( __FILE__ ));
32
  define("ACX_FSMI_WP_SLUG","floating-social-media-icon");
33
  define('ACX_FSMI_TOTAL_STATIC_SERVICES', 8);
34
- define('ACX_FSMI_C_VERSION', '4.2.9');
 
35
  include_once(plugin_dir_path( __FILE__ ).'/function.php');
36
  include_once(plugin_dir_path( __FILE__ ).'/includes/hooks.php');
37
  include_once(plugin_dir_path( __FILE__ ).'/includes/hook_functions.php');
@@ -104,4 +105,29 @@ if (is_admin())
104
  {
105
  add_action('admin_menu', 'acx_fsmi_admin_actions');
106
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
  ?>
4
  Plugin URI: http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/
5
  Description: Floating Social Media Icon / Social Media Floating Icons is a complete solution that help you to have Interactive Social Media Icons on your website which links to your social media profiles. The icons will catch your visitors attention by flying from top left to bottom right of your website.Its highly customizable with Drag and Drop Icon Reorder, Icon Size, Multiple Icon Styles etc.
6
  Author: Acurax
7
+ Version: 4.3
8
  Author URI: http://www.acurax.com/home.php
9
  License: GPLv2 or later
10
  Text Domain: floating-social-media-icon
31
  define("ACX_FSMI_BASE_LOCATION",plugin_dir_url( __FILE__ ));
32
  define("ACX_FSMI_WP_SLUG","floating-social-media-icon");
33
  define('ACX_FSMI_TOTAL_STATIC_SERVICES', 8);
34
+ define('ACX_FSMI_C_VERSION', '4.3');
35
+ define('ACX_FSMI_LOG_DIR',WP_CONTENT_DIR . '/acx-fsmi-log');
36
  include_once(plugin_dir_path( __FILE__ ).'/function.php');
37
  include_once(plugin_dir_path( __FILE__ ).'/includes/hooks.php');
38
  include_once(plugin_dir_path( __FILE__ ).'/includes/hook_functions.php');
105
  {
106
  add_action('admin_menu', 'acx_fsmi_admin_actions');
107
  }
108
+ /* Add settings link in plugin page */
109
+ if(!function_exists('acx_fsmi_plugin_add_settings_link'))
110
+ {
111
+ function acx_fsmi_plugin_add_settings_link( $links ) {
112
+ $acx_fsmi_settings_link = '<a href="'.esc_url(wp_nonce_url(admin_url('admin.php?page=Acurax-Social-Icons-Settings'))).'">' . __( 'Settings' ) . '</a>';
113
+ array_unshift( $links, $acx_fsmi_settings_link );
114
+ return $links;
115
+ }
116
+ $fsmi_plugin = plugin_basename( __FILE__ );
117
+ add_filter( "plugin_action_links_$fsmi_plugin", 'acx_fsmi_plugin_add_settings_link' );
118
+
119
+ }
120
+ /* Add settings link in Plugin page */
121
+ /* redirect to settings page after activate plugin */
122
+ function acx_fsmi_plugin_activate() {
123
+ add_option('acx_fsmi_do_activation_redirect', true);
124
+ }
125
+ register_activation_hook(__FILE__, 'acx_fsmi_plugin_activate');
126
+ function acx_fsmi_redirect() {
127
+ if (get_option('acx_fsmi_do_activation_redirect', false)) {
128
+ delete_option('acx_fsmi_do_activation_redirect');
129
+ wp_redirect(esc_url(wp_nonce_url(admin_url('admin.php?page=Acurax-Social-Icons-Settings'))));
130
+ }
131
+ }add_action('admin_init', 'acx_fsmi_redirect');
132
+ /* redirect to settings page after activate plugin */
133
  ?>
css/style_admin.css CHANGED
@@ -853,3 +853,14 @@ text-decoration:underline;
853
  }
854
 
855
  }
 
 
 
 
 
 
 
 
 
 
 
853
  }
854
 
855
  }
856
+ .acx_fsmi_download_log_cvr {
857
+ width: 30%;
858
+ float: right;
859
+ margin-top: 10px;
860
+ margin-right: 10px;
861
+ }
862
+ .acx_fsmi_download_log_cvr .acx_fsmi_download_log {
863
+ color: #333;
864
+ text-align: center;
865
+ float: right;
866
+ }
function.php CHANGED
@@ -323,7 +323,10 @@ if(is_serialized($social_icon_array_order))
323
  {
324
  $social_icon_array_order = unserialize($social_icon_array_order);
325
  }
326
-
 
 
 
327
  function acx_fsmi_orderarray_refresh()
328
  {
329
  global $social_icon_array_order;
@@ -333,9 +336,9 @@ function acx_fsmi_orderarray_refresh()
333
  {
334
  $social_icon_array_order = unserialize($social_icon_array_order);
335
  }
336
- if($social_icon_array_order == "")
337
  {
338
- $social_icon_array_order = array();
339
  }
340
  if (empty($social_icon_array_order))
341
  {
@@ -357,6 +360,10 @@ function acx_fsmi_orderarray_refresh()
357
  {
358
  $social_icon_array_order = unserialize($social_icon_array_order);
359
  }
 
 
 
 
360
  $social_icon_array_count = count($social_icon_array_order);
361
  if ($social_icon_array_count < $total_arrays)
362
  {
@@ -484,7 +491,7 @@ function acurax_si_simple($acx_array) // Added Default "" // Updated << and V (a
484
  {
485
  $social_icon_array_order = unserialize($social_icon_array_order);
486
  }
487
- if($social_icon_array_order == "")
488
  {
489
  $social_icon_array_order = array();
490
  }
@@ -977,8 +984,15 @@ if(is_serialized($social_icon_array_order))
977
  {
978
  $social_icon_array_order = unserialize($social_icon_array_order);
979
  }
980
-
981
- $social_icon_array_count = count($social_icon_array_order);
 
 
 
 
 
 
 
982
  if ($social_icon_array_count < $total_arrays)
983
  {
984
  do_action('acx_fsmi_array_refresh');
@@ -1640,15 +1654,19 @@ function acx_fsmi_install_licence_refresh_callback()
1640
 
1641
  }
1642
  }
 
1643
 
1644
  }
 
 
 
1645
  $acx_fsmi_purchased_li_array[$licence]['status'] = $result['status'];
1646
  if(!is_serialized($acx_fsmi_purchased_li_array))
1647
  {
1648
  $acx_fsmi_purchased_li_array = serialize($acx_fsmi_purchased_li_array);
1649
  }
1650
  update_option('acx_fsmi_purchased_li_array',$acx_fsmi_purchased_li_array);
1651
- $response_stat = "success";
1652
  }
1653
  echo $response_stat;
1654
  die();
323
  {
324
  $social_icon_array_order = unserialize($social_icon_array_order);
325
  }
326
+ if($social_icon_array_order == "" || !is_array($social_icon_array_order))
327
+ {
328
+ $social_icon_array_order = array();
329
+ }
330
  function acx_fsmi_orderarray_refresh()
331
  {
332
  global $social_icon_array_order;
336
  {
337
  $social_icon_array_order = unserialize($social_icon_array_order);
338
  }
339
+ if($social_icon_array_order == "" || !is_array($social_icon_array_order))
340
  {
341
+ $social_icon_array_order = array();
342
  }
343
  if (empty($social_icon_array_order))
344
  {
360
  {
361
  $social_icon_array_order = unserialize($social_icon_array_order);
362
  }
363
+ if($social_icon_array_order == "" || !is_array($social_icon_array_order))
364
+ {
365
+ $social_icon_array_order = array();
366
+ }
367
  $social_icon_array_count = count($social_icon_array_order);
368
  if ($social_icon_array_count < $total_arrays)
369
  {
491
  {
492
  $social_icon_array_order = unserialize($social_icon_array_order);
493
  }
494
+ if($social_icon_array_order == "" || !is_array($social_icon_array_order))
495
  {
496
  $social_icon_array_order = array();
497
  }
984
  {
985
  $social_icon_array_order = unserialize($social_icon_array_order);
986
  }
987
+ if($social_icon_array_order == "" || !is_array($social_icon_array_order))
988
+ {
989
+ $social_icon_array_order = array();
990
+ }
991
+ $social_icon_array_count = 0;
992
+ if(ISSET($social_icon_array_order))
993
+ {
994
+ $social_icon_array_count = count($social_icon_array_order);
995
+ }
996
  if ($social_icon_array_count < $total_arrays)
997
  {
998
  do_action('acx_fsmi_array_refresh');
1654
 
1655
  }
1656
  }
1657
+ $response_stat = "success";
1658
 
1659
  }
1660
+ else{
1661
+ $response_stat = $result["status"];
1662
+ }
1663
  $acx_fsmi_purchased_li_array[$licence]['status'] = $result['status'];
1664
  if(!is_serialized($acx_fsmi_purchased_li_array))
1665
  {
1666
  $acx_fsmi_purchased_li_array = serialize($acx_fsmi_purchased_li_array);
1667
  }
1668
  update_option('acx_fsmi_purchased_li_array',$acx_fsmi_purchased_li_array);
1669
+
1670
  }
1671
  echo $response_stat;
1672
  die();
includes/acx-fsmi-licence-activation.php CHANGED
@@ -4189,6 +4189,9 @@ function acx_fsmi_show_license_add_button_html()
4189
  window.location=link;
4190
  }
4191
  }
 
 
 
4192
  });
4193
  }
4194
  });
@@ -4293,6 +4296,10 @@ function acx_fsmi_purchased_licence_add_callback()
4293
  {
4294
  $acx_fsmip_licence_array = unserialize($acx_fsmip_licence_array);
4295
  }
 
 
 
 
4296
  $acx_fsmip_retry_array = get_option('acx_fsmip_retry_array');
4297
  if(is_serialized($acx_fsmip_retry_array))
4298
  {
4189
  window.location=link;
4190
  }
4191
  }
4192
+ else{
4193
+ alert('<?php _e('Failed To Refresh The Licence !!','floating-social-media-icon');?>');
4194
+ }
4195
  });
4196
  }
4197
  });
4296
  {
4297
  $acx_fsmip_licence_array = unserialize($acx_fsmip_licence_array);
4298
  }
4299
+ if($acx_fsmip_licence_array == "" || !is_array($acx_fsmip_licence_array))
4300
+ {
4301
+ $acx_fsmip_licence_array = array();
4302
+ }
4303
  $acx_fsmip_retry_array = get_option('acx_fsmip_retry_array');
4304
  if(is_serialized($acx_fsmip_retry_array))
4305
  {
includes/option_fields.php CHANGED
@@ -60,7 +60,11 @@ function acx_fsmi_icon_theme_settings_html()
60
  global $acx_si_theme,$social_icon_array_order,$acx_fsmi_themes_array;
61
  if(is_serialized($social_icon_array_order))
62
  {
63
- $social_icon_array_order = unserialize($social_icon_array_order);
 
 
 
 
64
  }
65
  $acx_string = __('Icon Theme Settings','floating-social-media-icon');
66
  print_acx_fsmi_option_block_start($acx_string);
@@ -144,7 +148,10 @@ function acx_fsmi_icon_theme_settings_else()
144
  {
145
  $social_icon_array_order = unserialize($social_icon_array_order);
146
  }
147
-
 
 
 
148
  } add_action('acx_fsmi_hook_option_postelse','acx_fsmi_icon_theme_settings_else');
149
  function acx_fsmi_icon_theme_settings_after_else()
150
  {
@@ -214,6 +221,11 @@ function acx_fsmi_icon_theme_order_html()
214
  {
215
  $social_icon_array_order = unserialize($social_icon_array_order);
216
  }
 
 
 
 
 
217
  $acx_string = __("Social Media Icon Display Order - Drag and Drop to Reorder","floating-social-media-icon");
218
  print_acx_fsmi_option_block_start($acx_string);
219
  ?>
@@ -640,7 +652,14 @@ function acx_fsmi_social_media_else()
640
  if ($acx_si_fsmi_hide_advert == "") { $acx_si_fsmi_hide_advert = 'no'; }
641
  do_action('acx_fsmi_array_refresh');
642
  $social_icon_array_order = get_option('social_icon_array_order');
643
- $social_icon_array_order = unserialize($social_icon_array_order);
 
 
 
 
 
 
 
644
  } add_action('acx_fsmi_hook_option_postelse','acx_fsmi_social_media_else',100);
645
  /* Define options in else post Ends Here */
646
 
@@ -830,6 +849,8 @@ function acx_fsmi_no_follow_after_else()
830
  if ($acx_si_fsmi_no_follow == "") { $acx_si_fsmi_no_follow = "no"; }
831
  } add_action('acx_fsmi_misc_hook_option_after_else','acx_fsmi_no_follow_after_else');
832
  /* Theme Conflict/Misc Settings HTML - Get - Set Default Logic Ends Here */
 
 
833
  /* Acurax Service/Info Settings HTML - Get - Set Default Logic Starts Here */
834
  function acx_fsmi_misc_service_info_html()
835
  {
@@ -936,6 +957,24 @@ function acx_fsmi_expert_support_after_else()
936
  if ($acx_si_fsmi_hide_expert_support_menu == "") { $acx_si_fsmi_hide_expert_support_menu = "no"; }
937
  } add_action('acx_fsmi_misc_hook_option_after_else','acx_fsmi_expert_support_after_else');
938
  /* Expert Support Menu Settings Settings HTML - Get - Set Default Logic Ends Here */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
939
 
940
  /* Define Misc Submit Button Starts Here */
941
  function acx_fsmi_misc_submit_button_html()
@@ -945,7 +984,7 @@ function acx_fsmi_misc_submit_button_html()
945
  <?php
946
  echo "<span class='acx_fsmi_q_sep'></span>";
947
  }
948
- add_action('acx_fsmi_misc_hook_option_fields','acx_fsmi_misc_submit_button_html',300);
949
  /* Define Misc Submit Button Ends Here */
950
  /* Comparison HTML Starts Here */
951
  function acx_fsmi_misc_show_comparison()
@@ -1094,11 +1133,8 @@ function acx_fsmi_expert_quick_fix_html()
1094
  add_action('acx_fsmi_exprt_hook_option_above_page_left','acx_fsmi_expert_quick_fix_html',300);
1095
  function acx_fsmi_exprt_quick_fix_add()
1096
  {
1097
- global $social_icon_array_order,$fix_applied,$page;
1098
- if(is_serialized($social_icon_array_order))
1099
- {
1100
- $social_icon_array_order = unserialize($social_icon_array_order);
1101
- }
1102
  $page = $quick_fix = $sid = "";
1103
  if(ISSET($_GET['page']))
1104
  {
60
  global $acx_si_theme,$social_icon_array_order,$acx_fsmi_themes_array;
61
  if(is_serialized($social_icon_array_order))
62
  {
63
+ $social_icon_array_order = unserialize($social_icon_array_order);
64
+ }
65
+ if($social_icon_array_order == "" || !is_array($social_icon_array_order))
66
+ {
67
+ $social_icon_array_order = array();
68
  }
69
  $acx_string = __('Icon Theme Settings','floating-social-media-icon');
70
  print_acx_fsmi_option_block_start($acx_string);
148
  {
149
  $social_icon_array_order = unserialize($social_icon_array_order);
150
  }
151
+ if($social_icon_array_order == "" || !is_array($social_icon_array_order))
152
+ {
153
+ $social_icon_array_order = array();
154
+ }
155
  } add_action('acx_fsmi_hook_option_postelse','acx_fsmi_icon_theme_settings_else');
156
  function acx_fsmi_icon_theme_settings_after_else()
157
  {
221
  {
222
  $social_icon_array_order = unserialize($social_icon_array_order);
223
  }
224
+ if($social_icon_array_order == "" || !is_array($social_icon_array_order))
225
+ {
226
+ $social_icon_array_order = array();
227
+ }
228
+
229
  $acx_string = __("Social Media Icon Display Order - Drag and Drop to Reorder","floating-social-media-icon");
230
  print_acx_fsmi_option_block_start($acx_string);
231
  ?>
652
  if ($acx_si_fsmi_hide_advert == "") { $acx_si_fsmi_hide_advert = 'no'; }
653
  do_action('acx_fsmi_array_refresh');
654
  $social_icon_array_order = get_option('social_icon_array_order');
655
+ if(is_serialized($social_icon_array_order))
656
+ {
657
+ $social_icon_array_order = unserialize($social_icon_array_order);
658
+ }
659
+ if($social_icon_array_order == "" || !is_array($social_icon_array_order))
660
+ {
661
+ $social_icon_array_order = array();
662
+ }
663
  } add_action('acx_fsmi_hook_option_postelse','acx_fsmi_social_media_else',100);
664
  /* Define options in else post Ends Here */
665
 
849
  if ($acx_si_fsmi_no_follow == "") { $acx_si_fsmi_no_follow = "no"; }
850
  } add_action('acx_fsmi_misc_hook_option_after_else','acx_fsmi_no_follow_after_else');
851
  /* Theme Conflict/Misc Settings HTML - Get - Set Default Logic Ends Here */
852
+
853
+
854
  /* Acurax Service/Info Settings HTML - Get - Set Default Logic Starts Here */
855
  function acx_fsmi_misc_service_info_html()
856
  {
957
  if ($acx_si_fsmi_hide_expert_support_menu == "") { $acx_si_fsmi_hide_expert_support_menu = "no"; }
958
  } add_action('acx_fsmi_misc_hook_option_after_else','acx_fsmi_expert_support_after_else');
959
  /* Expert Support Menu Settings Settings HTML - Get - Set Default Logic Ends Here */
960
+ /* Acurax FSMI GDPR Settings HTML - Get - Set Default Logic Starts Here */
961
+ function acx_fsmi_misc_gdpr_html()
962
+ {
963
+ $acx_fsmi_string = __('GDPR Settings','floating-social-media-icon');
964
+ print_acx_fsmi_option_block_start($acx_fsmi_string);
965
+ do_action('acx_fsmi_misc_gdpr_settings');
966
+ echo "<span class='acx_fsmi_q_sep'></span>";
967
+ print_acx_fsmi_option_block_end();
968
+ } add_action('acx_fsmi_misc_hook_option_fields','acx_fsmi_misc_gdpr_html',300);
969
+ function acx_fsmi_gdpr_info_option()
970
+ {
971
+ $acx_fsmi_gdpr_consent = 'As per GDPR, a regulation in European Union Law on Data Protection and Privacy, <b>Floating Social Media Icon</b> collects no personal information of visitors in any way and hence it is in compliance with GDPR. A visitor need not worry about the security of his/her personal information while using this facility. This plugin is a complete solution that helps you to have Interactive Social Media Icons on your website which links to your social media profiles.';
972
+ echo "<span class='label' style='width:100%;'>". __($acx_fsmi_gdpr_consent,'floating-social-media-icon')."</span>";
973
+ echo "<span class='acx_fsmi_q_sep'></span>";
974
+ }
975
+ add_action('acx_fsmi_misc_gdpr_settings','acx_fsmi_gdpr_info_option',100);
976
+
977
+ /* Acurax FSMI GDPR Settings HTML - Get - Set Default Logic Starts Here */
978
 
979
  /* Define Misc Submit Button Starts Here */
980
  function acx_fsmi_misc_submit_button_html()
984
  <?php
985
  echo "<span class='acx_fsmi_q_sep'></span>";
986
  }
987
+ add_action('acx_fsmi_misc_hook_option_fields','acx_fsmi_misc_submit_button_html',900);
988
  /* Define Misc Submit Button Ends Here */
989
  /* Comparison HTML Starts Here */
990
  function acx_fsmi_misc_show_comparison()
1133
  add_action('acx_fsmi_exprt_hook_option_above_page_left','acx_fsmi_expert_quick_fix_html',300);
1134
  function acx_fsmi_exprt_quick_fix_add()
1135
  {
1136
+ global $fix_applied,$page;
1137
+
 
 
 
1138
  $page = $quick_fix = $sid = "";
1139
  if(ISSET($_GET['page']))
1140
  {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.acurax.com/happy-clients.php
4
  Tags: social media, floating social media, social network icon, social media widget, social media icon, socialmedia, social buttons, social floating icon, social icon style, floating social media button, social media button
5
  Requires at least: 3.0
6
  Requires PHP: 5.3
7
- Tested up to: 4.9.4
8
  Stable tag: trunk
9
  License: GPLv2 or later
10
 
@@ -212,6 +212,12 @@ Have more questions ? [Drop a mail](http://www.acurax.com/contact.php/ "Drop an
212
 
213
  == Upgrade Notice ==
214
 
 
 
 
 
 
 
215
  = Social Media Flying Icons - 4.2.9 =
216
  * Fix - Security Improvements
217
  * Fix - Improved UI
@@ -457,6 +463,11 @@ Have more questions ? [Drop a mail](http://www.acurax.com/contact.php/ "Drop an
457
 
458
  == Changelog ==
459
 
 
 
 
 
 
460
  = Social Media Flying Icons - 4.2.9 =
461
  * Fix - Security Improvements
462
  * Fix - Improved UI
4
  Tags: social media, floating social media, social network icon, social media widget, social media icon, socialmedia, social buttons, social floating icon, social icon style, floating social media button, social media button
5
  Requires at least: 3.0
6
  Requires PHP: 5.3
7
+ Tested up to: 4.9.8
8
  Stable tag: trunk
9
  License: GPLv2 or later
10
 
212
 
213
  == Upgrade Notice ==
214
 
215
+ = Social Media Flying Icons - 4.3 =
216
+ * Fix - Security Improvements
217
+ * Add - GDPR Ready
218
+ * Fix - Improved UI
219
+
220
+
221
  = Social Media Flying Icons - 4.2.9 =
222
  * Fix - Security Improvements
223
  * Fix - Improved UI
463
 
464
  == Changelog ==
465
 
466
+ = Social Media Flying Icons - 4.3 =
467
+ * Fix - Security Improvements
468
+ * Add - GDPR Ready
469
+ * Fix - Improved UI
470
+
471
  = Social Media Flying Icons - 4.2.9 =
472
  * Fix - Security Improvements
473
  * Fix - Improved UI