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

Commit

Permalink
load required files in modules properly
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed May 13, 2024
1 parent 39b1704 commit 03d3316
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 33 deletions.
6 changes: 1 addition & 5 deletions bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,5 @@ function () {
new Admin();
}

// These shouldn't be needed once the autoloader is properly running in tagged releases
require_once BLUEHOST_PLUGIN_DIR . '/vendor/newfold-labs/wp-module-staging/includes/StagingFeature.php';
require_once BLUEHOST_PLUGIN_DIR . '/vendor/newfold-labs/wp-module-performance/includes/PerformanceFeature.php';
require_once BLUEHOST_PLUGIN_DIR . '/vendor/newfold-labs/wp-module-features/includes/functions.php';
// Instantiate Features singleton
// Instantiate the Features singleton
Features::getInstance();
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-runtime": "^1.0.10",
"newfold-labs/wp-module-secure-passwords": "^1.1.1",
"newfold-labs/wp-module-sso": "^1.0.5",
"newfold-labs/wp-module-staging": "dev-add/staging-feature",
"newfold-labs/wp-module-staging": "^1.3.3",
"wp-forge/wp-update-handler": "^1.0.2",
"wp-forge/wp-upgrade-handler": "^1.0"
}
Expand Down
53 changes: 26 additions & 27 deletions composer.lock

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

0 comments on commit 03d3316

Please sign in to comment.