%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /dom495844/wp-content/mu-plugins/object-cache-pro/src/Plugin/templates/widgets/tools/
Upload File :
Create Path :
Current File : /dom495844/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; ?>
                    <?php if (isset($flush['reason'])) : ?>
                        <li>
                            <span class="dashicons dashicons-tag"></span>
                            <code><?php echo esc_html($flush['reason']); ?></code>
                        </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>

Zerion Mini Shell 1.0
Page not found - Broad Street Financial
[et_pb_section fb_built=”1″ theme_builder_area=”post_content” _builder_version=”4.20.0″ _module_preset=”default”][et_pb_row _builder_version=”4.20.0″ _module_preset=”default” theme_builder_area=”post_content”][et_pb_column _builder_version=”4.20.0″ _module_preset=”default” type=”4_4″ theme_builder_area=”post_content”][et_pb_text _builder_version=”4.20.0″ _module_preset=”default” theme_builder_area=”post_content” hover_enabled=”0″ sticky_enabled=”0″]

Page Not Found

Sorry the requested page you are looking for is missing or has been moved.

Please check out our site and see if you can find what you are looking for.

[/et_pb_text][/et_pb_column][/et_pb_row][/et_pb_section]