Skip to content

Commit ec36bef

Browse files
authored
Merge pull request #23 from visual-framework/relevanssi
updates ACF to 6.3.0.1
2 parents 1f8af45 + 6ed8241 commit ec36bef

259 files changed

Lines changed: 6403 additions & 2349 deletions

File tree

Some content is hidden

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

advanced-custom-fields-pro/acf.php

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
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.2.9
12+
* Version: 6.3.0.1
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
1616
* Text Domain: acf
1717
* Domain Path: /lang
18-
* Requires PHP: 7.0
19-
* Requires at least: 5.8
18+
* Requires PHP: 7.4
19+
* Requires at least: 6.0
2020
*/
2121

2222
if ( ! defined( 'ABSPATH' ) ) {
@@ -36,7 +36,7 @@ class ACF {
3636
*
3737
* @var string
3838
*/
39-
public $version = '6.2.9';
39+
public $version = '6.3.0.1';
4040

4141
/**
4242
* The plugin settings array.
@@ -143,6 +143,7 @@ public function initialize() {
143143
// Include classes.
144144
acf_include( 'includes/class-acf-data.php' );
145145
acf_include( 'includes/class-acf-internal-post-type.php' );
146+
acf_include( 'includes/class-acf-site-health.php' );
146147
acf_include( 'includes/fields/class-acf-field.php' );
147148
acf_include( 'includes/locations/abstract-acf-legacy-location.php' );
148149
acf_include( 'includes/locations/abstract-acf-location.php' );
@@ -164,6 +165,14 @@ public function initialize() {
164165
acf_include( 'includes/acf-input-functions.php' );
165166
acf_include( 'includes/acf-wp-functions.php' );
166167

168+
// Override the shortcode default value based on the version when installed.
169+
$first_activated_version = acf_get_version_when_first_activated();
170+
171+
// Only enable shortcode by default for versions prior to 6.3
172+
if ( $first_activated_version && version_compare( $first_activated_version, '6.3', '>=' ) ) {
173+
$this->settings['enable_shortcode'] = false;
174+
}
175+
167176
// Include core.
168177
acf_include( 'includes/fields.php' );
169178
acf_include( 'includes/locations.php' );
@@ -305,6 +314,7 @@ public function init() {
305314
acf_include( 'includes/fields/class-acf-field-date_time_picker.php' );
306315
acf_include( 'includes/fields/class-acf-field-time_picker.php' );
307316
acf_include( 'includes/fields/class-acf-field-color_picker.php' );
317+
acf_include( 'includes/fields/class-acf-field-icon_picker.php' );
308318
acf_include( 'includes/fields/class-acf-field-message.php' );
309319
acf_include( 'includes/fields/class-acf-field-accordion.php' );
310320
acf_include( 'includes/fields/class-acf-field-tab.php' );
@@ -762,8 +772,14 @@ public function acf_plugin_activated() {
762772
// If acf_version is set, this isn't the first activated version, so leave it unset so it's legacy.
763773
if ( null === get_option( 'acf_version', null ) ) {
764774
update_option( 'acf_first_activated_version', ACF_VERSION, true );
775+
776+
do_action( 'acf/first_activated' );
765777
}
766778
}
779+
780+
if ( acf_is_pro() ) {
781+
do_action( 'acf/activated_pro' );
782+
}
767783
}
768784
}
769785

advanced-custom-fields-pro/assets/build/css/acf-field-group.css

Lines changed: 110 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

advanced-custom-fields-pro/assets/build/css/acf-field-group.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

advanced-custom-fields-pro/assets/build/css/acf-field-group.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

advanced-custom-fields-pro/assets/build/css/acf-global.css

Lines changed: 503 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

advanced-custom-fields-pro/assets/build/css/acf-global.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

advanced-custom-fields-pro/assets/build/css/acf-global.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

advanced-custom-fields-pro/assets/build/css/acf-input.css

Lines changed: 23 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

advanced-custom-fields-pro/assets/build/css/acf-input.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

advanced-custom-fields-pro/assets/build/css/acf-input.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)