db_version();
$db_engine = ACTLOGPRO_Database::get_database_engine();
// WordPress-Specific
$memory_limit = ini_get('memory_limit');
$wp_memory_limit = WP_MEMORY_LIMIT;
$max_execution_time = ini_get('max_execution_time');
$upload_max_size = ini_get('upload_max_filesize');
$post_max_size = ini_get('post_max_size');
$is_multisite = is_multisite();
$permalink_structure = get_option('permalink_structure');
$active_theme = wp_get_theme();
$wp_debug = defined('WP_DEBUG') && WP_DEBUG;
$wp_debug_log = defined('WP_DEBUG_LOG') && WP_DEBUG_LOG;
$wp_cron_disabled = defined('DISABLE_WP_CRON') && DISABLE_WP_CRON;
// Plugin-Specific Diagnostics
$plugin_version = defined('ACTLOGPRO_VERSION') ? ACTLOGPRO_VERSION : '1.0.0';
$table_name = $wpdb->prefix . 'actlogpro_activity_log_pro_all_logs';
$table_exists = ACTLOGPRO_Database::check_table_exists($table_name);
if ($table_exists) {
$statistics = ACTLOGPRO_Database::get_log_statistics();
$table_size = $statistics['size'];
$table_rows = $statistics['count'];
} else {
$table_size = __('Table not found', 'activity-log-pro');
$table_rows = '0';
}
$retention_period = get_option('actlogpro_retention_period', '30');
$last_cleanup = get_option('actlogpro_last_cleanup_run', __('Never', 'activity-log-pro'));
if ($last_cleanup !== __('Never', 'activity-log-pro')) {
$last_cleanup = date_i18n(get_option('date_format') . ' ' . get_option('time_format'), $last_cleanup);
}
// Get installed plugins
if (!function_exists('get_plugins')) {
require_once ABSPATH . 'wp-admin/includes/plugin.php';
}
$all_plugins = get_plugins();
$active_plugins = get_option('active_plugins', array());
$network_active_plugins = is_multisite() ? get_site_option('active_sitewide_plugins', array()) : array();
// Get dropins
$dropins = get_dropins();
// Get themes
$all_themes = wp_get_themes();
?>
()
|
|
|
|
$plugin_data):
$is_active = in_array($plugin_file, $active_plugins) || array_key_exists($plugin_file, $network_active_plugins);
$status_class = $is_active ? 'active' : 'inactive';
$status_text = $is_active ? __('Active', 'activity-log-pro') : __('Inactive', 'activity-log-pro');
if ($is_active && array_key_exists($plugin_file, $network_active_plugins)) {
$status_text = __('Network Active', 'activity-log-pro');
}
?>
|
|
|
|
()
()
|
|
|
|
$theme_data):
$is_active = $theme_stylesheet === $current_theme;
$status_class = $is_active ? 'active' : 'inactive';
$status_text = $is_active ? __('Active', 'activity-log-pro') : __('Inactive', 'activity-log-pro');
?>
| get('Name')); ?> |
get('Version')); ?> |
|
get('Author')); ?> |