-
Notifications
You must be signed in to change notification settings - Fork 116
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
TTL purge schedule is never setup #412
Comments
I can confirm that the |
@lukecarbis Great question. I see it was introduced in #376 as a fix for #371. @powelski Can you give us some background on this one? |
@lukecarbis So are you saying that using |
Yes, on the condition that |
@lukecarbis I think I may have found the answer: http://wordpress.org/support/topic/logic-in-getting-wp_schedule_event-to-register-in-plugin?replies=2 |
Fixed by #418. |
The schedule setup should run on every page load after the WP class object is setup, as per https://github.com/x-team/wp-stream/blob/master/includes/admin.php#L52.
However, it never seems to load. My guess is that changing the hook (maybe
wp_loaded
?) should fix the issue.The text was updated successfully, but these errors were encountered: