PluginProbe
Timetics – Appointment Booking Calendar & Scheduling / 1.0.64
Timetics – Appointment Booking Calendar & Scheduling v1.0.64
1.0.64 1.0.62 1.0.63 1.0.61 1.0.60 1.0.59 1.0.58 1.0.57 1.0.56 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.2 1.0.20 1.0.21 All 65 releases
← All changes | bootstrap.php +4 -0 1.0.62 → 1.0.64 View file →
@@ -426,8 +426,10 @@
426 426 'timeticsPro' => class_exists('TimeticsPro') ? true : false,
427 427 'demo_url' => $this->demo_url(),
428 428 'current_user' => timetics_get_current_user(),
429 429 'aisentic' => $this->get_aisentic_state(),
430 + 'theme_mode' => Core\Admin\Theme_Mode::get_for_localize(),
431 + 'dark_mode_enabled' => Core\Admin\Theme_Mode::is_enabled(),
430 432 );
431 433
432 434 $localize_obj = apply_filters( 'timetics_admin_localize_data', $localize_obj );
433 435
@@ -457,8 +459,10 @@
457 459 * the UI hides the offer instead of promising something dead.
458 460 */
459 461 'supports_registration' => class_exists( 'Aisentic\Api\Services\Registration_Service' ),
460 462 'terms_url' => 'https://arraytics.com/terms-of-service/',
463 + // Only people who could install Aisentic by hand get the setup dialog.
464 + 'can_setup' => current_user_can( 'manage_options' ) && current_user_can( 'install_plugins' ),
461 465 ];
462 466 }
463 467
464 468 /**