Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

Commit

Permalink
Merge pull request #1505 from bluehost/update/performance
Browse files Browse the repository at this point in the history
Bump Performance to 2.3.0
  • Loading branch information
circlecube authored Jan 10, 2025
2 parents d71a7ea + bfae9d4 commit 931ffd1
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"newfold-labs/wp-module-onboarding": "^2.5.5",
"newfold-labs/wp-module-onboarding-data": "^1.2.4",
"newfold-labs/wp-module-patterns": "^2.8.1",
"newfold-labs/wp-module-performance": "^2.2.0",
"newfold-labs/wp-module-performance": "^2.3.2",
"newfold-labs/wp-module-pls": "^1.0.1",
"newfold-labs/wp-module-runtime": "^1.0.12",
"newfold-labs/wp-module-secure-passwords": "^1.1.1",
Expand Down
18 changes: 9 additions & 9 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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 = BLUEHOST_PLUGIN_DIR . '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 931ffd1

Please sign in to comment.