Skip to content

Commit 0e92288

Browse files
author
ACF
committed
Updates to 6.4.2
1 parent 6d124e2 commit 0e92288

Some content is hidden

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

90 files changed

+16429
-15181
lines changed

acf.php

Lines changed: 2 additions & 2 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.1
12+
* Version: 6.4.2
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.1';
39+
public $version = '6.4.2';
4040

4141
/**
4242
* The plugin settings array.

includes/admin/views/tools/tools.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@
1010
?>
1111
<div id="acf-admin-tools" class="wrap<?php echo esc_attr( $tool ); ?>">
1212

13-
<h1><?php esc_html_e( 'Tools', 'acf' ); ?> <?php
14-
if ( $active ) :
15-
?>
16-
<a class="page-title-action" href="<?php echo esc_url( acf_get_admin_tools_url() ); ?>"><?php esc_html_e( 'Back to all tools', 'acf' ); ?></a><?php endif; ?></h1>
13+
<h1>
14+
<?php esc_html_e( 'Tools', 'acf' ); ?>
15+
<?php if ( $active ) { ?>
16+
<a class="page-title-action" href="<?php echo esc_url( acf_get_admin_tools_url() ); ?>"><?php esc_html_e( 'Back to all tools', 'acf' ); ?></a>
17+
<?php } ?>
18+
</h1>
1719

1820
<div class="acf-meta-box-wrap -<?php echo esc_attr( $class ); ?>">
1921
<?php do_meta_boxes( $screen_id, 'normal', '' ); ?>

includes/fields/class-acf-field.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,9 +344,9 @@ public function render_bindings_setting( $field ) {
344344
$binding_url
345345
);
346346

347-
// This field setting has a unique behaviour. If the value isn't defined on the field object, it defaults to true, but for new fields, it defaults to off.
347+
// This field setting has unique behavior. If the value isn't defined on the field object, it defaults to true, but for new fields or when changing field types, it defaults to off.
348348
if ( ! isset( $field['allow_in_bindings'] ) ) {
349-
if ( empty( $field['ID'] ) ) {
349+
if ( empty( $field['ID'] ) || doing_action( 'wp_ajax_acf/field_group/render_field_settings' ) ) {
350350
$field['allow_in_bindings'] = false;
351351
} else {
352352
$field['allow_in_bindings'] = true;

lang/acf-ar.mo

0 Bytes
Binary file not shown.

lang/acf-ar.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# This file is distributed under the same license as Advanced Custom Fields.
1313
msgid ""
1414
msgstr ""
15-
"PO-Revision-Date: 2025-05-08T10:20:52+00:00\n"
15+
"PO-Revision-Date: 2025-05-19T16:45:13+00:00\n"
1616
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
1717
"Language: ar\n"
1818
"MIME-Version: 1.0\n"

lang/acf-bg_BG.mo

0 Bytes
Binary file not shown.

lang/acf-bg_BG.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# This file is distributed under the same license as Advanced Custom Fields.
1313
msgid ""
1414
msgstr ""
15-
"PO-Revision-Date: 2025-05-08T10:20:52+00:00\n"
15+
"PO-Revision-Date: 2025-05-19T16:45:13+00:00\n"
1616
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
1717
"Language: bg_BG\n"
1818
"MIME-Version: 1.0\n"

lang/acf-ca.mo

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)