Social Media Widget by Acurax - Version 1.3.3

Version Description

  • March 13, 2014 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
  • Added Theme Warning Ignore Option
  • Optimized Codes
  • Updated Option Description
Download this release

Release Info

Developer Acurax
Plugin Icon 128x128 Social Media Widget by Acurax
Version 1.3.3
Comparing to
See all releases

Code changes from version 1.3.2 to 1.3.3

Files changed (5) hide show
  1. acurax-social-icon.php +1 -1
  2. function.php +5 -1
  3. readme.txt +13 -1
  4. smw-misc.php +14 -1
  5. social-icon.php +2 -2
acurax-social-icon.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Acurax Social Media Widget
4
  Plugin URI: http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/
5
  Description: A Simple Wordpress Plugin Which Allow You To Add Widget Which Links Social Media Icons to Your Social Media Profiles Twitter,Facebook,Pinterest,Youtube,Rss Feed,Linkedin,google plus. You can define icon style size for each widget.
6
  Author: Acurax
7
- Version: 1.3.2
8
  Author URI: http://www.acurax.com
9
  License: GPLv2 or later
10
  */
4
  Plugin URI: http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/
5
  Description: A Simple Wordpress Plugin Which Allow You To Add Widget Which Links Social Media Icons to Your Social Media Profiles Twitter,Facebook,Pinterest,Youtube,Rss Feed,Linkedin,google plus. You can define icon style size for each widget.
6
  Author: Acurax
7
+ Version: 1.3.3
8
  Author URI: http://www.acurax.com
9
  License: GPLv2 or later
10
  */
function.php CHANGED
@@ -14,6 +14,7 @@ $acx_widget_si_feed = get_option('acx_widget_si_feed');
14
  $acx_widget_si_icon_size = get_option('acx_widget_si_icon_size');
15
  $acx_si_smw_menu_highlight = get_option('acx_si_smw_menu_highlight');
16
  $acx_si_smw_float_fix = get_option('acx_si_smw_float_fix');
 
17
  // *****************************************************
18
 
19
  // Options Value Checker
@@ -102,7 +103,10 @@ function acx_widget_theme_check_wp_head() {
102
  echo "<div class=\"highlight\" style=\"width: 99%; margin-top: 10px; margin-bottom: 10px; border: 1px solid darkred;\">" . "Your theme needs to be fixed for plugins to work. To fix your theme, use the <a href=\"theme-editor.php\">Theme Editor</a> to insert <code>&lt;?php wp_head(); ?&gt;</code> just before the <code>&lt;/head&gt;</code> line of your theme's <code>header.php</code> file." . "</div>";
103
  }
104
  } // theme check
 
 
105
  add_action('admin_notices', 'acx_widget_theme_check_wp_head');
 
106
  function acurax_widget_icons()
107
  {
108
  global $acx_widget_si_theme, $acx_widget_si_credit, $acx_widget_si_twitter, $acx_widget_si_facebook, $acx_widget_si_youtube,
@@ -209,7 +213,7 @@ function acx_widget_si_pluign_finish_version_update()
209
  </div>';
210
  }
211
  $acx_widget_si_current_version = get_option('acx_widget_si_current_version');
212
- if($acx_widget_si_current_version != '1.3.2') // Current Version
213
  {
214
  if (get_option('social_widget_icon_array_order') != "")
215
  {
14
  $acx_widget_si_icon_size = get_option('acx_widget_si_icon_size');
15
  $acx_si_smw_menu_highlight = get_option('acx_si_smw_menu_highlight');
16
  $acx_si_smw_float_fix = get_option('acx_si_smw_float_fix');
17
+ $acx_si_smw_theme_warning_ignore = get_option('acx_si_smw_theme_warning_ignore');
18
  // *****************************************************
19
 
20
  // Options Value Checker
103
  echo "<div class=\"highlight\" style=\"width: 99%; margin-top: 10px; margin-bottom: 10px; border: 1px solid darkred;\">" . "Your theme needs to be fixed for plugins to work. To fix your theme, use the <a href=\"theme-editor.php\">Theme Editor</a> to insert <code>&lt;?php wp_head(); ?&gt;</code> just before the <code>&lt;/head&gt;</code> line of your theme's <code>header.php</code> file." . "</div>";
104
  }
105
  } // theme check
