403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.51
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/KnowledgeBase/wp-content/plugins/real-media-library/inc/usersettings/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/KnowledgeBase/wp-content/plugins/real-media-library/inc/usersettings/Demo.php
<?php

namespace MatthiasWeb\RealMediaLibrary\usersettings;

use MatthiasWeb\RealMediaLibrary\api\IUserSettings;
// @codeCoverageIgnoreStart
\defined('ABSPATH') or die('No script kiddies please!');
// Avoid direct file request
// @codeCoverageIgnoreEnd
class Demo implements IUserSettings
{
    // Documented in CommonUserSettingsTrait
    public function content($content, $user)
    {
        return '<label>Demo for user #' . $user . '</label>
            <textarea name="demo" type="text" class="regular-text" style="width: 100%;box-sizing: border-box;">Your Text</textarea>
            <p class="description">Data is not saved</p>';
    }
    // Documented in CommonUserSettingsTrait
    public function save($response, $user, $request)
    {
        $response['errors'][] = 'An error occured with demo text: ' . $request->get_param('demo') . '. This is only a demo.';
        return $response;
    }
    // Documented in CommonUserSettingsTrait
    public function scripts($assets)
    {
        // Silence is golden.
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit