Advanced Custom Fields: Extended - Version 0.7.9.4

Version Description

  • Module: Author Box - Hotfix
Download this release

Release Info

Developer hwk-fr
Plugin Icon 128x128 Advanced Custom Fields: Extended
Version 0.7.9.4
Comparing to
See all releases

Code changes from version 0.7.9.3 to 0.7.9.4

Files changed (3) hide show
  1. acf-extended.php +1 -1
  2. includes/modules/author.php +4 -2
  3. readme.txt +4 -1
acf-extended.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: Advanced Custom Fields: Extended
4
  * Description: Enhancement Suite which improves Advanced Custom Fields administration
5
- * Version: 0.7.9.3
6
  * Author: ACF Extended
7
  * Author URI: https://www.acf-extended.com
8
  * Text Domain: acfe
2
  /**
3
  * Plugin Name: Advanced Custom Fields: Extended
4
  * Description: Enhancement Suite which improves Advanced Custom Fields administration
5
+ * Version: 0.7.9.4
6
  * Author: ACF Extended
7
  * Author URI: https://www.acf-extended.com
8
  * Text Domain: acfe
includes/modules/author.php CHANGED
@@ -82,15 +82,17 @@ function acfe_author_field_group(){
82
  global $wp_roles;
83
 
84
  $authors_roles = array();
85
- foreach($wp_roles->roles as $role){
86
 
87
  if(!isset($role['capabilities']['level_1']) || empty($role['capabilities']['level_1']))
88
  continue;
89
 
90
- $authors_roles[] = $role['name'];
91
 
92
  }
93
 
 
 
94
  acf_add_local_field_group(array(
95
  'title' => __('Author'),
96
  'key' => 'group_acfe_author',
82
  global $wp_roles;
83
 
84
  $authors_roles = array();
85
+ foreach($wp_roles->roles as $role_name => $role){
86
 
87
  if(!isset($role['capabilities']['level_1']) || empty($role['capabilities']['level_1']))
88
  continue;
89
 
90
+ $authors_roles[] = $role_name;
91
 
92
  }
93
 
94
+
95
+
96
  acf_add_local_field_group(array(
97
  'title' => __('Author'),
98
  'key' => 'group_acfe_author',
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: acf, custom fields, meta, admin, fields, form, repeater, content
5
  Requires at least: 4.9
6
  Tested up to: 5.2
7
  Requires PHP: 5.6
8
- Stable tag: 0.7.9.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -456,6 +456,9 @@ function acf_flexible_layout_render_script($script, $field, $layout, $is_preview
456
 
457
  == Changelog ==
458
 
 
 
 
459
  = 0.7.9.3 =
460
  * Field: Flexible Content - Added `filter('acfe/flexible/thumbnail/name={flexible:name}', $thumbnail, $field, $layout)` to change all layouts thumbnails (must return `attachment ID` or `URL`) (Thanks @Dam)
461
  * Field: Flexible Content - Fixed `$is_preview` not being available during the Dynamic Layout Preview (thanks @Dam)
5
  Requires at least: 4.9
6
  Tested up to: 5.2
7
  Requires PHP: 5.6
8
+ Stable tag: 0.7.9.4
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
456
 
457
  == Changelog ==
458
 
459
+ = 0.7.9.4 =
460
+ * Module: Author Box - Hotfix
461
+
462
  = 0.7.9.3 =
463
  * Field: Flexible Content - Added `filter('acfe/flexible/thumbnail/name={flexible:name}', $thumbnail, $field, $layout)` to change all layouts thumbnails (must return `attachment ID` or `URL`) (Thanks @Dam)
464
  * Field: Flexible Content - Fixed `$is_preview` not being available during the Dynamic Layout Preview (thanks @Dam)