Updates to 6.2.1.1
This commit is contained in:
parent
096ae7081e
commit
81dca1b4d5
4
acf.php
4
acf.php
|
|
@ -9,7 +9,7 @@
|
||||||
* Plugin Name: Advanced Custom Fields PRO
|
* Plugin Name: Advanced Custom Fields PRO
|
||||||
* Plugin URI: https://www.advancedcustomfields.com
|
* Plugin URI: https://www.advancedcustomfields.com
|
||||||
* Description: Customize WordPress with powerful, professional and intuitive fields.
|
* Description: Customize WordPress with powerful, professional and intuitive fields.
|
||||||
* Version: 6.2.1
|
* Version: 6.2.1.1
|
||||||
* Author: WP Engine
|
* Author: WP Engine
|
||||||
* Author URI: https://wpengine.com/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=plugin_directory&utm_content=advanced_custom_fields
|
* Author URI: https://wpengine.com/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=plugin_directory&utm_content=advanced_custom_fields
|
||||||
* Update URI: https://www.advancedcustomfields.com/pro
|
* Update URI: https://www.advancedcustomfields.com/pro
|
||||||
|
|
@ -36,7 +36,7 @@ if ( ! class_exists( 'ACF' ) ) {
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $version = '6.2.1';
|
public $version = '6.2.1.1';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The plugin settings array.
|
* The plugin settings array.
|
||||||
|
|
|
||||||
|
|
@ -122,7 +122,7 @@ if ( ! class_exists( 'acf_admin_field_group' ) ) :
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
if ( acf_is_pro() ) {
|
if ( acf_is_pro() && acf_get_setting( 'enable_options_pages_ui' ) ) {
|
||||||
acf_localize_data(
|
acf_localize_data(
|
||||||
array(
|
array(
|
||||||
'acfParentPageChoices' => ACF_Admin_UI_Options_Page::get_parent_page_choices(),
|
'acfParentPageChoices' => ACF_Admin_UI_Options_Page::get_parent_page_choices(),
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,9 @@ if ( ! class_exists( 'ACF_Location_Options_Page' ) ) :
|
||||||
$choices[''] = __( 'Select options page...', 'acf' );
|
$choices[''] = __( 'Select options page...', 'acf' );
|
||||||
}
|
}
|
||||||
|
|
||||||
$choices['add_new_options_page'] = __( 'Add New Options Page', 'acf' );
|
if ( acf_get_setting( 'enable_options_pages_ui' ) ) {
|
||||||
|
$choices['add_new_options_page'] = __( 'Add New Options Page', 'acf' );
|
||||||
|
}
|
||||||
|
|
||||||
// Return choices.
|
// Return choices.
|
||||||
return $choices;
|
return $choices;
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ Tags: acf, fields, custom fields, meta, repeater
|
||||||
Requires at least: 5.8
|
Requires at least: 5.8
|
||||||
Tested up to: 6.3
|
Tested up to: 6.3
|
||||||
Requires PHP: 7.0
|
Requires PHP: 7.0
|
||||||
Stable tag: 6.2.1
|
Stable tag: 6.2.1.1
|
||||||
License: GPLv2 or later
|
License: GPLv2 or later
|
||||||
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
|
@ -92,6 +92,11 @@ From your WordPress dashboard
|
||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= 6.2.1.1 =
|
||||||
|
*Release Date 8th September 2023*
|
||||||
|
|
||||||
|
* Fix - Editing a field group no longer generates an error when UI options pages are disabled
|
||||||
|
|
||||||
= 6.2.1 =
|
= 6.2.1 =
|
||||||
*Release Date 7th September 2023*
|
*Release Date 7th September 2023*
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue