Skip to content

Commit

Permalink
lint fix-up
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Feb 23, 2024
1 parent 2e30304 commit 5777d4a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@

// Context setup
add_action(
'newfold/context/set',
function () {
'newfold/context/set',
function () {
// set brand
setContext( 'brand.name', 'bluehost' );
setContext( 'brand.name', 'bluehost' );
}
);

Expand Down Expand Up @@ -75,7 +75,7 @@ function () {

// Platform overrides
if ( 'atomic' === getContext( 'platform' ) ) {
$cache_types = array();
$cache_types = array();
$marketplace_brand = 'bluehost-cloud';
}

Expand Down
22 changes: 11 additions & 11 deletions inc/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,30 +61,30 @@ public static function subpages() {
global $bluehost_module_container;
require_once BLUEHOST_PLUGIN_DIR . 'vendor/newfold-labs/wp-module-context/includes/functions.php';

$home = array(
'bluehost#/home' => __( 'Home', 'wp-plugin-bluehost' ),
$home = array(
'bluehost#/home' => __( 'Home', 'wp-plugin-bluehost' ),
);
$store = array(
'bluehost#/store' => __( 'Store', 'wp-plugin-bluehost' ),
$store = array(
'bluehost#/store' => __( 'Store', 'wp-plugin-bluehost' ),
);
$marketplace = array(
'bluehost#/marketplace' => __( 'Marketplace', 'wp-plugin-bluehost' ),
);
$performance = array(
'bluehost#/performance' => __( 'Performance', 'wp-plugin-bluehost' ),
);
$settings = array(
'bluehost#/settings' => __( 'Settings', 'wp-plugin-bluehost' ),
$settings = array(
'bluehost#/settings' => __( 'Settings', 'wp-plugin-bluehost' ),
);
$staging = array(
'bluehost#/staging' => __( 'Staging', 'wp-plugin-bluehost' ),
$staging = array(
'bluehost#/staging' => __( 'Staging', 'wp-plugin-bluehost' ),
);
$help = array(
'bluehost#/help' => __( 'Help', 'wp-plugin-bluehost' ),
$help = array(
'bluehost#/help' => __( 'Help', 'wp-plugin-bluehost' ),
);

// wp-cloud adjustments
if ( 'atomic' === getContext('platform') ) {
if ( 'atomic' === getContext( 'platform' ) ) {
return array_merge(
$home,
$store,
Expand Down

0 comments on commit 5777d4a

Please sign in to comment.