Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions includes/class-freemius.php
Original file line number Diff line number Diff line change
Expand Up @@ -7834,15 +7834,18 @@ private function activate_bundle_license( $license, $sites = array(), $current_b
continue;
}

if (
! $fs->is_addon() &&
! FS_Plan_Manager::instance()->has_paid_plan( $fs->_plans )
) {
if ( ! $fs->is_addon() && $fs->has_bundle_context() && $fs->is_registered() ) {
/**
* The parent product can be free-only but can have its `has_paid_plan` flag set to `true` when
* there is a context bundle.
* there is a context bundle. Ensure plans are synced before checking.
*/
continue;
if ( empty( $fs->_plans ) ) {
$fs->_sync_plans();
}

if ( ! FS_Plan_Manager::instance()->has_paid_plan( $fs->_plans ) ) {
continue;
}
}

if ( $current_blog_id > 0 ) {
Expand Down
2 changes: 1 addition & 1 deletion start.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* @var string
*/
$this_sdk_version = '2.13.4';
$this_sdk_version = '2.13.4.1';

#region SDK Selection Logic --------------------------------------------------------------------

Expand Down
Loading