PluginProbe ʕ •ᴥ•ʔ
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance / 4.5.4
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance v4.5.4
4.5.4 4.5.3 4.5.2 3.2.20 3.2.21 3.2.22 3.2.3 3.2.5 3.2.6 3.2.7 3.2.9 3.3.0 3.3.1 3.3.2 3.4.0 3.4.1 3.4.2 3.5.0 3.6.0 3.7.0 3.7.1 3.8.0 4.0.0 4.0.1 4.1.0 4.1.1 4.2.0 4.2.1 4.2.2 4.2.3 4.2.4 4.3.0 4.3.1 4.4.0 4.4.1 4.5.0 4.5.1 3.2.2 trunk 0.7.0 1.8.9.10 1.8.9.7 1.8.9.8 1.8.9.9 1.9 1.9.1 2.0.1 2.1.0 2.1.1 2.2.0 2.2.1 2.2.10 2.2.11 2.2.12 2.2.13 2.2.2 2.2.3 2.2.4 2.2.6 2.2.8 2.2.9 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 3.0.0 3.0.1 3.0.10 3.0.11 3.0.12 3.0.13 3.0.14 3.0.15 3.0.16 3.0.18 3.0.19 3.0.2 3.0.3 3.0.4 3.0.5 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.10 3.1.11 3.1.12 3.1.2 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.2.1 3.2.10 3.2.11 3.2.12 3.2.13 3.2.14 3.2.15 3.2.16 3.2.17 3.2.18 3.2.19
wp-optimize / templates / admin-page-header.php
wp-optimize / templates Last commit date
cache 1 month ago database 1 week ago images 1 month ago minify 1 month ago notices 1 month ago performance 1 month ago settings 1 month ago status 1 month ago admin-medialibrary-smush-column.php 1 month ago admin-metabox-smush-settings.php 1 month ago admin-metabox-smush.php 1 month ago admin-page-header-tabs.php 1 month ago admin-page-header.php 1 month ago handlebars-compiled-4-5-4.js 1 week ago info-message.php 10 months ago modal.php 1 month ago pages-menu.php 1 month ago take-a-backup.php 1 month ago
admin-page-header.php
50 lines
1 <?php if (!defined('ABSPATH')) die('No direct access allowed'); ?>
2
3 <header class="wpo-main-header">
4 <p class="wpo-header-links">
5 <span class="wpo-header-links__label"><?php esc_html_e('Useful links', 'wp-optimize'); ?></span>
6 <?php $wp_optimize->wp_optimize_url('https://teamupdraft.com/wp-optimize/?utm_source=wpo-plugin&utm_medium=referral&utm_campaign=paac&utm_content=home&utm_creative_format=menu', __('Home', 'wp-optimize')); ?> |
7
8 <?php $wp_optimize->wp_optimize_url('https://teamupdraft.com/?utm_source=wpo-plugin&utm_medium=referral&utm_campaign=paac&utm_content=teamupdraft&utm_creative_format=menu', 'TeamUpdraft'); ?> |
9
10 <?php $wp_optimize->wp_optimize_url('https://teamupdraft.com/blog/?utm_source=wpo-plugin&utm_medium=referral&utm_campaign=paac&utm_content=blog&utm_creative_format=menu', __('Blogs', 'wp-optimize')); ?> |
11
12 <?php $wp_optimize->wp_optimize_url('https://x.com/TeamUpdraftWP', __('Twitter / X', 'wp-optimize')); ?> |
13
14 <?php $wp_optimize->wp_optimize_url('https://teamupdraft.com/support/?utm_source=wpo-plugin&utm_medium=referral&utm_campaign=paac&utm_content=support&utm_creative_format=menu', __('Support', 'wp-optimize')); ?> |
15
16 <?php $wp_optimize->wp_optimize_url('https://david.dw-perspective.org.uk', __("Team lead", 'wp-optimize')); ?> |
17
18 <?php $wp_optimize->wp_optimize_url('https://teamupdraft.com/documentation/wp-optimize/?utm_source=wpo-plugin&utm_medium=referral&utm_campaign=paac&utm_content=faqs&utm_creative_format=menu', __("Documentation", 'wp-optimize')); ?> |
19
20 <?php $wp_optimize->wp_optimize_url('https://www.simbahosting.co.uk/s3/shop/', __("More plugins", 'wp-optimize')); ?>
21 </p>
22
23 <div class="wpo-logo__container">
24 <img class="wpo-logo" src="<?php echo esc_url(trailingslashit(WPO_PLUGIN_URL) . 'images/notices/wp_optimize_logo.png'); // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage -- N/A ?>" alt="" />
25 <?php
26 $sqlversion = (string) $wp_optimize->get_db_info()->get_version();
27 echo '<strong>WP-Optimize '.(WP_Optimize::is_premium() ? esc_html__('Premium', 'wp-optimize') : '' ).' <span class="wpo-version">'.esc_html(WPO_VERSION).'</span></strong>';
28 ?>
29 <span class="wpo-subheader"><?php esc_html_e('Make your site fast & efficient', 'wp-optimize'); ?></span>
30 </div>
31 <?php
32 $wp_optimize->include_template('pages-menu.php', false, array('menu_items' => WP_Optimize()->get_admin_instance()->get_submenu_items()));
33 ?>
34 </header>
35 <?php
36 if ($show_notices) {
37
38 $installed = $wp_optimize->get_options()->get_option('installed-for', 0);
39 $installed_for = time() - $installed;
40 $advert = false;
41 if ($installed && $installed_for > 28*86400 && $installed_for < 84*86400) {
42 $advert = 'rate_plugin';
43 }
44
45 if ($installed && $installed_for > 14*86400) {
46 // This is to display the notices.
47 $wp_optimize_notices->do_notice($advert);
48 }
49 }
50