[wp-trac] [WordPress Trac] #2860: Using wp_redirect when headers
are sent
WordPress Trac
wp-trac at lists.automattic.com
Sun Jun 25 12:33:28 GMT 2006
#2860: Using wp_redirect when headers are sent
-----------------------+----------------------------------------------------
Reporter: robmiller | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.0.4
Component: General | Version: 2.1
Severity: normal | Keywords:
-----------------------+----------------------------------------------------
Currently {{{wp_redirect()}}} redirects by sending a Refresh/Location
header, making it unusable when the headers have already been sent (such
as on an admin page).
This patch checks if the headers are sent and if so {{{echo}}}s a
{{{meta}}} refresh instead. What do people think about this?
--
Ticket URL: <http://trac.wordpress.org/ticket/2860>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list