[wpmu-trac] Re: [WordPress MU Trac] #447: blog delete confirmation - redirection wrong

WordPress MU Trac wpmu-trac at lists.automattic.com
Tue Oct 16 10:19:41 GMT 2007


#447: blog delete confirmation - redirection wrong
------------------------+---------------------------------------------------
 Reporter:  RavanH      |        Owner:  somebody
     Type:  defect      |       Status:  new     
 Priority:  low         |    Milestone:  WPMU 2.0
Component:  component1  |      Version:  2.0     
 Severity:  minor       |   Resolution:          
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by ktlee):

 wp-admin/wpmu-edit.php

 line 245

 wp_redirect( add_query_arg( "updated", "blogdeleted", $_SERVER[
 'HTTP_REFERER' ] ) );

 change to

 wp_redirect( add_query_arg( "updated", "blogdeleted", $_POST[ 'ref' ] ) );

 should fix the failure to redirect error.

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


More information about the wpmu-trac mailing list