Skip to content

Commit 0dc504b

Browse files
committed
fix: ensure sites that can't be imported in current context are marked properly [ref Codeinwp/neve-pro-addon#2994]
1 parent f0eae36 commit 0dc504b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/Sites_Listing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,6 @@ private function get_upsell_status() {
230230
8 => 2,
231231
9 => 3,
232232
);
233-
return ! isset( $category_mapping[ $category ] ) || $category_mapping[ $category ] < 2;
233+
return apply_filters( 'product_neve_license_status', false ) !== 'valid' || ! isset( $category_mapping[ $category ] ) || $category_mapping[ $category ] < 2;
234234
}
235235
}

0 commit comments

Comments
 (0)