PHP 8.2.31
Preview: ConnectSkin.php Size: 1004 B
/proc/self/root/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/wpforms-lite/src/Lite/Admin/ConnectSkin.php

<?php

namespace WPForms\Lite\Admin;

use WP_Ajax_Upgrader_Skin;
use WP_Error; // phpcs:ignore WPForms.PHP.UseStatement.UnusedUseStatement

/**
 * WPForms Connect Skin.
 *
 * WPForms Connect is our service that makes it easy for non-techy users to
 * upgrade to WPForms Pro without having to manually install WPForms Pro plugin.
 *
 * @since 1.5.5
 * @since 1.5.6.1 Extend PluginSilentUpgraderSkin and clean up the class.
 * @since 1.9.5 Extend WP_Ajax_Upgrader_Skin class.
 */
class ConnectSkin extends WP_Ajax_Upgrader_Skin {

	/**
	 * Instead of outputting HTML for errors, json_encode the errors and send them
	 * back to the Ajax script for processing.
	 *
	 * @since 1.5.5
	 *
	 * @param string|WP_Error $errors  Errors.
	 * @param mixed           ...$args Optional text replacements.
     */
	public function error( $errors, ...$args ) {

		if ( ! empty( $errors ) ) {
			wp_send_json_error( esc_html__( 'There was an error installing WPForms Pro. Please try again.', 'wpforms-lite' ) );
		}
	}
}

Directory Contents

Dirs: 3 × Files: 3

Name Size Perms Modified Actions
Education DIR
- drwxr-xr-x 2026-06-04 03:43:03
Edit Download
Pages DIR
- drwxr-xr-x 2026-06-04 03:43:03
Edit Download
Settings DIR
- drwxr-xr-x 2026-06-04 03:43:03
Edit Download
8.04 KB lrw-r--r-- 2025-07-31 14:13:36
Edit Download
1004 B lrw-r--r-- 2025-04-24 14:53:30
Edit Download
16.62 KB lrw-r--r-- 2026-01-29 20:00:56
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).