[wp-trac] [WordPress Trac] #2853: 404 error while saving options

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 23 07:54:25 GMT 2006


#2853: 404 error while saving options
----------------------------+-----------------------------------------------
 Reporter:  Ishbir          |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  highest         |   Milestone:           
Component:  Administration  |     Version:           
 Severity:  critical        |    Keywords:           
----------------------------+-----------------------------------------------
 There is bug in options.php (not options-general.php) which redirects to
 http://www.example.com/wp-admin/updated=true. That should redirect to
 http://www.example.com/wp-admin/options-general.php. I have already made
 its fix. You may have it at http://www.ishbir.com/wpfix1.zip. The fix was
 in the line
 {{{
 $goback = add_query_arg('updated', 'true', $_SERVER['HTTP_REFERER']);
 }}}
 Whereas, it had to be
 {{{
 $goback = add_query_arg('options-general.php?updated', 'true',
 $_SERVER['HTTP_REFERER']);
 }}}
 I have already fixed it to make it easier for you to search thousands of
 lines of code. Please include this fix in your next version of Wordpress.

 Regards,
 Ishbir Singh

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


More information about the wp-trac mailing list