File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -69,15 +69,15 @@ private static function create_advanced_cache() {
69
69
}
70
70
}
71
71
72
- $ boost_cache_filename = WP_CONTENT_DIR . '/plugins/ ' . basename ( dirname ( plugin_dir_path ( __FILE__ ), 3 ) ) . '/app/modules/cache/Boost_Cache.php ' ;
72
+ $ boost_cache_filename = WP_CONTENT_DIR . '/plugins/ ' . basename ( dirname ( plugin_dir_path ( __FILE__ ), 3 ) ) . '/app/modules/cache/pre-wordpress/ Boost_Cache.php ' ;
73
73
$ contents = '<?php
74
74
// ' . Page_Cache::ADVANCED_CACHE_SIGNATURE . ' - ' . Page_Cache::ADVANCED_CACHE_VERSION . '
75
75
if ( ! file_exists( \'' . $ boost_cache_filename . '\' ) ) {
76
76
return;
77
77
}
78
78
require_once( \'' . $ boost_cache_filename . '\');
79
79
80
- ( new Automattic\Jetpack_Boost\Modules\Page_Cache\Boost_Cache() )->serve();
80
+ ( new Automattic\Jetpack_Boost\Modules\Page_Cache\Pre_WordPress\ Boost_Cache() )->serve();
81
81
' ;
82
82
83
83
$ write_advanced_cache = Boost_Cache_Utils::write_to_file ( $ advanced_cache_filename , $ contents );
Original file line number Diff line number Diff line change
1
+ Significance: patch
2
+ Type: fixed
3
+ Comment: Fixed path and namespace messed up in a recent PR
4
+
5
+
You can’t perform that action at this time.
0 commit comments