Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
WP Plugins
Cron-Control
Commits
d9021f6e
Commit
d9021f6e
authored
Aug 10, 2017
by
Erick Hitter
Committed by
GitHub
Aug 10, 2017
Browse files
Merge pull request #131 from Automattic/fix/fatal-disabled
Remove recursion introduced by
ddf19012
parents
67287655
af281fa5
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/class-events.php
View file @
d9021f6e
...
...
@@ -501,11 +501,6 @@ class Events extends Singleton {
return
false
;
}
// Nothing to do, but `update_option()` will return false
if
(
$new_status
===
$this
->
run_disabled
()
)
{
return
false
;
}
return
update_option
(
self
::
DISABLE_RUN_OPTION
,
$new_status
);
}
}
...
...
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