system_info->get_all_info(); $updates = $plugin->update_checker->check_all_updates(); $update_count = $plugin->update_checker->get_update_count($updates); $last_check = get_option('backhe_yis_last_check', 0); $users = get_users(array('role__in' => array('administrator', 'editor'))); $settings = wp_parse_args($settings, array( 'email_enabled' => '1', 'recipient_type' => 'admin', 'custom_email' => '', 'custom_email_2' => '', 'selected_user' => get_current_user_id(), 'notification_frequency' => 'daily', 'custom_days' => 1, 'notify_on_updates' => '1', 'allowed_roles' => array('administrator') )); // phpcs:ignore WordPress.Security.NonceVerification.Recommended $active_tab = isset( $_GET['tab'] ) ? sanitize_text_field( wp_unslash( $_GET['tab'] ) ) : 'updates'; $wp_roles = wp_roles(); $all_roles = $wp_roles->get_names(); ?>