Skip to content

Commit 42d5f9b

Browse files
committed
v6.2.0
Signed-off-by: Kolja Nolte <kolja.nolte@gmail.com>
1 parent 928b829 commit 42d5f9b

File tree

216 files changed

+42691
-22524
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

216 files changed

+42691
-22524
lines changed

acf.php

Lines changed: 45 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Plugin Name: Advanced Custom Fields PRO
1010
* Plugin URI: https://www.advancedcustomfields.com
1111
* Description: Customize WordPress with powerful, professional and intuitive fields.
12-
* Version: 6.1.5
12+
* Version: 6.2.0
1313
* Author: WP Engine
1414
* Author URI: https://wpengine.com/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=plugin_directory&utm_content=advanced_custom_fields
1515
* Update URI: https://www.advancedcustomfields.com/pro
@@ -34,7 +34,7 @@ class ACF {
3434
*
3535
* @var string
3636
*/
37-
public $version = '6.1.5';
37+
public $version = '6.2.0';
3838

3939
/**
4040
* The plugin settings array.
@@ -90,42 +90,44 @@ public function initialize() {
9090

9191
// Define settings.
9292
$this->settings = array(
93-
'name' => __( 'Advanced Custom Fields', 'acf' ),
94-
'slug' => dirname( ACF_BASENAME ),
95-
'version' => ACF_VERSION,
96-
'basename' => ACF_BASENAME,
97-
'path' => ACF_PATH,
98-
'file' => __FILE__,
99-
'url' => plugin_dir_url( __FILE__ ),
100-
'show_admin' => true,
101-
'show_updates' => true,
102-
'enable_post_types' => true,
103-
'stripslashes' => false,
104-
'local' => true,
105-
'json' => true,
106-
'save_json' => '',
107-
'load_json' => array(),
108-
'default_language' => '',
109-
'current_language' => '',
110-
'capability' => 'manage_options',
111-
'uploader' => 'wp',
112-
'autoload' => false,
113-
'l10n' => true,
114-
'l10n_textdomain' => '',
115-
'google_api_key' => '',
116-
'google_api_client' => '',
117-
'enqueue_google_maps' => true,
118-
'enqueue_select2' => true,
119-
'enqueue_datepicker' => true,
120-
'enqueue_datetimepicker' => true,
121-
'select2_version' => 4,
122-
'row_index_offset' => 1,
123-
'remove_wp_meta_box' => true,
124-
'rest_api_enabled' => true,
125-
'rest_api_format' => 'light',
126-
'rest_api_embed_links' => true,
127-
'preload_blocks' => true,
128-
'enable_shortcode' => true,
93+
'name' => __( 'Advanced Custom Fields', 'acf' ),
94+
'slug' => dirname( ACF_BASENAME ),
95+
'version' => ACF_VERSION,
96+
'basename' => ACF_BASENAME,
97+
'path' => ACF_PATH,
98+
'file' => __FILE__,
99+
'url' => plugin_dir_url( __FILE__ ),
100+
'show_admin' => true,
101+
'show_updates' => true,
102+
'enable_post_types' => true,
103+
'enable_options_pages_ui' => true,
104+
'stripslashes' => false,
105+
'local' => true,
106+
'json' => true,
107+
'save_json' => '',
108+
'load_json' => array(),
109+
'default_language' => '',
110+
'current_language' => '',
111+
'capability' => 'manage_options',
112+
'uploader' => 'wp',
113+
'autoload' => false,
114+
'l10n' => true,
115+
'l10n_textdomain' => '',
116+
'google_api_key' => '',
117+
'google_api_client' => '',
118+
'enqueue_google_maps' => true,
119+
'enqueue_select2' => true,
120+
'enqueue_datepicker' => true,
121+
'enqueue_datetimepicker' => true,
122+
'select2_version' => 4,
123+
'row_index_offset' => 1,
124+
'remove_wp_meta_box' => true,
125+
'rest_api_enabled' => true,
126+
'rest_api_format' => 'light',
127+
'rest_api_embed_links' => true,
128+
'preload_blocks' => true,
129+
'enable_shortcode' => true,
130+
'enable_bidirection' => true,
129131
);
130132

131133
// Include utility functions.
@@ -147,6 +149,7 @@ public function initialize() {
147149
acf_include( 'includes/acf-helper-functions.php' );
148150
acf_include( 'includes/acf-hook-functions.php' );
149151
acf_include( 'includes/acf-field-functions.php' );
152+
acf_include( 'includes/acf-bidirectional-functions.php' );
150153
acf_include( 'includes/acf-internal-post-type-functions.php' );
151154
acf_include( 'includes/acf-post-type-functions.php' );
152155
acf_include( 'includes/acf-taxonomy-functions.php' );
@@ -270,10 +273,13 @@ public function init() {
270273

271274
// Add post types and taxonomies.
272275
if ( acf_get_setting( 'enable_post_types' ) ) {
273-
acf_include( 'includes/post-types/class-acf-post-type.php' );
274276
acf_include( 'includes/post-types/class-acf-taxonomy.php' );
277+
acf_include( 'includes/post-types/class-acf-post-type.php' );
275278
}
276279

280+
// Add other ACF internal post types.
281+
do_action( 'acf/init_internal_post_types' );
282+
277283
// Include fields.
278284
acf_include( 'includes/fields/class-acf-field-text.php' );
279285
acf_include( 'includes/fields/class-acf-field-textarea.php' );

assets/build/css/acf-dark.css.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)