Version Description
- fix / update security issue
Download this release
Release Info
Developer | cybernetikz |
Plugin | Easy Social Icons |
Version | 3.2.4 |
Comparing to | |
See all releases |
Code changes from version 3.2.3 to 3.2.4
- easy-social-icons.php +13 -13
- readme.txt +4 -1
easy-social-icons.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Easy Social Icons
|
4 |
Plugin URI: http://www.cybernetikz.com
|
5 |
Description: You can upload your own social icon, set your social URL, choose weather you want to display vertical or horizontal. You can use the shortcode <strong>[cn-social-icon]</strong> in page/post, template tag for php file <strong><?php if ( function_exists('cn_social_icon') ) echo cn_social_icon(); ?></strong> also you can use the widget <strong>"Easy Social Icons"</strong> for sidebar.
|
6 |
-
Version: 3.2.
|
7 |
Author: cybernetikz
|
8 |
Author URI: http://www.cybernetikz.com
|
9 |
License: GPL2
|
@@ -938,7 +938,7 @@ function cnss_social_icon_add_fn() {
|
|
938 |
if($msg!='') echo '<div id="message" class="updated fade">'.esc_html($msg).'</div>';
|
939 |
if($err!='') echo '<div id="message" class="error fade">'.esc_html($err).'</div>';
|
940 |
?>
|
941 |
-
<h2><?php echo $page_title;?></h2>
|
942 |
<div class="content_wrapper">
|
943 |
<div class="left">
|
944 |
|
@@ -994,7 +994,7 @@ if($err!='') echo '<div id="message" class="error fade">'.esc_html($err).'</div>
|
|
994 |
<td><input list="url-autofill" type="text" name="url" id="url" class="regular-text" value="<?php echo $url?>" />
|
995 |
<datalist style="display: none;" id="url-autofill">
|
996 |
<?php foreach ($social_sites as $key => $value) { ?>
|
997 |
-
<option value="<?php echo $key; ?>">
|
998 |
<?php } ?>
|
999 |
</datalist><br /><i>Type few char for suggestions – don't forget the <strong><code>http(s)://</code></strong></i></td>
|
1000 |
</tr>
|
@@ -1002,7 +1002,7 @@ if($err!='') echo '<div id="message" class="error fade">'.esc_html($err).'</div>
|
|
1002 |
<tr valign="top">
|
1003 |
<th scope="row">Sort Order</th>
|
1004 |
<td>
|
1005 |
-
<input type="number" name="sortorder" id="sortorder" class="small-text" value="<?php echo $sortorder?>"
|
1006 |
</td>
|
1007 |
</tr>
|
1008 |
|
@@ -1016,13 +1016,13 @@ if($err!='') echo '<div id="message" class="error fade">'.esc_html($err).'</div>
|
|
1016 |
</table>
|
1017 |
|
1018 |
<?php if (isset($_GET['mode']) ) { ?>
|
1019 |
-
<input type="hidden" name="action" value="edit"
|
1020 |
-
<input type="hidden" name="id" id="id" value="<?php echo $id
|
1021 |
-
<?php } else {?>
|
1022 |
-
<input type="hidden" name="action" value="update"
|
1023 |
<?php } ?>
|
1024 |
|
1025 |
-
<p class="submit" style="text-align:center"><input id="submit_button" name="submit_button" type="submit" class="button-primary" value="<?php _e('Save Changes') ?>"
|
1026 |
</form>
|
1027 |
</div>
|
1028 |
<div class="right">
|
@@ -1116,13 +1116,13 @@ function cnss_social_icon_page_fn() {
|
|
1116 |
?>
|
1117 |
<tr valign="top">
|
1118 |
<td>
|
1119 |
-
<?php echo $icon->id; ?>
|
1120 |
</td>
|
1121 |
<td>
|
1122 |
-
<?php echo $icon->title
|
1123 |
</td>
|
1124 |
<td>
|
1125 |
-
<a target="_blank" href="<?php echo $icon->url
|
1126 |
</td>
|
1127 |
<td>
|
1128 |
<?php echo $icon->target==1?'New Window':'Same Window' ?>
|
@@ -1459,7 +1459,7 @@ class Cnss_Widget extends WP_Widget {
|
|
1459 |
$icon->id = esc_attr($icon->id);
|
1460 |
?><li style="display:inline-block; padding:2px 8px; border:1px dashed #ccc;">
|
1461 |
<div style="text-align: center; width: <?php echo $cnss_width ?>px;">
|
1462 |
-
<label for="<?php echo $this->get_field_id( 'selected_icons'
|
1463 |
</label>
|
1464 |
</div>
|
1465 |
<div style="text-align: center;"><input <?php if( in_array($icon->id, $selected_icons_array ) ) echo 'checked="checked"'; ?> style="margin:0;" type="checkbox" name="<?php echo $this->get_field_name( 'selected_icons' ); ?>[]" id="<?php echo $this->get_field_id( 'selected_icons'.$icon->id ); ?>" value="<?php echo $icon->id; ?>" /></div>
|
3 |
Plugin Name: Easy Social Icons
|
4 |
Plugin URI: http://www.cybernetikz.com
|
5 |
Description: You can upload your own social icon, set your social URL, choose weather you want to display vertical or horizontal. You can use the shortcode <strong>[cn-social-icon]</strong> in page/post, template tag for php file <strong><?php if ( function_exists('cn_social_icon') ) echo cn_social_icon(); ?></strong> also you can use the widget <strong>"Easy Social Icons"</strong> for sidebar.
|
6 |
+
Version: 3.2.4
|
7 |
Author: cybernetikz
|
8 |
Author URI: http://www.cybernetikz.com
|
9 |
License: GPL2
|
938 |
if($msg!='') echo '<div id="message" class="updated fade">'.esc_html($msg).'</div>';
|
939 |
if($err!='') echo '<div id="message" class="error fade">'.esc_html($err).'</div>';
|
940 |
?>
|
941 |
+
<h2><?php echo esc_attr($page_title);?></h2>
|
942 |
<div class="content_wrapper">
|
943 |
<div class="left">
|
944 |
|
994 |
<td><input list="url-autofill" type="text" name="url" id="url" class="regular-text" value="<?php echo $url?>" />
|
995 |
<datalist style="display: none;" id="url-autofill">
|
996 |
<?php foreach ($social_sites as $key => $value) { ?>
|
997 |
+
<option value="<?php echo esc_attr($key); ?>">
|
998 |
<?php } ?>
|
999 |
</datalist><br /><i>Type few char for suggestions – don't forget the <strong><code>http(s)://</code></strong></i></td>
|
1000 |
</tr>
|
1002 |
<tr valign="top">
|
1003 |
<th scope="row">Sort Order</th>
|
1004 |
<td>
|
1005 |
+
<input type="number" name="sortorder" id="sortorder" class="small-text" value="<?php echo esc_attr($sortorder); ?>">
|
1006 |
</td>
|
1007 |
</tr>
|
1008 |
|
1016 |
</table>
|
1017 |
|
1018 |
<?php if (isset($_GET['mode']) ) { ?>
|
1019 |
+
<input type="hidden" name="action" value="edit">
|
1020 |
+
<input type="hidden" name="id" id="id" value="<?php echo esc_attr($id); ?>">
|
1021 |
+
<?php } else { ?>
|
1022 |
+
<input type="hidden" name="action" value="update">
|
1023 |
<?php } ?>
|
1024 |
|
1025 |
+
<p class="submit" style="text-align:center"><input id="submit_button" name="submit_button" type="submit" class="button-primary" value="<?php _e('Save Changes') ?>"><?php echo cnss_back_to_link() ?></p>
|
1026 |
</form>
|
1027 |
</div>
|
1028 |
<div class="right">
|
1116 |
?>
|
1117 |
<tr valign="top">
|
1118 |
<td>
|
1119 |
+
<?php echo esc_attr($icon->id); ?>
|
1120 |
</td>
|
1121 |
<td>
|
1122 |
+
<?php echo esc_attr($icon->title); ?>
|
1123 |
</td>
|
1124 |
<td>
|
1125 |
+
<a target="_blank" href="<?php echo esc_url($icon->url); ?>"><?php echo esc_url($icon->url); ?></a>
|
1126 |
</td>
|
1127 |
<td>
|
1128 |
<?php echo $icon->target==1?'New Window':'Same Window' ?>
|
1459 |
$icon->id = esc_attr($icon->id);
|
1460 |
?><li style="display:inline-block; padding:2px 8px; border:1px dashed #ccc;">
|
1461 |
<div style="text-align: center; width: <?php echo $cnss_width ?>px;">
|
1462 |
+
<label for="<?php echo $this->get_field_id( 'selected_icons'.esc_attr($icon->id) ); ?>"><?php echo cnss_get_icon_html($icon->image_url, $icon->title); ?>
|
1463 |
</label>
|
1464 |
</div>
|
1465 |
<div style="text-align: center;"><input <?php if( in_array($icon->id, $selected_icons_array ) ) echo 'checked="checked"'; ?> style="margin:0;" type="checkbox" name="<?php echo $this->get_field_name( 'selected_icons' ); ?>[]" id="<?php echo $this->get_field_id( 'selected_icons'.$icon->id ); ?>" value="<?php echo $icon->id; ?>" /></div>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link:
|
|
4 |
Tags: easy social icons, easy social icon, social icons, social share, follow us, custom social icons, social media icons
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 5.9.3
|
7 |
-
Stable tag: 3.2.
|
8 |
|
9 |
Upload your own social media icons or choose from font-awesome. Use widget|shortcode to place icons anywhere(sidebar, header, footer, page) in theme.
|
10 |
|
@@ -76,6 +76,9 @@ If you are using wordpress version lower than 3.5 please use Easy social Icon ve
|
|
76 |
|
77 |
== Changelog ==
|
78 |
|
|
|
|
|
|
|
79 |
= 3.2.3 =
|
80 |
* fix / update security issue
|
81 |
|
4 |
Tags: easy social icons, easy social icon, social icons, social share, follow us, custom social icons, social media icons
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 5.9.3
|
7 |
+
Stable tag: 3.2.4
|
8 |
|
9 |
Upload your own social media icons or choose from font-awesome. Use widget|shortcode to place icons anywhere(sidebar, header, footer, page) in theme.
|
10 |
|
76 |
|
77 |
== Changelog ==
|
78 |
|
79 |
+
= 3.2.4 =
|
80 |
+
* fix / update security issue
|
81 |
+
|
82 |
= 3.2.3 =
|
83 |
* fix / update security issue
|
84 |
|