-
Notifications
You must be signed in to change notification settings - Fork 384
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
Periodically delete amp_validation_error terms which no longer appear on the site #1415
Comments
This is obsolete as of #1429 since there is now a Clear Empty ability. |
Actually, this isn't really obsolete. For trashed posts, they can be deleted with a button or they will be removed after a month via WP Cron. Something similar should be done for There is still a code comment that references this:
|
Makes sense to implement 👍 It's annoying to manually clear empty results every so often. |
Can this be achieved at the time the counter reaches 0? I mean, at the very moment when the 0 value is computed, the orphan error is removed. |
That's possible but I think we'd lose out on something important: keeping track of validation errors that contain attributes with variable attributes. For example, if there is a |
We need to add a cronjob to delete
amp_validation_error
terms that have zero URLs associated with them.See #1413
The text was updated successfully, but these errors were encountered: