[wp-trac] [WordPress Trac] #39311: New user activation welcome page links to the wrong site
WordPress Trac
noreply at wordpress.org
Fri May 8 04:38:26 UTC 2020
#39311: New user activation welcome page links to the wrong site
-------------------------------------------------+-------------------------
Reporter: tmoore41 | Owner:
| SergeyBiryukov
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 5.5
Component: Login and Registration | Version: 4.7
Severity: normal | Resolution:
Keywords: has-patch needs-testing needs- | Focuses: multisite
refresh |
-------------------------------------------------+-------------------------
Changes (by mukesh27):
* keywords: has-patch needs-testing => has-patch needs-testing needs-
refresh
Comment:
@pkarjala, Can you please update patch
[https://core.trac.wordpress.org/attachment/ticket/39311/fix-
multisite.39311.3.diff fix-multisite.39311.3.diff] as per Yoda Conditions
- https://make.wordpress.org/core/handbook/best-practices/coding-
standards/php/#yoda-conditions
EX.
{{{#!php
<?php
if ( false === SUBDOMAIN_INSTALL) {
$current_blog = get_blog_details();
if ( '/' !== $current_blog->path ) {
$path = $current_blog->path . $path;
}
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39311#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list