Version Description
- Fixed small bug regarding the empty icons sets validation on edit icon page
Download this release
Release Info
Developer | Access Keys |
Plugin | Social Icons WordPress Plugin – AccessPress Social Icons |
Version | 1.5.0 |
Comparing to | |
See all releases |
Code changes from version 1.4.9 to 1.5.0
- accesspress-social-icons.php +2 -2
- inc/backend/edit-icon-set.php +2 -1
- js/backend.js +1 -1
- readme.txt +4 -1
accesspress-social-icons.php
CHANGED
@@ -4,7 +4,7 @@ defined('ABSPATH') or die("No script kiddies please!");
|
|
4 |
* Plugin Name:AccessPress Social Icons
|
5 |
* Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-icons/
|
6 |
* Description: A plugin to add social icons in your site wherever you want dynamically with handful of configurable settings.
|
7 |
-
* Version:1.
|
8 |
* Author:AccessPress Themes
|
9 |
* Author URI:http://accesspressthemes.com/
|
10 |
* Text Domain: accesspress-social-icons
|
@@ -31,7 +31,7 @@ if (!defined('APS_LANG_DIR')) {
|
|
31 |
}
|
32 |
if(!defined('APS_VERSION'))
|
33 |
{
|
34 |
-
define('APS_VERSION','1.
|
35 |
}
|
36 |
/**
|
37 |
* Register of widgets
|
4 |
* Plugin Name:AccessPress Social Icons
|
5 |
* Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-icons/
|
6 |
* Description: A plugin to add social icons in your site wherever you want dynamically with handful of configurable settings.
|
7 |
+
* Version:1.5.0
|
8 |
* Author:AccessPress Themes
|
9 |
* Author URI:http://accesspressthemes.com/
|
10 |
* Text Domain: accesspress-social-icons
|
31 |
}
|
32 |
if(!defined('APS_VERSION'))
|
33 |
{
|
34 |
+
define('APS_VERSION','1.5.0');
|
35 |
}
|
36 |
/**
|
37 |
* Register of widgets
|
inc/backend/edit-icon-set.php
CHANGED
@@ -226,7 +226,7 @@ $icon_extra = unserialize($icon_set->icon_extra);
|
|
226 |
//$this->print_array($icon_details);
|
227 |
$icon_counter = 0;
|
228 |
$si_id = $_GET['si_id'];
|
229 |
-
|
230 |
foreach ($icon_details as $title => $icon_detail) {
|
231 |
$icon_counter++;
|
232 |
$icon_main_class = 'icon-' . $si_id . '-' . $icon_counter;
|
@@ -354,6 +354,7 @@ $icon_extra = unserialize($icon_set->icon_extra);
|
|
354 |
</li>
|
355 |
<?php
|
356 |
}
|
|
|
357 |
?>
|
358 |
</ul>
|
359 |
</div>
|
226 |
//$this->print_array($icon_details);
|
227 |
$icon_counter = 0;
|
228 |
$si_id = $_GET['si_id'];
|
229 |
+
if(!empty($icon_details)):
|
230 |
foreach ($icon_details as $title => $icon_detail) {
|
231 |
$icon_counter++;
|
232 |
$icon_main_class = 'icon-' . $si_id . '-' . $icon_counter;
|
354 |
</li>
|
355 |
<?php
|
356 |
}
|
357 |
+
endif;
|
358 |
?>
|
359 |
</ul>
|
360 |
</div>
|
js/backend.js
CHANGED
@@ -169,7 +169,7 @@
|
|
169 |
error_flag = 1;
|
170 |
$('input[name="set_name"]').closest('.aps-field-wrapper').find('.aps-error').html(aps_script_variable.set_name_required_message);
|
171 |
}
|
172 |
-
if ($('
|
173 |
{
|
174 |
error_flag = 1;
|
175 |
$(this).parent().find('.aps-main-error').html(aps_script_variable.min_icon_required_message)
|
169 |
error_flag = 1;
|
170 |
$('input[name="set_name"]').closest('.aps-field-wrapper').find('.aps-error').html(aps_script_variable.set_name_required_message);
|
171 |
}
|
172 |
+
if ($('.aps-sortable-icons').length < 1)
|
173 |
{
|
174 |
error_flag = 1;
|
175 |
$(this).parent().find('.aps-main-error').html(aps_script_variable.min_icon_required_message)
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: social icon, social icons, social media, social icon widget, social icons
|
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.3
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -124,6 +124,9 @@ Once you install the plugin , you can check some general documentation about how
|
|
124 |
4. Backend Lcon Sets Listing
|
125 |
|
126 |
== Changelog ==
|
|
|
|
|
|
|
127 |
= 1.4.9 =
|
128 |
* Fixed small bug for icon copy
|
129 |
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.3
|
7 |
+
Stable tag: 1.5.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
124 |
4. Backend Lcon Sets Listing
|
125 |
|
126 |
== Changelog ==
|
127 |
+
= 1.5.0 =
|
128 |
+
* Fixed small bug regarding the empty icons sets validation on edit icon page
|
129 |
+
|
130 |
= 1.4.9 =
|
131 |
* Fixed small bug for icon copy
|
132 |
|