403Webshell
Server IP : 38.190.208.107  /  Your IP : 216.73.217.46
Web Server : nginx/1.28.1
System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64
User : root ( 0)
PHP Version : 8.2.28
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /www/wwwroot/wp.10/wp-content/plugins/duplicator/src/Libs/OneClickUpgrade/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/wp.10/wp-content/plugins/duplicator/src/Libs/OneClickUpgrade/UpgraderSkin.php
<?php

/**
 * @package Duplicator
 *
 * phpcs:disable PSR1.Files.SideEffects.FoundWithSymbols
 * phpcs:disable PSR1.Methods.CamelCapsMethodName.NotCamelCaps
 */

namespace Duplicator\Libs\OneClickUpgrade;

use WP_Upgrader_Skin;

defined('ABSPATH') || exit;

/**
 * Silent upgrader skin for one-click upgrade
 *
 * @since 1.5.13
 */
class UpgraderSkin extends WP_Upgrader_Skin
{
    /**
     * Primary class constructor.
     *
     * @since 1.5.13
     *
     * @param array $args Empty array of args (we will use defaults).
     */
    public function __construct($args = array())
    {
        parent::__construct($args);
    }

    /**
     * Set the upgrader object and store it as a property in the parent class.
     *
     * @since 1.5.13
     *
     * @param object $upgrader The upgrader object (passed by reference).
     *
     * @return void
     */
    public function set_upgrader(&$upgrader)
    {
        if (is_object($upgrader)) {
            $this->upgrader =& $upgrader;
        }
    }

    /**
     * Set the upgrader result and store it as a property in the parent class.
     *
     * @since 1.5.13
     *
     * @param object $result The result of the install process.
     *
     * @return void
     */
    public function set_result($result)
    {
        $this->result = $result;
    }

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

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

    /**
     * Instead of outputting HTML for errors, send proper WordPress AJAX error response.
     *
     * @since 1.5.13
     *
     * @param array $errors Array of errors with the install process.
     *
     * @return void
     */
    public function error($errors)
    {
        if (!empty($errors)) {
            wp_send_json_error(array('message' => esc_html__('There was an error installing the upgrade. Please try again.', 'duplicator')));
        }
    }

    /**
     * Empty out the feedback method to prevent outputting HTML strings as the install
     * is progressing.
     *
     * @since 1.5.13
     *
     * @param string $string  The feedback string.
     * @param mixed  ...$args Additional arguments.
     *
     * @return void
     */
    public function feedback($string, ...$args)
    {
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit