Updates to 6.2.1.1

This commit is contained in:
ACF 2023-09-09 10:12:51 +00:00
parent 096ae7081e
commit 81dca1b4d5
4 changed files with 13 additions and 6 deletions

View File

@ -9,7 +9,7 @@
* Plugin Name: Advanced Custom Fields PRO
* Plugin URI: https://www.advancedcustomfields.com
* Description: Customize WordPress with powerful, professional and intuitive fields.
* Version: 6.2.1
* Version: 6.2.1.1
* Author: WP Engine
* 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
@ -36,7 +36,7 @@ if ( ! class_exists( 'ACF' ) ) {
*
* @var string
*/
public $version = '6.2.1';
public $version = '6.2.1.1';
/**
* The plugin settings array.

View File

@ -122,12 +122,12 @@ 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(
array(
'acfParentPageChoices' => ACF_Admin_UI_Options_Page::get_parent_page_choices(),
)
);
);
}
acf_localize_data(

View File

@ -70,7 +70,9 @@ if ( ! class_exists( 'ACF_Location_Options_Page' ) ) :
$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;

View File

@ -4,7 +4,7 @@ Tags: acf, fields, custom fields, meta, repeater
Requires at least: 5.8
Tested up to: 6.3
Requires PHP: 7.0
Stable tag: 6.2.1
Stable tag: 6.2.1.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@ -92,6 +92,11 @@ From your WordPress dashboard
== 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 =
*Release Date 7th September 2023*