Skip to content

Commit cc94b14

Browse files
committed
Enable field validation for ACF blocks, ref:DEV-372
1 parent f5cbbef commit cc94b14

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
### Unreleased
22
* Delete maybe_show_error_block function, DEV-226
3+
* Enable field validation for ACF blocks, DEV-372
34

45
### 9.5.1: 2025-05-23
56
* Fix inconsistent heading variables, T-25878

functions.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@
131131
'anchor' => true,
132132
'customClassName' => false,
133133
],
134+
'validate' => true,
134135
'render_callback' => __NAMESPACE__ . '\render_acf_block',
135136
],
136137

0 commit comments

Comments
 (0)