[wp-trac] [WordPress Trac] #3250: Add filter (with cancel ability) to wp_redirect() function

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 16 13:49:42 GMT 2006


#3250: Add filter (with cancel ability) to wp_redirect() function
----------------------------+-----------------------------------------------
 Reporter:  markjaquith     |       Owner:  markjaquith   
     Type:  defect          |      Status:  new           
 Priority:  normal          |   Milestone:  2.1           
Component:  Administration  |     Version:  2.1           
 Severity:  normal          |    Keywords:  hook has-patch
----------------------------+-----------------------------------------------
 Patch adds a filter to the $location in wp_redirect.  If $location is
 false after the filter, the function aborts, which means that a filter
 would be able to cancel a given redirect.

 While writing a plugin today, I happened upon a circumstance where this
 would have been very useful.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3250>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list