Ticket #2860 (closed defect (bug): wontfix)
Using wp_redirect when headers are sent
| Reported by: | robmiller | Owned by: | robmiller |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 2.1 |
| Severity: | normal | Keywords: | has-patch 2nd-opinion |
| Cc: |
Description
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 echos a meta refresh instead. What do people think about this?
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

