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

Version Description

  • Aug 19, 2015 | NOTE: Updating Plugin Will Not Change Your Settings/Configuration.. Update With Confidence :)
  • Security Fix
  • Stable Release
Download this release

Release Info

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

Code changes from version 2.1 to 2.2

Files changed (8) hide show
  1. acurax-social-icon.php +1 -90
  2. fsmi-misc.php +17 -6
  3. function.php +14 -3
  4. premium.php +8 -1
  5. readme.txt +11 -1
  6. social-icon.php +24 -6
  7. style_admin.css +4 -5
  8. troubleshoot.php +32 -10
acurax-social-icon.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Floating Social Media Icon
4
  Plugin URI: http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/
5
  Description: An easy to use plugin to show social media icons which floats on your browsers right bottom, which links to your social media profiles, You have option in plugin settings to configure social media profile urls and also can select icon style,order and size.
6
  Author: Acurax
7
- Version: 2.1
8
  Author URI: http://www.acurax.com
9
  License: GPLv2 or later
10
  */
@@ -109,93 +109,4 @@ if ( is_admin() )
109
  {
110
  add_action('admin_menu', 'acx_social_icon_admin_actions');
111
  }
112
-
113
- // Adding WUM Starts Here
114
- function acurax_social_icon_update( $plugin_data, $r )
115
- {
116
- // Get Current Plugin Data () Starts Here
117
- function current_plugin_info($value)
118
- {
119
- if ( ! function_exists( 'get_plugins' ) )
120
- require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
121
- $plugin_folder = get_plugins( '/' . plugin_basename( dirname( __FILE__ ) ) );
122
- $plugin_file = basename( ( __FILE__ ) );
123
- return $plugin_folder[$plugin_file][$value];
124
- } // Get Current Plugin Data () Starts Here
125
-
126
- $curr_ver = current_plugin_info('Version');
127
- define ( 'CURRENT_VERSION', $curr_ver );
128
- $folder = basename( dirname( __FILE__ ) );
129
- // readme contents
130
- $data = file_get_contents( 'http://plugins.trac.wordpress.org/browser/'.$folder.'/trunk/readme.txt?format=txt' );
131
- if ($data)
132
- {
133
- $matches = null;
134
- $regexp = '~==\s*Changelog\s*==\s*=\s*[0-9.]+\s*=(.*)(=\s*' . preg_quote ( CURRENT_VERSION ) . '\s*=|$)~Uis';
135
- if ( preg_match ( $regexp, $data, $matches) )
136
- {
137
- $changelog = (array) preg_split ( '~[\r\n]+~', trim ( $matches[1] ) );
138
- $ret = '<div style="color: #c00;font-size: small; margin-top:8px;margin-bottom:8px">The Floating Social Media Plugin has been updated. Here is a change list, so you can see what\'s been changed or fixed:</div>';
139
- $ret .= '<div style="font-weight: normal;">';
140
- $ret .= '<p style="margin: 5px 0; font-weight:bold; font-size:small">= Latest Version =</p>';
141
- $ul = false;
142
- $first = false;
143
- foreach ( $changelog as $index => $line )
144
- {
145
- if ( preg_match ( '~^\s*\*\s*~', $line) )
146
- {
147
- if ( !$ul )
148
- {
149
- $ret .= '<ul style="list-style: disc; margin-left: 20px;">';
150
- $ul = true;
151
- $first = true;
152
- }
153
- $line = preg_replace ( '~^\s*\*\s*~', '', $line );
154
- if ( $first )
155
- {
156
- $ret .= '<li style="list-style-type:none;margin-left: -1.5em; font-weight:bold">Release Date:' . $line . '</li>';
157
- $first = false;
158
- }
159
- else
160
- {
161
- $ret .= '<li>' . $line . '</li>';
162
- }
163
- }
164
- else
165
- {
166
- if ( $ul )
167
- {
168
- $ret .= '</ul><div style="clear: left;"></div>';
169
- $ul = false;
170
- }
171
- $ret .= '<p style="margin: 5px 0; font-weight:bold; font-size:small">' . $line . '</p>';
172
- }
173
- }
174
- if ( $ul )
175
- {
176
- $ret .= '</ul>';
177
- }
178
- $ret .= '</div>';
179
- }
180
- }
181
- echo $ret;
182
- }
183
- /**
184
- * Add update messages that can be attached to the CURRENT release (not
185
- * this one), but only for 2.8+
186
- */
187
- global $wp_version;
188
- if ( version_compare('2.8', $wp_version, '<=') )
189
- {
190
- global $pagenow;
191
- if ( 'plugins.php' === $pagenow )
192
- {
193
- // Better update message
194
- $file = basename( __FILE__ );
195
- $folder = basename( dirname( __FILE__ ) );
196
- $acx_add = "in_plugin_update_message-{$folder}/{$file}";
197
- add_action( $acx_add, 'acurax_social_icon_update', 20, 2 );
198
- }
199
- }
200
- // Adding WUM Ends Here
201
  ?>
