[wp-trac] [WordPress Trac] #43536: Network registration page

WordPress Trac noreply at wordpress.org
Tue Nov 17 05:18:41 UTC 2020


#43536: Network registration page
------------------------------------+------------------------------
 Reporter:  SGr33n                  |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Login and Registration  |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:                          |     Focuses:  multisite
------------------------------------+------------------------------

Comment (by markparnell):

 Ran into this today and figured someone else must have noticed. Sure
 enough, found this ticket. :-)

 I agree with @jeremyfelt that it appears to be related to the assumptions
 around `is_home()` et. al. - in our case what we noticed was that the body
 had the `home` class, which meant that certain styles intended to be
 specific to the home page were being applied to both `wp-signup.php` and
 `wp-activate.php`. On further investigation we found that `is_home()` and
 `is_front_page()` both return `true` also.

 It's certainly possible to work around it by detecting the URL (and that's
 what we've done for now), but it would be nice to get this fixed properly
 in core. Ideally these scripts should be identified as not being the home
 page and the relevant flags set accordingly.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43536#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list