'; echo '' . esc_html__( 'AI CyberGuard security notice', 'ai-cyberguard' ) . ': '; echo esc_html__( "This server can't encrypt secrets at rest, so the plugin's API secret is currently stored in plain text. To fix this, enable the PHP OpenSSL extension, or make sure your wp-config.php has the standard WordPress secret keys (AUTH_KEY, SECURE_AUTH_KEY, NONCE_SALT). The plugin keeps working either way.", 'ai-cyberguard' ); echo ' ' . esc_html__( 'Dismiss', 'ai-cyberguard' ) . ''; echo '

'; } public static function dismiss() { if ( ! current_user_can( 'manage_options' ) ) { wp_die( esc_html__( 'No permission.', 'ai-cyberguard' ) ); } check_admin_referer( 'guardpress_dismiss_downgrade' ); delete_transient( self::TRANSIENT ); wp_safe_redirect( wp_get_referer() ? wp_get_referer() : admin_url() ); exit; } } }