Skip to content

Commit

Permalink
Coding Standards: Use strict comparison in `wpmu_signup_blog_notifica…
Browse files Browse the repository at this point in the history
…tion()`.

Follow-up to [https://mu.trac.wordpress.org/changeset/1970 mu:1970].

Props debarghyabanerjee.
See #62283.

git-svn-id: https://develop.svn.wordpress.org/trunk@59560 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Dec 24, 2024
1 parent 70ecc6b commit 87f99b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/ms-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ function wpmu_signup_blog_notification( $domain, $path, $title, $user_login, $us
}

// Send email with activation link.
if ( ! is_subdomain_install() || get_current_network_id() != 1 ) {
if ( ! is_subdomain_install() || get_current_network_id() !== 1 ) {
$activate_url = network_site_url( "wp-activate.php?key=$key" );
} else {
$activate_url = "http://{$domain}{$path}wp-activate.php?key=$key"; // @todo Use *_url() API.
Expand Down

0 comments on commit 87f99b4

Please sign in to comment.