Skip to content

Commit

Permalink
✨ release v4.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
daomapsieucap committed Sep 7, 2022
1 parent fa623c5 commit cac3f40
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.

## Changelog

### v4.0.7 - 2022-09-07

- Fixed: Fix conflict class names.
- Fixed: Remove PHP warning notices.

### v4.0.6 - 2022-08-25

- Fixed: Fix issue return wrong SVG path.
Expand Down
2 changes: 1 addition & 1 deletion acf-icomoon.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Support For Icomoon with Advanced Custom Fields
* Plugin URI: https://wordpress.org/plugins/acf-icomoon/
* Description: 🔩 Add a field to select icons from a selection.json file generated by IcoMoon
* Version: 4.0.6
* Version: 4.0.7
* Requires at least: 5.2
* Requires PHP: 7.2
* Author: ViiVue
Expand Down
6 changes: 6 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
== Changelog ==

= 4.0.7 =
*Release Date - 07 September 2022*

- Fixed: Fix conflict class names.
- Fixed: Remove PHP warning notices.

= 4.0.6 =
*Release Date - 25 August 2022*

Expand Down
3 changes: 2 additions & 1 deletion includes/fields/acf-field-icomoon.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ function viivue_get_icomoon_json($json_path = ''): array{
if($icon_paths){
foreach($icon_paths as $index => $path){
// svg
$fill = viivue_array_key_exists('fill', $icon_attrs[$index]);
$icon_attr = viivue_array_key_exists($index, $icon_attrs, array());
$fill = viivue_array_key_exists('fill', $icon_attr);
$icon_svg_inner .= '<path fill="' . $fill . '" d="' . $path . '"></path>';

// html
Expand Down
13 changes: 7 additions & 6 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
Contributors: viivue, daomapsieucap, phucbm
Tags: Advanced Custom Fields, ACF, Icomoon
Requires at least: 4.7
Tested up to: 6.0.1
Requires PHP: 7.0
Stable tag: 4.0.6
Tested up to: 6.0.2
Requires PHP: 7.2
Stable tag: 4.0.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -30,7 +30,8 @@ This ACF field type is compatible with:

== Changelog ==

= 4.0.6 =
*Release Date - 25 August 2022*
= 4.0.7 =
*Release Date - 07 September 2022*

- Fixed: Fix issue return wrong SVG path.
- Fixed: Fix conflict class names.
- Fixed: Remove PHP warning notices.

0 comments on commit cac3f40

Please sign in to comment.