Skip to content

Commit bfed1e4

Browse files
committed
Deploying version 6.4.0.1
1 parent 29d13eb commit bfed1e4

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

acf.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Plugin Name: Advanced Custom Fields
1010
* Plugin URI: https://www.advancedcustomfields.com
1111
* Description: Customize WordPress with powerful, professional and intuitive fields.
12-
* Version: 6.4.0
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
@@ -36,7 +36,7 @@ class ACF {
3636
*
3737
* @var string
3838
*/
39-
public $version = '6.4.0';
39+
public $version = '6.4.0.1';
4040

4141
/**
4242
* The plugin settings array.

readme.txt

+7-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
Contributors: deliciousbrains, wpengine, elliotcondon, mattshaw, lgladdy, antpb, johnstonphilip, dalewilliams, polevaultweb
33
Tags: acf, fields, custom fields, meta, repeater
44
Requires at least: 6.0
5-
Tested up to: 6.7.2
5+
Tested up to: 6.8
66
Requires PHP: 7.4
7-
Stable tag: 6.4.0
7+
Stable tag: 6.4.0.1
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1010

@@ -94,6 +94,11 @@ From your WordPress dashboard
9494

9595
== Changelog ==
9696

97+
= 6.4.0.1 =
98+
*Release Date 8th April 2025*
99+
100+
* Fix - Calling `acf_get_reference()` with an invalid field name no longer causes a fatal error
101+
97102
= 6.4.0 =
98103
*Release Date 7th April 2025*
99104

src/Meta/MetaLocation.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function get_value( $object_id = 0, array $field = array() ) {
109109
* @param string $field_name The name of the field to get the reference for.
110110
* @return string|null
111111
*/
112-
public function get_reference( $object_id = 0, string $field_name = '' ) {
112+
public function get_reference( $object_id = 0, $field_name = '' ) {
113113
$reference = get_metadata( $this->location_type, $object_id, $this->reference_prefix . $field_name );
114114
return $reference[0] ?? null;
115115
}

0 commit comments

Comments
 (0)