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
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "devstone/ultimate-multisite",
"homepage": "https://UltimateMultisite.com",
"description": "The Multisite Website as a Service (WaaS) plugin.",
"version": "2.4.11-beta.4",
"version": "2.4.11-beta.3",
"authors": [
{
"name": "Arindo Duque",
Expand Down
2 changes: 1 addition & 1 deletion inc/class-wp-ultimo.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ final class WP_Ultimo {
* @since 2.1.0
* @var string
*/
const VERSION = '2.4.11-beta.4';
const VERSION = '2.4.11-beta.3';

/**
* Core log handle for Ultimate Multisite.
Expand Down
6 changes: 6 additions & 0 deletions inc/compat/class-multiple-accounts-compat.php
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,12 @@ public function fix_login($user, $username, $password) {
return $user;
}

// On the main site, we don't need to scope email lookups
// to a specific sub-site. Let WordPress handle it normally.
if (is_main_site()) {
return $user;
}

// Sets the right user to be returned;
$user = $this->get_right_user($username, $password);

Expand Down
Loading
Loading