Wrong timestamp used with wp_schedule_event
-
The plugin uses the wrong timestamp when calling wp_schedule_event(). You must use time() (= UTC time) instead of current_time( ‘timestamp’ ) (= local time).
See https://codex.wordpress.org/Function_Reference/wp_schedule_event
For us this resulted in old content served because of very long time between GC runs.
The topic ‘Wrong timestamp used with wp_schedule_event’ is closed to new replies.