Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WP Plugins
Cron-Control
Commits
077b7876
Verified
Commit
077b7876
authored
Dec 05, 2016
by
Erick Hitter
Browse files
If an event is invalid, don't leave it to persist forever
parent
4f3b2efc
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/class-cron-options-cpt.php
View file @
077b7876
...
...
@@ -129,8 +129,10 @@ class Cron_Options_CPT extends Singleton {
continue
;
}
// Retrieve event's remaining data
$job_args
=
maybe_unserialize
(
$jobs_post
->
post_content_filtered
);
if
(
!
is_array
(
$job_args
)
)
{
$this
->
mark_job_post_completed
(
$jobs_post
->
ID
);
continue
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment