Skip to content

Commit

Permalink
Use parent feature name to be consistent with CLI.
Browse files Browse the repository at this point in the history
  • Loading branch information
vedanshujain committed Sep 20, 2023
1 parent cbc5bd4 commit 91b1fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/woocommerce/includes/class-wc-install.php
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ private static function create_options() {

if ( self::should_enable_hpos_for_new_shop() ) {
$feature_controller = wc_get_container()->get( FeaturesController::class );
$feature_controller->change_feature_enable( CustomOrdersTableController::CUSTOM_ORDERS_TABLE_USAGE_ENABLED_OPTION, true );
$feature_controller->change_feature_enable( 'custom_order_tables', true );
}
}
}
Expand Down

0 comments on commit 91b1fed

Please sign in to comment.