Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update logic when multiple is false and ui is 1 #184

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tflight
Copy link

@tflight tflight commented Nov 7, 2024

This further updates #167 and should address #177. Given a field like this:

$acf_field['multiple'] = false;
$acf_field['ui'] = 1;

Then the proper nonces were not being set and the values would fail to load in the bulk editor. This updates the ui attributes even if multiple is false.

Props to @fionchadd for this fix.

This further updates mcguffin#167 and should address mcguffin#177. Given a field like this:

```php
$acf_field['multiple'] = false;
$acf_field['ui'] = 1;
```

Then the proper nonces were not being set and the values would fail to load in the bulk editor. This updates the `ui` attributes even if multiple is false.
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.

1 participant