Skip to content
Snippets Groups Projects
Commit 43724aab authored by ale's avatar ale
Browse files

Fix disable-updates patch

parent 9b5077b7
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,6 @@
}
-if ( class_exists('OS_Disable_WordPress_Updates') ) {
+if ( class_exists('OS_Disable_WordPress_Updates') and !defined('AI_CRON_SCRIPT') {
+if ( class_exists('OS_Disable_WordPress_Updates') and !defined('AI_CRON_SCRIPT') ) {
$OS_Disable_WordPress_Updates = new OS_Disable_WordPress_Updates();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment