Version Description
- Field Group: Fixed Left Label Placement overwriting existing field groups (thanks to @AsmussenBrandon)
Download this release
Release Info
Developer | hwk-fr |
Plugin | Advanced Custom Fields: Extended |
Version | 0.5.2.1 |
Comparing to | |
See all releases |
Code changes from version 0.5.2 to 0.5.2.1
- acf-extended.php +1 -1
- includes/field-groups/field-group.php +3 -1
- 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.5.2
|
6 |
* Author: hwk-fr
|
7 |
* Author URI: https://hwk.fr
|
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.5.2.1
|
6 |
* Author: hwk-fr
|
7 |
* Author URI: https://hwk.fr
|
8 |
* Text Domain: acfe
|
includes/field-groups/field-group.php
CHANGED
@@ -371,7 +371,9 @@ function acfe_permissions_field_groups($field_groups){
|
|
371 |
*/
|
372 |
add_filter('acf/validate_field_group', 'acfc_field_group_default_options');
|
373 |
function acfc_field_group_default_options($field_group){
|
374 |
-
$field_group['
|
|
|
|
|
375 |
return $field_group;
|
376 |
}
|
377 |
|
371 |
*/
|
372 |
add_filter('acf/validate_field_group', 'acfc_field_group_default_options');
|
373 |
function acfc_field_group_default_options($field_group){
|
374 |
+
if(!isset($field_group['location']) || empty($field_group['location']))
|
375 |
+
$field_group['label_placement'] = 'left';
|
376 |
+
|
377 |
return $field_group;
|
378 |
}
|
379 |
|
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.1.1
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 0.5.2
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -122,6 +122,9 @@ Create a folder `/acfe-php/` in your theme. Go to your field group administratio
|
|
122 |
|
123 |
== Changelog ==
|
124 |
|
|
|
|
|
|
|
125 |
= 0.5.2 =
|
126 |
* Fields: Added new dynamic message field
|
127 |
* Fields: Added new button field
|
5 |
Requires at least: 4.9
|
6 |
Tested up to: 5.1.1
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 0.5.2.1
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
122 |
|
123 |
== Changelog ==
|
124 |
|
125 |
+
= 0.5.2.1 =
|
126 |
+
* Field Group: Fixed Left Label Placement overwriting existing field groups (thanks to @AsmussenBrandon)
|
127 |
+
|
128 |
= 0.5.2 =
|
129 |
* Fields: Added new dynamic message field
|
130 |
* Fields: Added new button field
|