Skip to content

Commit 3d80151

Browse files
author
ACF
committed
Updates to 6.4.0.1
1 parent cb9cd32 commit 3d80151

File tree

155 files changed

+750
-522
lines changed

Some content is hidden

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

155 files changed

+750
-522
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Advanced Custom Fields
2+
3+
Welcome to the official Advanced Custom Fields repository on GitHub. ACF is a WordPress plugin used to take full control of your edit screens & custom field data.
4+
5+
## Documentation
6+
7+
Do you need help getting started with ACF, or do you have questions about one of the ACF features? You can [search through our documentation here](https://www.advancedcustomfields.com/resources/). If you don't find the answers you're looking for, you can start a new forum thread in the [support forum](https://support.advancedcustomfields.com/) or contact our [support team](https://www.advancedcustomfields.com/contact/)
8+
9+
If you've got feedback or a feature suggestion for ACF, please use our [feedback board](https://www.advancedcustomfields.com/feedback/)
10+
11+
## Support
12+
13+
This repository is not suitable for support. Please don't use our issue tracker for support requests, but for core issues only.
14+
Support can take place in the appropriate channels:
15+
16+
* Community forum
17+
* Email based ticket system
18+
19+
These channels can be accessed from our [support website](https://support.advancedcustomfields.com/).
20+
21+
## Contributing
22+
23+
If you have a patch, or stumbled upon an issue with ACF core, you can contribute this back to the code. Please create a new github issue with as much information as possible, and a PR if appropriate.
24+
25+
## Translations
26+
27+
If you're looking to translate ACF, you can submit new PRO translations via a PR on this repo. Any strings from the free version are imported from [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/advanced-custom-fields/stable/). For more information, please view our [translation guide](https://www.advancedcustomfields.com/resources/how-to-help-translate-acf-into-other-languages/)

acf.php

Lines changed: 7 additions & 3 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.4.0-RC1
12+
* Version: 6.4.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
@@ -36,7 +36,7 @@ class ACF {
3636
*
3737
* @var string
3838
*/
39-
public $version = '6.4.0-RC1';
39+
public $version = '6.4.0.1';
4040

4141
/**
4242
* The plugin settings array.
@@ -91,7 +91,7 @@ public function initialize() {
9191

9292
// Define settings.
9393
$this->settings = array(
94-
'name' => __( 'Advanced Custom Fields', 'acf' ),
94+
'name' => 'Advanced Custom Fields',
9595
'slug' => dirname( ACF_BASENAME ),
9696
'version' => ACF_VERSION,
9797
'basename' => ACF_BASENAME,
@@ -130,6 +130,7 @@ public function initialize() {
130130
'enable_shortcode' => true,
131131
'enable_bidirection' => true,
132132
'enable_block_bindings' => true,
133+
'enable_meta_box_cb_edit' => true,
133134
);
134135

135136
// Include autoloader.
@@ -285,6 +286,9 @@ public function init() {
285286
// Load textdomain file.
286287
acf_load_textdomain();
287288

289+
// Make plugin name translatable.
290+
acf_update_setting( 'name', __( 'Advanced Custom Fields', 'acf' ) );
291+
288292
// Include 3rd party compatiblity.
289293
acf_include( 'includes/third-party.php' );
290294

assets/build/js/acf-field-group.min.js

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

assets/build/js/acf-input.min.js

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

assets/build/js/acf.min.js

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

assets/build/js/pro/acf-pro-blocks.min.js

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

assets/build/js/pro/acf-pro-field-group.min.js

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

assets/build/js/pro/acf-pro-input.min.js

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

includes/acf-value-functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,8 @@ function acf_log_invalid_field_notice( $field, $function ) {
387387
}
388388

389389
$error_text = sprintf(
390-
/* translators: %1 plugin name, %2 the URL to the documentation on this error */
391-
__( '<strong>%1$s</strong> - We\'ve detected one or more calls to retrieve ACF field values before ACF has been initialized. This is not supported and can result in malformed or missing data. <a href="%2$s" target="_blank">Learn how to fix this</a>.', 'acf' ),
390+
// This happens too early for translations to be loaded properly.
391+
'<strong>%1$s</strong> - We\'ve detected one or more calls to retrieve ACF field values before ACF has been initialized. This is not supported and can result in malformed or missing data. <a href="%2$s" target="_blank">Learn how to fix this</a>.',
392392
acf_get_setting( 'name' ),
393393
acf_add_url_utm_tags( 'https://www.advancedcustomfields.com/resources/acf-field-functions/', 'docs', 'early_init_warning' )
394394
);

0 commit comments

Comments
 (0)