[wpmu-trac] [WordPress MU Trac] #330: wp-login.php needs to use wpurl for the form action

WordPress MU Trac wpmu-trac at lists.automattic.com
Tue May 8 09:42:26 GMT 2007


#330: wp-login.php needs to use wpurl for the form action
--------------------------+-------------------------------------------------
 Reporter:  JeremyVisser  |       Owner:  somebody
     Type:  defect        |      Status:  new     
 Priority:  normal        |   Milestone:  WPMU 1.0
Component:  component1    |     Version:  1.0     
 Severity:  normal        |    Keywords:          
--------------------------+-------------------------------------------------
 In {{{wp-login.php}}}, it uses the following code to work out where to
 post the login form to:

 {{{
 http://<?php echo $current_blog->domain . $current_blog->path ?>wp-
 login.php
 }}}

 Obviously, the intention of that code is to make wp-login.php go to the
 user's dashboard. However, it is unnecessary, because the same can be
 acheived with:

 {{{
 <?php bloginfo('wpurl') ?>/wp-login.php
 }}}

 The reason I would like this changed, is because I have set up my WPMU
 site with an SSL backend, and I filter the {{{wpurl}}} settings
 dynamically to get SSL working properly. The only spot I could find that
 did not use the {{{bloginfo('wpurl')}}} convention was on the login form.
 Changing it to use {{{wpurl}}} enables me to allow logins through SSL.

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/330>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list