Skip to content

Commit 8a8fa0b

Browse files
cbravobernalclaude
andauthored
Prepare 6.9.1 Release (#493)
* Add 6.9.1 changelog entry Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * Build assets, documentation, and translations * Update version to 6.9.1 * Set Stable tag to 6.9.1 --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent cdc52a5 commit 8a8fa0b

4 files changed

Lines changed: 32 additions & 3 deletions

File tree

docs/code-reference/META.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,12 @@ This file tracks code elements that need documentation.
506506
- `acf/fields/post_object/query`
507507
- `acf/fields/post_object/result`
508508

509+
## fields/class-acf-field-radio.php
510+
511+
### Hooks
512+
513+
- `acf/fields/max_appended_choices`
514+
509515
## fields/class-acf-field-relationship.php
510516

511517
### Hooks
@@ -517,6 +523,7 @@ This file tracks code elements that need documentation.
517523

518524
### Hooks
519525

526+
- `acf/fields/max_appended_choices`
520527
- `acf/fields/select/query`
521528

522529
## fields/class-acf-field-taxonomy.php

docs/code-reference/api/api-helpers-file.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,16 @@ Checks if the current user has the SCF capability for programmatic access, witho
696696
* @since 6.6.0
697697
* @return bool True if the user has the ACF capability.
698698

699+
## `scf_numeric_to_int()`
700+
701+
Casts a numeric value to an integer, returning 0 for floats that cannot
702+
be represented as an integer (NAN or outside the integer range). Casting
703+
such floats directly raises a deprecation notice on PHP 8.5+.
704+
705+
* @since 6.9.1
706+
* @param mixed $value A numeric value (int, float, or numeric string).
707+
* @return integer
708+
699709
## `acf_current_user_can_edit_post()`
700710

701711
Wrapper function for current_user_can( 'edit_post', $post_id ).

readme.txt

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: fields, custom fields, meta, scf
44
Requires at least: 6.2
55
Tested up to: 7.0
66
Requires PHP: 7.4
7-
Stable tag: 6.9.0
7+
Stable tag: 6.9.1
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1010

@@ -51,6 +51,18 @@ This plugin builds upon and is a fork of the previous work done by the contribut
5151

5252

5353
== Changelog ==
54+
= 6.9.1 =
55+
*Release Date 2nd July 2026*
56+
57+
*Security*
58+
59+
- Capped the number of user-contributed choices that can be persisted to checkbox, radio, and select field definitions at 1000 by default, with a new `acf/fields/max_appended_choices` filter for customization.
60+
- The WooCommerce order fields save handler is now only registered on order edit screens.
61+
62+
*Fixes*
63+
64+
- Fixed PHP 8.5 deprecation notices when numeric post ID values contain floats that cannot be represented as integers.
65+
5466
= 6.9.0 =
5567
*Release Date 23rd June 2026*
5668

secure-custom-fields.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Plugin Name: Secure Custom Fields
77
* Plugin URI: https://developer.wordpress.org/secure-custom-fields/
88
* Description: Secure Custom Fields (SCF) offers an intuitive way for developers to enhance WordPress content management by adding extra fields and options without coding requirements.
9-
* Version: 6.9.0
9+
* Version: 6.9.1
1010
* Author: WordPress.org
1111
* Author URI: https://wordpress.org/
1212
* Text Domain: secure-custom-fields
@@ -33,7 +33,7 @@ class ACF {
3333
*
3434
* @var string
3535
*/
36-
public $version = '6.9.0';
36+
public $version = '6.9.1';
3737

3838
/**
3939
* The plugin settings array.

0 commit comments

Comments
 (0)