File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1199,7 +1199,7 @@ private function localize_dashboard_app() {
1199
1199
}
1200
1200
// Disable this for now, we need a better way to detect it.
1201
1201
// $cron_disabled = apply_filters( 'optml_offload_wp_cron_disabled', defined( 'DISABLE_WP_CRON' ) && constant( 'DISABLE_WP_CRON' ) === true );
1202
- $ cron_disabled = false ;
1202
+
1203
1203
$ language = get_user_locale ();
1204
1204
$ available_languages = [
1205
1205
'de_DE ' => 'de ' ,
@@ -1233,7 +1233,7 @@ private function localize_dashboard_app() {
1233
1233
'days_since_install ' => round ( ( time () - get_option ( 'optimole_wp_install ' , 0 ) ) / DAY_IN_SECONDS ),
1234
1234
'is_offload_media_available ' => $ is_offload_media_available ,
1235
1235
'auto_connect ' => $ auto_connect ,
1236
- 'cron_disabled ' => $ cron_disabled && ! function_exists ( 'as_schedule_single_action ' ),
1236
+ 'cron_disabled ' => false , // $cron_disabled && ! function_exists( 'as_schedule_single_action' ),
1237
1237
'submenu_links ' => [
1238
1238
[
1239
1239
'href ' => 'admin.php?page=optimole#settings ' ,
You can’t perform that action at this time.
0 commit comments