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 | includes/class-wp-optimize-notices.php +5 -2 4.5.2 → 4.7.0 View file →
@@ -1,11 +1,11 @@
1 1 <?php
2 2
3 3 if (!defined('ABSPATH')) die('No direct access allowed');
4 4
5 -if (!class_exists('Updraft_Notices_1_2')) require_once(WPO_PLUGIN_MAIN_PATH.'vendor/team-updraft/common-libs/src/updraft-notices/updraft-notices.php');
5 +if (!class_exists('Updraft_Notices_1_3')) require_once(WPO_PLUGIN_MAIN_PATH.'vendor/team-updraft/common-libs/src/updraft-notices/updraft-notices.php');
6 6
7 -class WP_Optimize_Notices extends Updraft_Notices_1_2 {
7 +class WP_Optimize_Notices extends Updraft_Notices_1_3 {
8 8
9 9 private $initialized = false;
10 10
11 11 protected $self_affiliate_id = 216;
@@ -321,8 +321,11 @@
321 321
322 322 $extract_variables = array_merge($advert_information, array('wp_optimize_notices' => $this));
323 323
324 324 return WP_Optimize()->include_template('notices/'.$template_file, $return_instead_of_echo, $extract_variables);
325 + }
326 +
327 + protected function widget_enqueue() {
325 328 }
326 329 }
327 330
328 331 $GLOBALS['wp_optimize_notices'] = WP_Optimize_Notices::instance();