Skip to content

Commit

Permalink
New: include new burst safety folder
Browse files Browse the repository at this point in the history
  • Loading branch information
AleTorrisi committed Jan 7, 2025
1 parent 6cf3ecb commit 18121f0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions inc/alt-experience/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ function () {
'manage_options',
'bluehost',
function () {
$version = BLUEHOST_PLUGIN_VERSION;
$version = BLUEHOST_PLUGIN_VERSION;
$asset_file = BLUEHOST_BUILD_DIR . '/index.asset.php';
if ( is_readable( $asset_file ) ) {
$asset = include_once $asset_file;
$asset = include_once $asset_file;
$version = $asset['version'];
}

Expand All @@ -29,3 +29,8 @@ function () {
);
}
);

$bust_mode_path = dirname( __DIR__, 2 ) . '/vendor/newfold-labs/wp-module-performance/includes/BurstSafetyMode/init.php';
if ( file_exists( $bust_mode_path ) ) {
require_once $bust_mode_path;
}

0 comments on commit 18121f0

Please sign in to comment.