/** * AJAX callback used to download the system info. * * @access private * @since 8.3 * @static */ public static function downloadSystemInfo() { check_ajax_referer('download_system_info'); if (!current_user_can('manage_options')) { wp_send_json(__('You do not have sufficient permissions to download system information.', 'connections')); } cnSystem_Info::download(); }