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

flush_rules() is not called when Boxzilla box is published via a scheduled date #162

Open
arnelap opened this issue Sep 6, 2022 · 0 comments

Comments

@arnelap
Copy link

arnelap commented Sep 6, 2022

If a boxzilla box is set to be published at a future date, the Admin->flush_rules method doesn’t get called at publish time, and the box never gets shown until it is saved manually in the admin interface again.

I have solved this on our site by using the transition_post_status hook and calling $boxzilla[‘admin’]->flush_rules($post_id) when conditions match, but it would be great if this was solved in the plugin itself.

reported here: https://wordpress.org/support/topic/flush_rules-is-not-called-on-auto-publish/

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

No branches or pull requests

1 participant