Advanced Custom Fields: Font Awesome Field - Version 2.1.2

Version Description

  • Fixed bug where ACFFA_get_icons filter was not used in wp-admin area when retrieving icons.
Download this release

Release Info

Developer mattkeys
Plugin Icon 128x128 Advanced Custom Fields: Font Awesome Field
Version 2.1.2
Comparing to
See all releases

Code changes from version 2.1.1 to 2.1.2

acf-font-awesome.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Advanced Custom Fields: Font Awesome
5
  Plugin URI: https://wordpress.org/plugins/advanced-custom-fields-font-awesome/
6
  Description: Adds a new 'Font Awesome Icon' field to the popular Advanced Custom Fields plugin.
7
- Version: 2.1.1
8
  Author: mattkeys
9
  Author URI: http://mattkeys.me/
10
  License: GPLv2 or later
@@ -24,7 +24,7 @@ if ( ! class_exists('acf_plugin_font_awesome') ) :
24
  public function __construct()
25
  {
26
  $this->settings = array(
27
- 'version' => '2.1.1',
28
  'url' => plugin_dir_url( __FILE__ ),
29
  'path' => plugin_dir_path( __FILE__ )
30
  );
4
  Plugin Name: Advanced Custom Fields: Font Awesome
5
  Plugin URI: https://wordpress.org/plugins/advanced-custom-fields-font-awesome/
6
  Description: Adds a new 'Font Awesome Icon' field to the popular Advanced Custom Fields plugin.
7
+ Version: 2.1.2
8
  Author: mattkeys
9
  Author URI: http://mattkeys.me/
10
  License: GPLv2 or later
24
  public function __construct()
25
  {
26
  $this->settings = array(
27
+ 'version' => '2.1.2',
28
  'url' => plugin_dir_url( __FILE__ ),
29
  'path' => plugin_dir_path( __FILE__ )
30
  );
assets/inc/class-ACFFAL.php CHANGED
@@ -75,7 +75,7 @@ class ACFFAL
75
  $s = wp_unslash( $s );
76
  }
77
 
78
- $fa_icons = $this->get_icons();
79
 
80
  if ( $fa_icons ) {
81
  foreach( $fa_icons['list'] as $k => $v ) {
75
  $s = wp_unslash( $s );
76
  }
77
 
78
+ $fa_icons = apply_filters( 'ACFFA_get_icons', array() );
79
 
80
  if ( $fa_icons ) {
81
  foreach( $fa_icons['list'] as $k => $v ) {
readme.txt CHANGED
@@ -51,6 +51,9 @@ This ACF field type is compatible with:
51
 
52
  == Changelog ==
53
 
 
 
 
54
  = 2.1.1 =
55
  * Fixed bug effecting any users who did not update to 2.1.0 before jsDelivr added FontAwesome 5.x to their CDN, where the 5.x icons would get loaded and break functionality
56
 
@@ -157,6 +160,9 @@ This ACF field type is compatible with:
157
 
158
  == Upgrade Notice ==
159
 
 
 
 
160
  = 2.1.1 =
161
  * Fixed bug effecting any users who did not update to 2.1.0 before jsDelivr added FontAwesome 5.x to their CDN, where the 5.x icons would get loaded and break functionality
162
 
51
 
52
  == Changelog ==
53
 
54
+ = 2.1.2 =
55
+ * Fixed bug where ACFFA_get_icons filter was not used in wp-admin area when retrieving icons.
56
+
57
  = 2.1.1 =
58
  * Fixed bug effecting any users who did not update to 2.1.0 before jsDelivr added FontAwesome 5.x to their CDN, where the 5.x icons would get loaded and break functionality
59
 
160
 
161
  == Upgrade Notice ==
162
 
163
+ = 2.1.2 =
164
+ * Fixed bug where ACFFA_get_icons filter was not used in wp-admin area when retrieving icons.
165
+
166
  = 2.1.1 =
167
  * Fixed bug effecting any users who did not update to 2.1.0 before jsDelivr added FontAwesome 5.x to their CDN, where the 5.x icons would get loaded and break functionality
168