Skip to content

Commit 724f820

Browse files
committed
Run Container feature checks when it is set to Default
1 parent c544092 commit 724f820

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/Utils.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ public static function is_elementor_container() {
771771
$flexbox_container = get_option( 'elementor_experiment-container' );
772772
$is_flexbox_container_active = \Elementor\Core\Experiments\Manager::STATE_ACTIVE === $flexbox_container;
773773

774-
if ( 'default' === $flexbox_container ) {
774+
if ( 'default' === $flexbox_container || ! $is_flexbox_container_active ) {
775775
$experiments = new \Elementor\Core\Experiments\Manager();
776776
$is_flexbox_container_active = $experiments->is_feature_active( 'container' );
777777
}

0 commit comments

Comments
 (0)