Don't process if there are no plugins to check.
This commit is contained in:
parent
ed1a181eca
commit
70c65f60f2
|
@ -205,6 +205,11 @@ class WC_Helper_Updater {
|
|||
}
|
||||
);
|
||||
|
||||
// Nothing to check for, exit.
|
||||
if ( empty( $active_for_translations ) ) {
|
||||
return array();
|
||||
}
|
||||
|
||||
if ( wp_doing_cron() ) {
|
||||
$timeout = 30;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue