Skip to content

Commit 064b903

Browse files
committed
[ms] Fix the account setup handling for multisites with only one site.
1 parent 255a085 commit 064b903

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

includes/class-freemius.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17432,7 +17432,7 @@ function setup_network_account(
1743217432
FS_User_Lock::instance()->unlock();
1743317433
}
1743417434

17435-
if ( 1 < count( $installs ) ) {
17435+
if ( 1 < count( $installs ) || fs_is_network_admin() ) {
1743617436
// Only network level opt-in can have more than one install.
1743717437
$is_network_level_opt_in = true;
1743817438
}

start.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* @var string
1717
*/
1818
$this_sdk_version = '2.13.1';
19+
$this_sdk_version = '2.13.1';
1920

2021
#region SDK Selection Logic --------------------------------------------------------------------
2122

0 commit comments

Comments
 (0)