JSON Serialization in `forAttribute` Does Not Support ACF Prefixing
Description
Activity
Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Luis Majano
Luis MajanoReporter
Jon Clausen
Jon ClausenComponents
Fix versions
Priority
Sentry
Linked Issues
Sentry
Linked Issues
Created October 25, 2022 at 8:14 PM
Updated October 26, 2022 at 9:32 AM
Resolved October 26, 2022 at 9:32 AM
The
forAttribute
method in the framework supertype does not support secure JSON prefixing settings for ACF. Since this method deals exclusively with JSON in HTML attributes, I would suggest adding atoJSON
method which handles the correct method signature differences between engines and then pass the serialization through that method. Example: