[wp-trac] Re: [WordPress Trac] #4918: Simpler resolution to ticket 3215, wp_redirect status code on fastcgi

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 6 12:52:07 GMT 2007


#4918: Simpler resolution to ticket 3215, wp_redirect status code on fastcgi
-------------------------+--------------------------------------------------
 Reporter:  chmac        |        Owner:  anonymous 
     Type:  enhancement  |       Status:  new       
 Priority:  normal       |    Milestone:  2.4 (next)
Component:  General      |      Version:            
 Severity:  normal       |   Resolution:            
 Keywords:  wp_redirect  |  
-------------------------+--------------------------------------------------
Comment (by DD32):

 the 2nd and 3rd parameters are only available for PHP >= 4.3.0, WP's
 baseline is 4.2

 Heres the definition for the status_header() function:
 http://trac.wordpress.org/browser/trunk/wp-includes/functions.php#L746

 As you see, it checks the version and calls appropriately.

 Maybe a similar code structure can be used there as well?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4918#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list