// home url
td_system_status::add('WordPress and plugins', array('check_name' => 'WP Home URL', 'tooltip' => 'test tooltip', 'value' => home_url(), 'status' => 'info'));
// site url
td_system_status::add('WordPress and plugins', array('check_name' => 'WP Site URL', 'tooltip' => 'test tooltip', 'value' => site_url(), 'status' => 'info'));
// home_url == site_url
if (home_url() != site_url()) {
    td_system_status::add('WordPress and plugins', array('check_name' => 'Home URL - Site URL', 'tooltip' => 'Home URL not equal to Site URL, this may indicate a problem with your WordPress configuration.', 'value' => 'Home URL != Site URL <span class="td-status-small-text">Home URL not equal to Site URL, this may indicate a problem with your WordPress configuration.</span>', 'status' => 'yellow'));
}
// version
td_system_status::add('WordPress and plugins', array('check_name' => 'WP version', 'tooltip' => '', 'value' => get_bloginfo('version'), 'status' => 'info'));
// is_multisite
td_system_status::add('WordPress and plugins', array('check_name' => 'WP multisite enabled', 'tooltip' => '', 'value' => is_multisite() ? 'Yes' : 'No', 'status' => 'info'));
// language
td_system_status::add('WordPress and plugins', array('check_name' => 'WP Language', 'tooltip' => '', 'value' => get_locale(), 'status' => 'info'));
// memory limit
$memory_limit = td_system_status::wp_memory_notation_to_number(WP_MEMORY_LIMIT);
if ($memory_limit < 67108864) {
    td_system_status::add('WordPress and plugins', array('check_name' => 'WP Memory Limit', 'tooltip' => '', 'value' => size_format($memory_limit) . '/request <span class="td-status-small-text">- We recommend setting memory to at least 64MB. The theme is well tested with a 40MB/request limit, but if you are using multiple plugins that may not be enough. See: <a href="http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP" target="_blank">Increasing memory allocated to PHP</a></span>', 'status' => 'yellow'));
} else {
    td_system_status::add('WordPress and plugins', array('check_name' => 'WP Memory Limit', 'tooltip' => '', 'value' => size_format($memory_limit) . '/request', 'status' => 'green'));
}
// wp debug
if (defined('WP_DEBUG') and WP_DEBUG === true) {
    td_system_status::add('WordPress and plugins', array('check_name' => 'WP_DEBUG', 'tooltip' => '', 'value' => 'WP_DEBUG is enabled', 'status' => 'yellow'));
} else {
    td_system_status::add('WordPress and plugins', array('check_name' => 'WP_DEBUG', 'tooltip' => '', 'value' => 'False', 'status' => 'green'));
}
// caching
$caching_plugin_list = array('wp-super-cache/wp-cache.php' => array('name' => 'WP super cache', 'status' => 'green'), 'w3-total-cache/w3-total-cache.php' => array('name' => 'W3 total cache (we recommend WP super cache)', 'status' => 'yellow'), 'wp-fastest-cache/wpFastestCache.php' => array('name' => 'WP Fastest Cache (we recommend WP super cache)', 'status' => 'yellow'));
$active_plugins = get_option('active_plugins');
$caching_plugin = 'No caching plugin detected';