Server : LiteSpeed
System : Linux quebec.us.hostns.io 5.14.0-687.42.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 27 11:55:12 EDT 2026 x86_64
User : gazetufm ( 1431)
PHP Version : 8.1.35
Disable Function : NONE
Directory :  /home2/gazetufm/dumoshi.com/wp-content/plugins/wp-mail-smtp/src/Admin/

📁 Create New:
⬆️ Upload File:
Current Dir [ Writable ] Root [ Writable ]


OR Upload from URL:
URL: Save as:

📄 File: PluginsInstallSkin.php

Path: //home2/gazetufm/dumoshi.com/wp-content/plugins/wp-mail-smtp/src/Admin/PluginsInstallSkin.php

Size: 1.8 KB

Permissions: 0644

<?php

namespace WPMailSMTP\Admin;

use Automatic_Upgrader_Skin;
use WP_Error;

/**
 * WordPress class extended for on-the-fly plugin installations.
 *
 * @since 1.5.0
 * @since 1.7.1 Removed feedback() method override to be compatible with PHP5.3+ and WP5.3.
 * @since 3.11.0 Updated to extend Automatic_Upgrader_Skin.
 * @since 4.10.1 Notes a failure for the caller instead of answering the request with it.
 */
class PluginsInstallSkin extends Automatic_Upgrader_Skin {

	/**
	 * The failure the upgrader reported, when it reported one.
	 *
	 * @since 4.10.1
	 *
	 * @var WP_Error|null
	 */
	private $failure = null;

	/**
	 * Empty out the header of its HTML content and only check to see if it has
	 * been performed or not.
	 *
	 * @since 1.5.0
	 */
	public function header() {
	}

	/**
	 * Empty out the footer of its HTML contents.
	 *
	 * @since 1.5.0
	 */
	public function footer() {
	}

	/**
	 * Note a failure, leaving the reply to the caller.
	 *
	 * @since 1.5.0
	 * @since 4.10.1 Notes the failure instead of answering the request with it.
	 *
	 * @param string|WP_Error $errors Errors from the install process.
	 */
	public function error( $errors ) {

		if ( is_wp_error( $errors ) ) {
			$this->failure = $errors;
		}
	}

	/**
	 * Whether the upgrader reported a failure.
	 *
	 * @since 4.10.1
	 *
	 * @return bool
	 */
	public function has_failure(): bool {

		return $this->failure !== null;
	}

	/**
	 * The failure the upgrader reported, when it reported one.
	 *
	 * @since 4.10.1
	 *
	 * @return WP_Error|null
	 */
	public function get_failure(): ?WP_Error {

		return $this->failure;
	}

	/**
	 * Empty out JavaScript output that calls function to decrement the update counts.
	 *
	 * @since 1.5.0
	 *
	 * @param string $type Type of update count to decrement.
	 */
	public function decrement_update_count( $type ) {
	}
}


← Back to Directory Edit File 🔒 Chmod

WP File Manager