Plugin Directory

Changeset 2624507


Ignore:
Timestamp:
11/04/2021 12:50:07 PM (4 years ago)
Author:
sstoqnov
Message:

Fix dashboard check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sg-cachepress/trunk/core/Rest/Rest_Helper_Dashboard.php

    r2624501 r2624507  
    113113                    // If they match the default one, we can say that the optimization is not used as recommended.
    114114                    if (
    115                         120 === intval( get_option( 'siteground_optimizer_heartbeat_post_interval', 120 ) ) &&
     115                        (
     116                            120 === intval( get_option( 'siteground_optimizer_heartbeat_post_interval', 120 ) ) ||
     117                            0 === intval( get_option( 'siteground_optimizer_heartbeat_post_interval', 120 ) )
     118                        ) &&
    116119                        0 === intval( get_option( 'siteground_optimizer_heartbeat_dashboard_interval', false ) ) &&
    117120                        0 === intval( get_option( 'siteground_optimizer_heartbeat_frontend_interval', false ) )
Note: See TracChangeset for help on using the changeset viewer.