4
  Plugin URI: http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/
5
  Description: An easy to use plugin to show social media icons which floats on your browsers right bottom, which links to your social media profiles, You have option in plugin settings to configure social media profile urls and also can select icon style,order and size.
6
  Author: Acurax
7
+ Version: 2.2
8
  Author URI: http://www.acurax.com
9
  License: GPLv2 or later
10
  */
109
  {
110
  add_action('admin_menu', 'acx_social_icon_admin_actions');
111
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
  ?>
fsmi-misc.php CHANGED
@@ -1,17 +1,27 @@
1
  <?php
2
  if($_POST['acurax_social_icon_hidden'] == 'Y')
3
  { //Form data sent
4
- $acx_si_fsmi_theme_warning_ignore = $_POST['acx_si_fsmi_theme_warning_ignore'];
 
 
 
 
 
5
  update_option('acx_si_fsmi_theme_warning_ignore', $acx_si_fsmi_theme_warning_ignore);
6
- $acx_si_fsmi_acx_service_banners = $_POST['acx_si_fsmi_acx_service_banners'];
 
7
  update_option('acx_si_fsmi_acx_service_banners', $acx_si_fsmi_acx_service_banners);
8
- $acx_si_fsmi_float_fix = $_POST['acx_si_fsmi_float_fix'];
 
9
  update_option('acx_si_fsmi_float_fix', $acx_si_fsmi_float_fix);
10
- $acx_si_fsmi_hide_advert = $_POST['acx_si_fsmi_hide_advert'];
 
11
  update_option('acx_si_fsmi_hide_advert', $acx_si_fsmi_hide_advert);
12
- $acx_si_fsmi_disable_mobile = $_POST['acx_si_fsmi_disable_mobile'];
 
13
  update_option('acx_si_fsmi_disable_mobile', $acx_si_fsmi_disable_mobile);
14
- $acx_si_fsmi_hide_expert_support_menu = $_POST['acx_si_fsmi_hide_expert_support_menu'];
 
15
  update_option('acx_si_fsmi_hide_expert_support_menu', $acx_si_fsmi_hide_expert_support_menu);
16
 
17
 
@@ -133,6 +143,7 @@ if ($acx_si_fsmi_acx_service_banners != "no") { ?>
133
  <p class="submit">
134
  <input type="submit" name="Submit" class="button" value="<?php _e('Save Settings', 'acx_si_config' ) ?>" />
135
  </p>
 
136
  </form>
137
  <hr/>
138
  <?php
1
  <?php
2
  if($_POST['acurax_social_icon_hidden'] == 'Y')
3
  { //Form data sent
4
+ if (!isset($_POST['acx_fsmi_misc'])) die("<br><br>Unknown Error Occurred, Try Again... <a href=''>Click Here</a>");
5
+ if (!wp_verify_nonce($_POST['acx_fsmi_misc'],'acx_fsmi_misc')) die("<br><br>Unknown Error Occurred, Try Again... <a href=''>Click Here</a>");
6
+ if(!current_user_can('manage_options')) die("<br><br>Sorry, You have no permission to do this action...</a>");
7
+
8
+
9
+ $acx_si_fsmi_theme_warning_ignore = sanitize_text_field($_POST['acx_si_fsmi_theme_warning_ignore']);
10
  update_option('acx_si_fsmi_theme_warning_ignore', $acx_si_fsmi_theme_warning_ignore);
11
+
12
+ $acx_si_fsmi_acx_service_banners = sanitize_text_field($_POST['acx_si_fsmi_acx_service_banners']);
13
  update_option('acx_si_fsmi_acx_service_banners', $acx_si_fsmi_acx_service_banners);
14
+
15
+ $acx_si_fsmi_float_fix = sanitize_text_field($_POST['acx_si_fsmi_float_fix']);
16
  update_option('acx_si_fsmi_float_fix', $acx_si_fsmi_float_fix);
17
+
18
+ $acx_si_fsmi_hide_advert = sanitize_text_field($_POST['acx_si_fsmi_hide_advert']);
19
  update_option('acx_si_fsmi_hide_advert', $acx_si_fsmi_hide_advert);
20
+
21
+ $acx_si_fsmi_disable_mobile = sanitize_text_field($_POST['acx_si_fsmi_disable_mobile']);
22
  update_option('acx_si_fsmi_disable_mobile', $acx_si_fsmi_disable_mobile);
23
+
24
+ $acx_si_fsmi_hide_expert_support_menu = sanitize_text_field($_POST['acx_si_fsmi_hide_expert_support_menu']);
25
  update_option('acx_si_fsmi_hide_expert_support_menu', $acx_si_fsmi_hide_expert_support_menu);
26
 
27
 
143
  <p class="submit">
144
  <input type="submit" name="Submit" class="button" value="<?php _e('Save Settings', 'acx_si_config' ) ?>" />
145
  </p>
146
+ <input name="acx_fsmi_misc" type="hidden" value="<?php echo wp_create_nonce('acx_fsmi_misc'); ?>" />
147
  </form>
148
  <hr/>
149
  <?php
function.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- error_reporting('E_ALL');
3
  //*************** Include style.css in Header ********
4
  // Getting Option From DB *****************************
5
  $acx_si_theme = get_option('acx_si_theme');
@@ -606,7 +606,7 @@ function acx_fsmi_si_pluign_finish_version_update()
606
  </div>';
607
  }
608
  $acx_fsmi_si_current_version = get_option('acx_fsmi_si_current_version');
609
- if($acx_fsmi_si_current_version != '2.1') // Current Version
610
  {
611
  if (get_option('social_icon_array_order') != "")
612
  {
@@ -1164,10 +1164,21 @@ function acx_quick_request_submit_callback()
1164
  $acx_name = $_POST['acx_name'];
1165
  $acx_email = $_POST['acx_email'];
1166
  $acx_phone = $_POST['acx_phone'];
 
1167
  $acx_weburl = $_POST['acx_weburl'];
1168
  $acx_subject = stripslashes($_POST['acx_subject']);
1169
  $acx_question = stripslashes($_POST['acx_question']);
1170
- if($acx_name == "" || $acx_email == "" || $acx_weburl == "" || $acx_subject == "" || $acx_question == "")
 
 
 
 
 
 
 
 
 
 
1171
  {
1172
  echo 2;
1173
  } else
1
  <?php
2
+ // error_reporting('E_ALL');
3
  //*************** Include style.css in Header ********
4
  // Getting Option From DB *****************************
5
  $acx_si_theme = get_option('acx_si_theme');
606
  </div>';
607
  }
608
  $acx_fsmi_si_current_version = get_option('acx_fsmi_si_current_version');
609
+ if($acx_fsmi_si_current_version != '2.2') // Current Version
610
  {
611
  if (get_option('social_icon_array_order') != "")
612
  {
1164
  $acx_name = $_POST['acx_name'];
1165
  $acx_email = $_POST['acx_email'];
1166
  $acx_phone = $_POST['acx_phone'];
1167
+ $acx_fsmi_es = $_POST['acx_fsmi_es'];
1168
  $acx_weburl = $_POST['acx_weburl'];
1169
  $acx_subject = stripslashes($_POST['acx_subject']);
1170
  $acx_question = stripslashes($_POST['acx_question']);
1171
+
1172
+ if (!wp_verify_nonce($acx_fsmi_es,'acx_fsmi_es'))
1173
+ {
1174
+ $acx_fsmi_es == "";
1175
+ }
1176
+ if(!current_user_can('manage_options'))
1177
+ {
1178
+ $acx_fsmi_es == "";
1179
+ }
1180
+
1181
+ if($acx_fsmi_es == "" || $acx_name == "" || $acx_email == "" || $acx_weburl == "" || $acx_subject == "" || $acx_question == "")
1182
  {
1183
  echo 2;
1184
  } else
premium.php CHANGED
@@ -1,5 +1,12 @@
1
  <?php
2
- if($_GET['td'] == 'hide')
 
 
 
 
 
 
 
3
  {
4
  update_option('acx_si_td', "hide");
5
  ?>
1
  <?php
2
+ if(ISSET($_GET['td']))
3
+ {
4
+ $td_get = $_GET['td'];
5
+ } else
6
+ {
7
+ $td_get = "";
8
+ }
9
+ if($td_get == 'hide')
10
  {
11
  update_option('acx_si_td', "hide");
12
  ?>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:http://www.acurax.com/products/floating-social-media-icon-plugin-wor
4
 
5
  Tags: floating social media, social network icon, social media widget, social media icon, socialmedia, social network widget, social floating icon, social profiles, floating social media button, social media button
6
  Requires at least: 2.8
7
- Tested up to: 4.2.4
8
  Stable tag: trunk
9
 
10
  Simple & Easy, Top Rated Social Media Plugin,20+ Social Media Icon Styles to Match Your Site, Animation,Set Order,Size,Support Widgets, Shortcode...
@@ -208,6 +208,11 @@ Have more questions ? [Drop a mail](http://www.acurax.com/contact.php/ "Drop an
208
 
209
  == Upgrade Notice ==
210
 
 
 
 
 
 
211
  = 2.1 =
212
  * May 30, 2015 | NOTE: Updating Plugin Will Not Change Your Settings/Configuration.. Update With Confidence :)
213
  * Optimized Codes
@@ -366,6 +371,11 @@ Have more questions ? [Drop a mail](http://www.acurax.com/contact.php/ "Drop an
366
 
367
  == Changelog ==
368
 
 
 
 
 
 
369
  = 2.1 =
370
  * May 30, 2015 | NOTE: Updating Plugin Will Not Change Your Settings/Configuration.. Update With Confidence :)
371
  * Optimized Codes
4
 
5
  Tags: floating social media, social network icon, social media widget, social media icon, socialmedia, social network widget, social floating icon, social profiles, floating social media button, social media button
6
  Requires at least: 2.8
7
+ Tested up to: 4.3
8
  Stable tag: trunk
9
 
10
  Simple & Easy, Top Rated Social Media Plugin,20+ Social Media Icon Styles to Match Your Site, Animation,Set Order,Size,Support Widgets, Shortcode...
208
 
209
  == Upgrade Notice ==
210
 
211
+ = 2.2 =
212
+ * Aug 19, 2015 | NOTE: Updating Plugin Will Not Change Your Settings/Configuration.. Update With Confidence :)
213
+ * Security Fix
214
+ * Stable Release
215
+
216
  = 2.1 =
217
  * May 30, 2015 | NOTE: Updating Plugin Will Not Change Your Settings/Configuration.. Update With Confidence :)
218
  * Optimized Codes
371
 
372
  == Changelog ==
373
 
374
+ = 2.2 =
375
+ * Aug 19, 2015 | NOTE: Updating Plugin Will Not Change Your Settings/Configuration.. Update With Confidence :)
376
+ * Security Fix
377
+ * Stable Release
378
+
379
  = 2.1 =
380
  * May 30, 2015 | NOTE: Updating Plugin Will Not Change Your Settings/Configuration.. Update With Confidence :)
381
  * Optimized Codes
social-icon.php CHANGED
@@ -3,8 +3,15 @@
3
  $total_themes = ACX_SOCIALMEDIA_TOTAL_THEMES; // DEFINE NUMBER OF THEMES HERE
4
  $total_themes = ($total_themes+1); // DO NOT EDIT THIS
5
  /**********************************************/
6
- if($_GET["backlink"] == "enable") {
7
- $acx_si_credit = "yes"; // Current Version
 
 
 
 
 
 
 
8
  update_option('acx_si_credit', $acx_si_credit);
9
  ?>
10
  <style type='text/css'>
@@ -15,10 +22,20 @@ display:none;
15
  </style>
16
  <?php }
17
  if($_POST['acurax_social_icon_hidden'] == 'Y')
18
- { //Form data sent
19
- $acx_si_theme = $_POST['acx_si_theme'];
 
 
 
 
 
 
 
 
 
20
  update_option('acx_si_theme', $acx_si_theme);
21
- $acx_si_twitter = $_POST['acx_si_twitter'];
 
22
  update_option('acx_si_twitter', $acx_si_twitter);
23
  $acx_si_facebook = $_POST['acx_si_facebook'];
24
  if($acx_si_facebook != "")
@@ -366,6 +383,7 @@ Please do a favour by enabling back-link to our site. <a href="admin.php?page=Ac
366
  </p>
367
  <?php
368
  } ?>
 
369
  <p class="submit">
370
  <input type="submit" name="Submit" class="button" value="<?php _e('Save Configuration', 'acx_si_config' ) ?>" />
371
  <a name="updated">.</a>
@@ -374,7 +392,7 @@ Please do a favour by enabling back-link to our site. <a href="admin.php?page=Ac
374
  <?php if($_GET["status"] == "updated") { ?>
375
  <div style="display: block; background-color: rgb(255, 255, 224); padding: 10px; border: 1px solid rgb(230, 219, 85); font-family: arial; font-size: 13px; font-weight: bold; text-align: center; border-radius: 10px 10px 10px 10px;">Acurax Floating Social Media Icon Update Successfully Completed - Thank You</div>
376
  <?php
377
- $acx_fsmi_si_current_version = "2.1"; // Current Version
378
  update_option('acx_fsmi_si_current_version', $acx_fsmi_si_current_version);
379
  } ?>
380
  <hr/>
3
  $total_themes = ACX_SOCIALMEDIA_TOTAL_THEMES; // DEFINE NUMBER OF THEMES HERE
4
  $total_themes = ($total_themes+1); // DO NOT EDIT THIS
5
  /**********************************************/
6
+ if(ISSET($_GET["backlink"]))
7
+ {
8
+ $get_backlink = sanitize_text_field($_GET["backlink"]);
9
+ } else
10
+ {
11
+ $get_backlink = "";
12
+ }
13
+ if($get_backlink == "enable") {
14
+ $acx_si_credit = "yes";
15
  update_option('acx_si_credit', $acx_si_credit);
16
  ?>
17
  <style type='text/css'>
22
  </style>
23
  <?php }
24
  if($_POST['acurax_social_icon_hidden'] == 'Y')
25
+ {
26
+ if (!isset($_POST['acx_fsmi_save_config'])) die("<br><br>Unknown Error Occurred, Try Again... <a href=''>Click Here</a>");
27
+ if (!wp_verify_nonce($_POST['acx_fsmi_save_config'],'acx_fsmi_save_config')) die("<br><br>Unknown Error Occurred, Try Again... <a href=''>Click Here</a>");
28
+ if(!current_user_can('manage_options')) die("<br><br>Sorry, You have no permission to do this action...</a>");
29
+
30
+ //Form data sent
31
+ $acx_si_theme = sanitize_text_field($_POST['acx_si_theme']);
32
+ if(!is_numeric($acx_si_theme))
33
+ {
34
+ $acx_si_theme = 1;
35
+ }
36
  update_option('acx_si_theme', $acx_si_theme);
37
+
38
+ $acx_si_twitter = sanitize_text_field($_POST['acx_si_twitter']);
39
  update_option('acx_si_twitter', $acx_si_twitter);
40
  $acx_si_facebook = $_POST['acx_si_facebook'];
41
  if($acx_si_facebook != "")
383
  </p>
384
  <?php
385
  } ?>
386
+ <input name="acx_fsmi_save_config" type="hidden" value="<?php echo wp_create_nonce('acx_fsmi_save_config'); ?>" />
387
  <p class="submit">
388
  <input type="submit" name="Submit" class="button" value="<?php _e('Save Configuration', 'acx_si_config' ) ?>" />
389
  <a name="updated">.</a>
392
  <?php if($_GET["status"] == "updated") { ?>
393
  <div style="display: block; background-color: rgb(255, 255, 224); padding: 10px; border: 1px solid rgb(230, 219, 85); font-family: arial; font-size: 13px; font-weight: bold; text-align: center; border-radius: 10px 10px 10px 10px;">Acurax Floating Social Media Icon Update Successfully Completed - Thank You</div>
394
  <?php
395
+ $acx_fsmi_si_current_version = "2.2"; // Current Version
396
  update_option('acx_fsmi_si_current_version', $acx_fsmi_si_current_version);
397
  } ?>
398
  <hr/>
style_admin.css CHANGED
@@ -662,11 +662,10 @@ text-align: center;
662
  }
663
  #plugin_page_links a
664
  {
665
- color: #2F4F4F;
666
- font-family: arial;
667
- font-size: 13px;
668
- font-weight: bold;
669
- padding: 2px 10px;
670
  }
671
  #plugin_page_links a:hover
672
  {
662
  }
663
  #plugin_page_links a
664
  {
665
+ color: #2f4f4f;
666
+ font-family: arial;
667
+ font-size: 12px;
668
+ padding: 1px 8px;
 
669
  }
670
  #plugin_page_links a:hover
671
  {
troubleshoot.php CHANGED
@@ -1,15 +1,37 @@
1
  <?php
2
- $quick_fix = ISSET($_GET['quickfix']);
3
- $fix_applied = 0;
4
- if($quick_fix != '')
5
  {
6
- if($quick_fix == 1)
 
7
  {
8
- $social_icon_array_order = array(0,1,2,3,4,5,6); // Number Of Services
9
- $social_icon_array_order = serialize($social_icon_array_order);
10
- update_option('social_icon_array_order', $social_icon_array_order);
11
- $fix_applied = 1;
12
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  }
14
  $acx_installation_domain = $_SERVER['HTTP_HOST'];
15
  $acx_installation_domain = str_replace("www.","",$acx_installation_domain);
@@ -67,7 +89,7 @@ var acx_phone = jQuery("#acx_phone").val();
67
  var acx_weburl = jQuery("#acx_weburl").val();
68
  var acx_subject = jQuery("#acx_subject").val();
69
  var acx_question = jQuery("#acx_question").val();
70
- var order = '&action=acx_quick_request_submit&acx_name='+acx_name+'&acx_email='+acx_email+'&acx_phone='+acx_phone+'&acx_weburl='+acx_weburl+'&acx_subject='+acx_subject+'&acx_question='+acx_question;
71
  if(request_acx_form_status == 0)
72
  {
73
  request_acx_form_status = 1;
@@ -103,7 +125,7 @@ echo "<h2>Floating Social Media Icon Troubleshooting</h2>"; ?>
103
 
104
  <p class="widefat" style="background: none repeat scroll 0% 0% menu; border-bottom: 2px dashed lavender; border-right: 2px dashed lavender; margin-bottom: 15px; margin-top: 8px; padding: 8px; width: 99%;"> <?php _e("1) Icon Selection Display Fix: " ); ?>
105
  <?php _e("If you cant find any icons on the icon theme/style selection section, try this fix" ); ?>
106
- <a href="admin.php?page=Acurax-Social-Icons-Troubleshooter&quickfix=1" class="acx_trouble_fixit">Click here to try this fix!</a>
107
  </p>
108
 
109
 
1
  <?php
2
+ if(ISSET($_GET['quickfix']))
 
 
3
  {
4
+ $quick_fix = sanitize_text_field($_GET['quickfix']);
5
+ } else
6
  {
7
+ $quick_fix = "";
 
 
 
8
  }
9
+ if(ISSET($_GET['sid']))
10
+ {
11
+ $sid = sanitize_text_field($_GET['sid']);
12
+ } else
13
+ {
14
+ $sid = "";
15
+ }
16
+ if (!wp_verify_nonce($sid,'acx_fsmi_qfix'))
17
+ {
18
+ $sid = "";
19
+ }
20
+ if(!current_user_can('manage_options'))
21
+ {
22
+ $sid = "";
23
+ }
24
+
25
+ $fix_applied = 0;
26
+ if($sid != "")
27
+ {
28
+ if($quick_fix == 1)
29
+ {
30
+ $social_icon_array_order = array(0,1,2,3,4,5,6); // Number Of Services
31
+ $social_icon_array_order = serialize($social_icon_array_order);
32
+ update_option('social_icon_array_order', $social_icon_array_order);
33
+ $fix_applied = 1;
34
+ }
35
  }
36
  $acx_installation_domain = $_SERVER['HTTP_HOST'];
37
  $acx_installation_domain = str_replace("www.","",$acx_installation_domain);
89
  var acx_weburl = jQuery("#acx_weburl").val();
90
  var acx_subject = jQuery("#acx_subject").val();
91
  var acx_question = jQuery("#acx_question").val();
92
+ var order = '&action=acx_quick_request_submit&acx_name='+acx_name+'&acx_email='+acx_email+'&acx_phone='+acx_phone+'&acx_weburl='+acx_weburl+'&acx_subject='+acx_subject+'&acx_question='+acx_question+'&acx_fsmi_es=<?php echo wp_create_nonce("acx_fsmi_es"); ?>';
93
  if(request_acx_form_status == 0)
94
  {
95
  request_acx_form_status = 1;
125
 
126
  <p class="widefat" style="background: none repeat scroll 0% 0% menu; border-bottom: 2px dashed lavender; border-right: 2px dashed lavender; margin-bottom: 15px; margin-top: 8px; padding: 8px; width: 99%;"> <?php _e("1) Icon Selection Display Fix: " ); ?>
127
  <?php _e("If you cant find any icons on the icon theme/style selection section, try this fix" ); ?>
128
+ <a href="admin.php?page=Acurax-Social-Icons-Troubleshooter&quickfix=1&sid=<?php echo wp_create_nonce('acx_fsmi_qfix'); ?>" class="acx_trouble_fixit">Click here to try this fix!</a>
129
  </p>
130
 
131