PluginProbe
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance / 4.7.0
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance v4.7.0
4.7.0 4.6.1 4.6.0 4.5.5 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 All 111 releases
← All changes | templates/notices/thanks-for-using-main-dash.php +17 -6 3.3.2 → 4.7.0 View file →
@@ -1,9 +1,16 @@
1 -<?php if (!defined('WPO_PLUGIN_MAIN_PATH')) die('No direct access allowed'); ?>
1 +<?php if (!defined('ABSPATH')) die('No direct access allowed'); ?>
2 2
3 3 <div id="wp-optimize-dashnotice" class="updated">
4 4
5 - <div style="float: right;"><a href="#" onclick="jQuery('#wp-optimize-dashnotice').slideUp(); jQuery.post(ajaxurl, {action: 'wp_optimize_ajax', subaction: 'dismiss_dash_notice_until', nonce: '<?php echo esc_js(wp_create_nonce('wp-optimize-ajax-nonce')); ?>'});"><?php printf(esc_html__('Dismiss (for %s months)', 'wp-optimize'), 12); ?></a></div>
5 + <div style="float: right;">
6 + <a href="#" onclick="jQuery('#wp-optimize-dashnotice').slideUp(); jQuery.post(ajaxurl, {action: 'wp_optimize_ajax', subaction: 'dismiss_dash_notice_until', nonce: '<?php echo esc_js(wp_create_nonce('wp-optimize-ajax-nonce')); ?>'});">
7 + <?php
8 + // translators: %s is number of months
9 + printf(esc_html__('Dismiss (for %s months)', 'wp-optimize'), 12);
10 + ?>
11 + </a>
12 + </div>
6 13
7 14 <?php if ($is_premium) : ?>
8 15 <h3><?php esc_html_e('Thank you for installing WP-Optimize Premium.', 'wp-optimize'); ?></h3>
9 16 <?php else : ?>
@@ -9,9 +16,9 @@
9 16 <?php else : ?>
10 17 <h3><?php esc_html_e('Thank you for installing WP-Optimize.', 'wp-optimize'); ?></h3>
11 18 <?php endif; ?>
12 19
13 - <a href="https://getwpo.com" target="_blank"><img style="border: 0px; float: right; width: 150px; margin-right: 40px;" alt="WP-Optimize" title="WP-Optimize" src="<?php echo esc_url(WPO_PLUGIN_URL.'images/logo/wpo_logo_small.png'); ?>"></a>
20 + <a href="https://teamupdraft.com/wp-optimize/" target="_blank"><img style="border: 0px; float: right; width: 150px; margin-right: 40px;" alt="WP-Optimize" title="WP-Optimize" src="<?php echo esc_url(WPO_PLUGIN_URL.'images/logo/wpo_logo_small.png'); // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage -- N/A ?>"></a>
14 21
15 22 <div id="wp-optimize-dashnotice-wrapper" style="max-width: 800px;">
16 23
17 24 <?php if ($is_premium) : ?>
@@ -32,17 +39,18 @@
32 39 </p>
33 40
34 41 <p>
35 42 <?php
36 - $message = $wp_optimize->wp_optimize_url('https://getwpo.com/buy/', '', '<strong>WP-Optimize Premium:</strong>', '', true);
43 + $message = $wp_optimize->wp_optimize_url('https://teamupdraft.com/wp-optimize/pricing/', '', '<strong>WP-Optimize Premium:</strong>', '', true);
37 44 $message .= ' ';
38 45 $message .= esc_html__('Unlock new ways to speed up your WordPress website.', 'wp-optimize');
39 46 $message .= ' ';
40 47 $message .= sprintf(
48 + // translators: %s is a link
41 49 esc_html__('Optimize from the WP-CLI, cache multilingual and multicurrency websites, get premium support and %s.', 'wp-optimize'),
42 50 sprintf(
43 51 '<a href="%s" target="_blank">%s</a>',
44 - esc_url('https://getwpo.com/buy/'),
52 + esc_url('https://teamupdraft.com/wp-optimize/pricing/'),
45 53 esc_html__('more', 'wp-optimize')
46 54 )
47 55 );
48 56 echo $message; // phpcs:ignore WordPress.Security.EscapeOutput -- Output is already escaped
@@ -95,9 +103,12 @@
95 103 echo $message; // phpcs:ignore WordPress.Security.EscapeOutput -- Output is already escaped
96 104 ?>
97 105 </p>
98 106 <p>
99 - <?php echo '<strong>'.esc_html__('More quality plugins', 'wp-optimize').': </strong>'.$wp_optimize->wp_optimize_url('https://www.simbahosting.co.uk/s3/shop/', __('Premium WooCommerce plugins', 'wp-optimize'), '', '', true); ?>
107 + <strong><?php esc_html_e('More quality plugins', 'wp-optimize'); ?>: </strong>
108 + <?php
109 + $wp_optimize->wp_optimize_url('https://www.simbahosting.co.uk/s3/shop/', esc_html__('Premium WooCommerce plugins', 'wp-optimize'), '', '', false);
110 + ?>
100 111 </p>
101 112 <p>&nbsp;</p>
102 113 </div>
103 114 </div>