Version Description
- Core: Minor fixes and improvements
Download this release
Release Info
Developer | elliotcondon |
Plugin | Advanced Custom Fields |
Version | 5.7.1 |
Comparing to | |
See all releases |
Code changes from version 5.7.0 to 5.7.1
- README.md +25 -0
- acf.php +2 -2
- includes/admin/admin-field-group.php +1 -1
- readme.txt +3 -0
README.md
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Advanced Custom Fields
|
2 |
+
|
3 |
+
Welcome to the official Advanced Custom Fields repository on GitHub. ACF is a WordPress plugin used to take full control of your edit screens & custom field data.
|
4 |
+
|
5 |
+
Looking for ACF version 4? Please use the [previous ACF repository](https://github.com/elliotcondon/acf).
|
6 |
+
|
7 |
+
Upgrading from ACF version 4? Please read our [Upgrading from v4 to v5 guide](https://www.advancedcustomfields.com/resources/upgrading-v4-v5/).
|
8 |
+
|
9 |
+
## Documentation
|
10 |
+
|
11 |
+
Do you need help getting started with ACF, or do you have questions about one of the ACF features? You can [search through our documentation here](https://www.advancedcustomfields.com/resources). If you don't find the answers you're looking for, you can [submit a support ticket](https://support.advancedcustomfields.com/new-ticket/) or start a new forum thread in the [support forum](https://support.advancedcustomfields.com/).
|
12 |
+
|
13 |
+
## Support
|
14 |
+
|
15 |
+
This repository is not suitable for support. Please don't use our issue tracker for support requests, but for core issues only.
|
16 |
+
Support can take place in the appropriate channels:
|
17 |
+
|
18 |
+
* Email based ticket system
|
19 |
+
* Community forum
|
20 |
+
|
21 |
+
These channels can be accessed from our [support website](https://support.advancedcustomfields.com/).
|
22 |
+
|
23 |
+
## Contributing
|
24 |
+
|
25 |
+
If you have a patch, or stumbled upon an issue with ACF core, you can contribute this back to the code. Please create a new github issue with as much information as possible.
|
acf.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Advanced Custom Fields
|
4 |
Plugin URI: https://www.advancedcustomfields.com/
|
5 |
Description: Customise WordPress with powerful, professional and intuitive fields.
|
6 |
-
Version: 5.7.
|
7 |
Author: Elliot Condon
|
8 |
Author URI: http://www.elliotcondon.com/
|
9 |
Copyright: Elliot Condon
|
@@ -18,7 +18,7 @@ if( ! class_exists('ACF') ) :
|
|
18 |
class ACF {
|
19 |
|
20 |
/** @var string The plugin version number */
|
21 |
-
var $version = '5.7.
|
22 |
|
23 |
/** @var array The plugin settings array */
|
24 |
var $settings = array();
|
3 |
Plugin Name: Advanced Custom Fields
|
4 |
Plugin URI: https://www.advancedcustomfields.com/
|
5 |
Description: Customise WordPress with powerful, professional and intuitive fields.
|
6 |
+
Version: 5.7.1
|
7 |
Author: Elliot Condon
|
8 |
Author URI: http://www.elliotcondon.com/
|
9 |
Copyright: Elliot Condon
|
18 |
class ACF {
|
19 |
|
20 |
/** @var string The plugin version number */
|
21 |
+
var $version = '5.7.1';
|
22 |
|
23 |
/** @var array The plugin settings array */
|
24 |
var $settings = array();
|
includes/admin/admin-field-group.php
CHANGED
@@ -444,7 +444,7 @@ class acf_admin_field_group {
|
|
444 |
acf_disable_filters();
|
445 |
|
446 |
// save fields
|
447 |
-
|
448 |
|
449 |
// loop
|
450 |
foreach( $_POST['acf_fields'] as $field ) {
|
444 |
acf_disable_filters();
|
445 |
|
446 |
// save fields
|
447 |
+
if( !empty($_POST['acf_fields']) ) {
|
448 |
|
449 |
// loop
|
450 |
foreach( $_POST['acf_fields'] as $field ) {
|
readme.txt
CHANGED
@@ -66,6 +66,9 @@ From your WordPress dashboard
|
|
66 |
|
67 |
== Changelog ==
|
68 |
|
|
|
|
|
|
|
69 |
= 5.7.0 =
|
70 |
* Core: Major JavaScript updates
|
71 |
* Core: Improved conditional logic with new types and more supported fields
|
66 |
|
67 |
== Changelog ==
|
68 |
|
69 |
+
= 5.7.1 =
|
70 |
+
* Core: Minor fixes and improvements
|
71 |
+
|
72 |
= 5.7.0 =
|
73 |
* Core: Major JavaScript updates
|
74 |
* Core: Improved conditional logic with new types and more supported fields
|