Critical: Prioritize $block['data'] over get_field() in compat layer. ACF 6.7+ get_field() was intercepting field_ prefixed keys and returning empty values, causing pros-cons and accordion blocks to render empty shells on review CPTs.
Read full notes19 changes
What's Changed
Fixed
Critical: Prioritize $block['data'] over get_field() in compat layer. ACF 6.7+ get_field() was intercepting field_ prefixed keys and returning empty values, causing pros-cons and accordion blocks to render empty shells on review CPTs.
Extracted acf_blocks_cast_field_value() helper to reduce code duplication in repeater type casting.
Commits
chore: bump to 2.1.8, add CHANGELOG.md, improve release workflow (2e36914)
fix prioritize block data over get_field() in compat layer (ddc487b)
Add field_ prefix fallback in acf_blocks_get_field() and acf_blocks_get_repeater() for review CPTs that store block data with ACF field key format (field_pc_pros_list instead of pc_pros_list).
Read full notes2 changes
Fixed
Add field_ prefix fallback in acf_blocks_get_field() and acf_blocks_get_repeater() for review CPTs that store block data with ACF field key format (field_pc_pros_list instead of pc_pros_list).