So I’ve been using: https://github.com/gillesgoetsch/acf-smart-button for a while and a couple of versions ago it broke due to how ACF changed it’s nonce verification.
I modified the plugin and continued just fine, but the current change broke it again, and just wondering if there’s a way forward or do I just have to abandon using this plugin.
I’ve basically figured out the issue as
The “smart_button” plugin creates a new field type (smart_button), but part of this plugin uses an existing field (post_object).
When the nonce is checked it expects a “post_object” field type, but gets the “smart_button” field type.
As far as I can tell this is because do_action(‘acf/render_field/type=post_object’…) is called to create the post object field, so by all accounts it is a post_object field type, but the nonce checks in ACF simply get the “smart_button” field type instead.
Just wondering if there is any way around this, If a new field contains an existing field type, the nonce creation/checking is conflicting.