[wp-trac] [WordPress Trac] #18287: wp-login.php - Logo URL should be relative (affects MultiSite)

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 29 00:31:50 UTC 2011


#18287: wp-login.php - Logo URL should be relative (affects MultiSite)
----------------------------+-----------------------------
 Reporter:  Ipstenu         |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  3.2.1
 Severity:  normal          |   Keywords:
----------------------------+-----------------------------
 If you go to your domain.com/wp-login.php page it has a WP logo that links
 back to domain.com

 If you're using multisite and go to subsite.domain.com/wp-login.php, it
 links back to domain.com

 If you're using multisite and you MAP a domain and go to mappeddomain.com
 /wp-login.php, it links back to domain.com

 I can see why this would have been done.  It points to network_home_url()
 which is perfectly sensible for MOST situations.  But maybe we should just
 honor the site on which people are trying to login, so that it's all
 relative.  Given the link on the bottom (back to...) goes to the relative
 site, this is a logical change.  I would say to keep the EMAILS for
 password resets as is, since the network is in charge of it all, but the
 front end interface should be consistant.

 I did a quick test and this works fine on Single and Multi (as expected).
 So ... here's my first diff!

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18287>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list