[wpmu-trac] Re: [WordPress MU Trac] #626: WordPress mu 1.5.1: $_SERVER["PHP_SELF"] is not correctly set

WordPress MU Trac wpmu-trac at lists.automattic.com
Wed May 14 13:10:52 GMT 2008


#626: WordPress mu 1.5.1: $_SERVER["PHP_SELF"] is not correctly set
-------------------------+--------------------------------------------------
 Reporter:  jergendutch  |        Owner:  somebody
     Type:  defect       |       Status:  new     
 Priority:  normal       |    Milestone:          
Component:  component1   |      Version:          
 Severity:  normal       |   Resolution:          
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by jergendutch):

 And to end this madness, line 97 in wp-settings.php has a similar (and
 better) fix:
 {{{
 $_SERVER['PHP_SELF'] =
 preg_replace("/(\?.*)?$/",'',$_SERVER["REQUEST_URI"]);
 }}}

 Note that this is for a different case.

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/626#comment:5>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list