Skip to content

ACF 6.3.2 compatibility #5

Merged
game-ryo merged 1 commit into
game-ryo:mainfrom
justinmaurerdotdev:acf-6-3-2-compat
Jul 11, 2024
Merged

ACF 6.3.2 compatibility #5
game-ryo merged 1 commit into
game-ryo:mainfrom
justinmaurerdotdev:acf-6-3-2-compat

Conversation

@justinmaurerdotdev

Copy link
Copy Markdown
Contributor

ACF 6.3.2 introduced significant changes to the AJAX handling scheme, for security reason. This change broke the ACF Multiple Taxonomy AJAX requests. This change implements the new nonce functions to get the field-specific nonce before validating the AJAX request. Compat code pulled from ACF 6.3.2 in includes/fields/class-acf-field-select.php's ajax_query() method.

This fixes the issue I opened here and the wordpress.org issue here.

…ting the AJAX request. Compat code pulled from ACF 6.3.2 in `includes/fields/class-acf-field-select.php`'s `ajax_query()` method.
@game-ryo

game-ryo commented Jul 11, 2024

Copy link
Copy Markdown
Owner

Thanks for your contribution. It is very helpful to resolve the issue.

@game-ryo game-ryo merged commit 6c345bd into game-ryo:main Jul 11, 2024
@game-ryo game-ryo linked an issue Jul 11, 2024 that may be closed by this pull request
@justinmaurerdotdev

Copy link
Copy Markdown
Contributor Author

Sure thing! Thanks for the swift resolution.

@joloco

joloco commented Aug 21, 2024

Copy link
Copy Markdown

Thank you very much for this fix @justinmaurerdotdev !

I had the same issue in a different ACF plugin, which is now working again :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The plugin no longer works after ACF 6.3.2

3 participants