Skip to content

Commit

Permalink
Merge branch 'trunk' into enhance/wordpress-branding
Browse files Browse the repository at this point in the history
  • Loading branch information
Yashita committed Apr 24, 2023
2 parents 771f54c + 215c3ef commit fad07a5
Show file tree
Hide file tree
Showing 144 changed files with 6,124 additions and 4,693 deletions.
13 changes: 12 additions & 1 deletion bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
use NewfoldLabs\WP\Module\Onboarding\Application;
use function NewfoldLabs\WP\ModuleLoader\register;
use NewfoldLabs\WP\Module\Onboarding\ModuleController;
use NewfoldLabs\WP\Module\Onboarding\Compatibility\Scan;
use NewfoldLabs\WP\Module\Onboarding\Compatibility\Safe_Mode;
use NewfoldLabs\WP\Module\Onboarding\Compatibility\Status;

/**
* Register Onboarding with Newfold Module Loader
Expand All @@ -19,7 +22,7 @@ function nfd_wp_module_onboarding_register() {

// Set Global Constants
if ( ! defined( 'NFD_ONBOARDING_VERSION' ) ) {
define( 'NFD_ONBOARDING_VERSION', '1.2.2' );
define( 'NFD_ONBOARDING_VERSION', '1.4.0' );
}
if ( ! defined( 'NFD_ONBOARDING_DIR' ) ) {
define( 'NFD_ONBOARDING_DIR', __DIR__ );
Expand All @@ -33,6 +36,14 @@ function nfd_wp_module_onboarding_register() {
if ( ! defined( 'NFD_ONBOARDING_BUILD_URL' && defined( 'NFD_ONBOARDING_VERSION' ) ) ) {
define( 'NFD_ONBOARDING_BUILD_URL', $container->plugin()->url . '/vendor/newfold-labs/wp-module-onboarding/build/' . NFD_ONBOARDING_VERSION );
}

if ( 'compatible' !== Status::get() ) {
$compatibility_scan = new Scan();
Status::set( $compatibility_scan );
if ( 'compatible' !== $compatibility_scan->result ) {
return new Safe_Mode( $compatibility_scan );
}
}
// Instantiate Onboarding Module Application
new Application( $container );
},
Expand Down
5 changes: 0 additions & 5 deletions build/1.2.2/111.js

This file was deleted.

3 changes: 0 additions & 3 deletions build/1.2.2/135.js

This file was deleted.

3 changes: 0 additions & 3 deletions build/1.2.2/139.js

This file was deleted.

11 changes: 0 additions & 11 deletions build/1.2.2/154.js

This file was deleted.

7 changes: 0 additions & 7 deletions build/1.2.2/179.js

This file was deleted.

Loading

0 comments on commit fad07a5

Please sign in to comment.