106
+ if($acx_si_smw_theme_warning_ignore != "yes")
107
+ {
108
  add_action('admin_notices', 'acx_widget_theme_check_wp_head');
109
+ }
110
  function acurax_widget_icons()
111
  {
112
  global $acx_widget_si_theme, $acx_widget_si_credit, $acx_widget_si_twitter, $acx_widget_si_facebook, $acx_widget_si_youtube,
213
  </div>';
214
  }
215
  $acx_widget_si_current_version = get_option('acx_widget_si_current_version');
216
+ if($acx_widget_si_current_version != '1.3.3') // Current Version
217
  {
218
  if (get_option('social_widget_icon_array_order') != "")
219
  {
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Acurax
3
 
4
  Tags: Social Media Widget,social,social icon widget,social media icon,socialmedia,pinterest widget,fb widget,facebook button,pinterest,social icon,social profile link,twitter facebook,social media button,pinterest button,rss icon,facebook profile url,google plus,google+,google plus button
5
  Requires at least: 2.8
6
- Tested up to: 3.8.1
7
  Stable tag: trunk
8
 
9
  Simple Wordpress Social Media Widget Plugin Where You Can Use Widget To Show Essential Social Media Icons - Can Select Social Media Icon Style , Size and alignment.
@@ -109,6 +109,12 @@ Have more questions ? [Drop a mail](http://www.acurax.com/contact.php/ "Drop an
109
 
110
  == Upgrade Notice ==
111
 
 
 
 
 
 
 
112
  = 1.3.2 =
113
  * Jan 09, 2014 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
114
  * Fixed Spelling
@@ -144,6 +150,12 @@ Have more questions ? [Drop a mail](http://www.acurax.com/contact.php/ "Drop an
144
 
145
  == Changelog ==
146
 
 
 
 
 
 
 
147
  = 1.3.2 =
148
  * Jan 09, 2014 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
149
  * Fixed Spelling
3
 
4
  Tags: Social Media Widget,social,social icon widget,social media icon,socialmedia,pinterest widget,fb widget,facebook button,pinterest,social icon,social profile link,twitter facebook,social media button,pinterest button,rss icon,facebook profile url,google plus,google+,google plus button
5
  Requires at least: 2.8
6
+ Tested up to: 3.9.1
7
  Stable tag: trunk
8
 
9
  Simple Wordpress Social Media Widget Plugin Where You Can Use Widget To Show Essential Social Media Icons - Can Select Social Media Icon Style , Size and alignment.
109
 
110
  == Upgrade Notice ==
111
 
112
+ = 1.3.3 =
113
+ * March 13, 2014 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
114
+ * Added Theme Warning Ignore Option
115
+ * Optimized Codes
116
+ * Updated Option Description
117
+
118
  = 1.3.2 =
119
  * Jan 09, 2014 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
120
  * Fixed Spelling
150
 
151
  == Changelog ==
152
 
153
+ = 1.3.3 =
154
+ * March 13, 2014 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
155
+ * Added Theme Warning Ignore Option
156
+ * Optimized Codes
157
+ * Updated Option Description
158
+
159
  = 1.3.2 =
160
  * Jan 09, 2014 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
161
  * Fixed Spelling
smw-misc.php CHANGED
@@ -3,6 +3,8 @@ if($_POST['acurax_social_widget_icon_hidden'] == 'Y')
3
  { //Form data sent
4
  $acx_si_smw_menu_highlight = $_POST['acx_si_smw_menu_highlight'];
5
  update_option('acx_si_smw_menu_highlight', $acx_si_smw_menu_highlight);
 
 
6
  $acx_si_smw_acx_service_banners = $_POST['acx_si_smw_acx_service_banners'];
7
  update_option('acx_si_smw_acx_service_banners', $acx_si_smw_acx_service_banners);
8
  $acx_si_smw_float_fix = $_POST['acx_si_smw_float_fix'];
@@ -16,11 +18,13 @@ update_option('acx_si_smw_hide_advert', $acx_si_smw_hide_advert);
16
  else
17
  { //Normal page display
18
  $acx_si_smw_menu_highlight = get_option('acx_si_smw_menu_highlight');
 
19
  $acx_si_smw_acx_service_banners = get_option('acx_si_smw_acx_service_banners');
20
  $acx_si_smw_float_fix = get_option('acx_si_smw_float_fix');
21
  $acx_si_smw_hide_advert = get_option('acx_si_smw_hide_advert');
22
  // Setting Defaults
23
  if ($acx_si_smw_menu_highlight == "") { $acx_si_smw_menu_highlight = "yes"; }
 
24
  if ($acx_si_smw_acx_service_banners == "") { $acx_si_smw_acx_service_banners = "yes"; }
25
  if ($acx_si_smw_float_fix == "") { $acx_si_smw_float_fix = "no"; }
26
  if ($acx_si_smw_hide_advert == "") { $acx_si_smw_hide_advert = "no"; }
@@ -61,7 +65,7 @@ if ($acx_si_smw_acx_service_banners != "no") { ?>
61
  <option value="yes"<?php if ($acx_si_smw_menu_highlight == "yes") { echo 'selected="selected"'; } ?>>Yes, Highlight Plugin Menu </option>
62
  <option value="no"<?php if ($acx_si_smw_menu_highlight == "no") { echo 'selected="selected"'; } ?>>No, Dont Highlight Plugin Menu </option>
63
  </select>
64
- <?php _e("Show Plugin Menu In Green" ); ?>
65
  </p>
66
  <p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Acurax Service Banners: " ); ?>
67
  <select name="acx_si_smw_acx_service_banners">
@@ -84,6 +88,15 @@ if ($acx_si_smw_acx_service_banners != "no") { ?>
84
  </select>
85
  <?php _e("If your widget/shortcode icons are in Vertical, then enable this to make it Horizontal" ); ?>
86
  </p>
 
 
 
 
 
 
 
 
 
87
  <p class="submit">
88
  <input type="submit" name="Submit" value="<?php _e('Update Acurax Social Icon', 'acx_si_config' ) ?>" />
89
  </p>
3
  { //Form data sent
4
  $acx_si_smw_menu_highlight = $_POST['acx_si_smw_menu_highlight'];
5
  update_option('acx_si_smw_menu_highlight', $acx_si_smw_menu_highlight);
6
+ $acx_si_smw_theme_warning_ignore = $_POST['acx_si_smw_theme_warning_ignore'];
7
+ update_option('acx_si_smw_theme_warning_ignore', $acx_si_smw_theme_warning_ignore);
8
  $acx_si_smw_acx_service_banners = $_POST['acx_si_smw_acx_service_banners'];
9
  update_option('acx_si_smw_acx_service_banners', $acx_si_smw_acx_service_banners);
10
  $acx_si_smw_float_fix = $_POST['acx_si_smw_float_fix'];
18
  else
19
  { //Normal page display
20
  $acx_si_smw_menu_highlight = get_option('acx_si_smw_menu_highlight');
21
+ $acx_si_smw_theme_warning_ignore = get_option('acx_si_smw_theme_warning_ignore');
22
  $acx_si_smw_acx_service_banners = get_option('acx_si_smw_acx_service_banners');
23
  $acx_si_smw_float_fix = get_option('acx_si_smw_float_fix');
24
  $acx_si_smw_hide_advert = get_option('acx_si_smw_hide_advert');
25
  // Setting Defaults
26
  if ($acx_si_smw_menu_highlight == "") { $acx_si_smw_menu_highlight = "yes"; }
27
+ if ($acx_si_smw_theme_warning_ignore == "") { $acx_si_smw_theme_warning_ignore = "no"; }
28
  if ($acx_si_smw_acx_service_banners == "") { $acx_si_smw_acx_service_banners = "yes"; }
29
  if ($acx_si_smw_float_fix == "") { $acx_si_smw_float_fix = "no"; }
30
  if ($acx_si_smw_hide_advert == "") { $acx_si_smw_hide_advert = "no"; }
65
  <option value="yes"<?php if ($acx_si_smw_menu_highlight == "yes") { echo 'selected="selected"'; } ?>>Yes, Highlight Plugin Menu </option>
66
  <option value="no"<?php if ($acx_si_smw_menu_highlight == "no") { echo 'selected="selected"'; } ?>>No, Dont Highlight Plugin Menu </option>
67
  </select>
68
+ <?php _e("If you don't like the plugin menu highlighting in green, you can set this to NO" ); ?>
69
  </p>
70
  <p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Acurax Service Banners: " ); ?>
71
  <select name="acx_si_smw_acx_service_banners">
88
  </select>
89
  <?php _e("If your widget/shortcode icons are in Vertical, then enable this to make it Horizontal" ); ?>
90
  </p>
91
+
92
+ <p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Ignore Theme Warning?" ); ?>
93
+ <select name="acx_si_smw_theme_warning_ignore">
94
+ <option value="yes"<?php if ($acx_si_smw_theme_warning_ignore == "yes") { echo 'selected="selected"'; } ?>>Yes </option>
95
+ <option value="no"<?php if ($acx_si_smw_theme_warning_ignore == "no") { echo 'selected="selected"'; } ?>>No </option>
96
+ </select>
97
+ <?php _e("If everything is working properly and still the plugin shows theme warning, you can set this to Yes" ); ?>
98
+ </p>
99
+
100
  <p class="submit">
101
  <input type="submit" name="Submit" value="<?php _e('Update Acurax Social Icon', 'acx_si_config' ) ?>" />
102
  </p>
social-icon.php CHANGED
@@ -60,7 +60,7 @@ update_option('acx_widget_si_installed_date', $acx_widget_si_installed_date);
60
  $social_widget_icon_array_order = array(0,1,2,3,4,5,6);
61
  $social_widget_icon_array_order = serialize($social_widget_icon_array_order);
62
  update_option('social_widget_icon_array_order', $social_widget_icon_array_order);
63
- $acx_widget_si_current_version = "1.3.2"; // Current Version
64
  update_option('acx_widget_si_current_version', $acx_widget_si_current_version);
65
  } else
66
  {
@@ -321,7 +321,7 @@ if ($acx_si_smw_acx_service_banners != "no") { ?>
321
  <?php if($_GET["status"] == "updated") { ?>
322
  <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 Social Media Widget Update Successfully Completed - Thank You</div>
323
  <?php
324
- $acx_widget_si_current_version = "1.3.2"; // Current Version
325
  update_option('acx_widget_si_current_version', $acx_widget_si_current_version);
326
  } ?>
327
  <hr/>
60
  $social_widget_icon_array_order = array(0,1,2,3,4,5,6);
61
  $social_widget_icon_array_order = serialize($social_widget_icon_array_order);
62
  update_option('social_widget_icon_array_order', $social_widget_icon_array_order);
63
+ $acx_widget_si_current_version = "1.3.3"; // Current Version
64
  update_option('acx_widget_si_current_version', $acx_widget_si_current_version);
65
  } else
66
  {
321
  <?php if($_GET["status"] == "updated") { ?>
322
  <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 Social Media Widget Update Successfully Completed - Thank You</div>
323
  <?php
324
+ $acx_widget_si_current_version = "1.3.3"; // Current Version
325
  update_option('acx_widget_si_current_version', $acx_widget_si_current_version);
326
  } ?>
327
  <hr/>