Skip to content

Commit

Permalink
Updates to 6.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ACF committed Aug 10, 2023
1 parent b9336de commit adf402e
Show file tree
Hide file tree
Showing 187 changed files with 20,663 additions and 8,886 deletions.
82 changes: 44 additions & 38 deletions acf.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.8
* Version: 6.2.0
* 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
Expand All @@ -34,7 +34,7 @@ class ACF {
*
* @var string
*/
public $version = '6.1.8';
public $version = '6.2.0';

/**
* The plugin settings array.
Expand Down Expand Up @@ -90,42 +90,44 @@ public function initialize() {

// Define settings.
$this->settings = array(
'name' => __( 'Advanced Custom Fields', 'acf' ),
'slug' => dirname( ACF_BASENAME ),
'version' => ACF_VERSION,
'basename' => ACF_BASENAME,
'path' => ACF_PATH,
'file' => __FILE__,
'url' => plugin_dir_url( __FILE__ ),
'show_admin' => true,
'show_updates' => true,
'enable_post_types' => true,
'stripslashes' => false,
'local' => true,
'json' => true,
'save_json' => '',
'load_json' => array(),
'default_language' => '',
'current_language' => '',
'capability' => 'manage_options',
'uploader' => 'wp',
'autoload' => false,
'l10n' => true,
'l10n_textdomain' => '',
'google_api_key' => '',
'google_api_client' => '',
'enqueue_google_maps' => true,
'enqueue_select2' => true,
'enqueue_datepicker' => true,
'enqueue_datetimepicker' => true,
'select2_version' => 4,
'row_index_offset' => 1,
'remove_wp_meta_box' => true,
'rest_api_enabled' => true,
'rest_api_format' => 'light',
'rest_api_embed_links' => true,
'preload_blocks' => true,
'enable_shortcode' => true,
'name' => __( 'Advanced Custom Fields', 'acf' ),
'slug' => dirname( ACF_BASENAME ),
'version' => ACF_VERSION,
'basename' => ACF_BASENAME,
'path' => ACF_PATH,
'file' => __FILE__,
'url' => plugin_dir_url( __FILE__ ),
'show_admin' => true,
'show_updates' => true,
'enable_post_types' => true,
'enable_options_pages_ui' => true,
'stripslashes' => false,
'local' => true,
'json' => true,
'save_json' => '',
'load_json' => array(),
'default_language' => '',
'current_language' => '',
'capability' => 'manage_options',
'uploader' => 'wp',
'autoload' => false,
'l10n' => true,
'l10n_textdomain' => '',
'google_api_key' => '',
'google_api_client' => '',
'enqueue_google_maps' => true,
'enqueue_select2' => true,
'enqueue_datepicker' => true,
'enqueue_datetimepicker' => true,
'select2_version' => 4,
'row_index_offset' => 1,
'remove_wp_meta_box' => true,
'rest_api_enabled' => true,
'rest_api_format' => 'light',
'rest_api_embed_links' => true,
'preload_blocks' => true,
'enable_shortcode' => true,
'enable_bidirection' => true,
);

// Include utility functions.
Expand All @@ -147,6 +149,7 @@ public function initialize() {
acf_include( 'includes/acf-helper-functions.php' );
acf_include( 'includes/acf-hook-functions.php' );
acf_include( 'includes/acf-field-functions.php' );
acf_include( 'includes/acf-bidirectional-functions.php' );
acf_include( 'includes/acf-internal-post-type-functions.php' );
acf_include( 'includes/acf-post-type-functions.php' );
acf_include( 'includes/acf-taxonomy-functions.php' );
Expand Down Expand Up @@ -274,6 +277,9 @@ public function init() {
acf_include( 'includes/post-types/class-acf-post-type.php' );
}

// Add other ACF internal post types.
do_action( 'acf/init_internal_post_types' );

// Include fields.
acf_include( 'includes/fields/class-acf-field-text.php' );
acf_include( 'includes/fields/class-acf-field-textarea.php' );
Expand Down
Loading

0 comments on commit adf402e

Please sign in to comment.