[wp-trac] [WordPress Trac] #8133: Redirection to options.php after session destroyed

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 10 02:47:30 GMT 2008


#8133: Redirection to options.php after session destroyed
----------------------+-----------------------------------------------------
 Reporter:  fitztrev  |       Owner:  anonymous
     Type:  defect    |      Status:  new      
 Priority:  normal    |   Milestone:  2.7      
Component:  General   |     Version:           
 Severity:  normal    |    Keywords:  has-patch
----------------------+-----------------------------------------------------
 Scenario: I had 2 tabs open making changes to the settings.  I logged out
 from one tab.  When I clicked "Save Changes" in the other, I was sent to
 the login page where the redirect_url query value sent me to options.php
 instead of options-general.php.

 It does that because the actions on all the forms are to 'options.php'.
 When the login check is performed and fails, redirect_url is set with the
 REQUEST_URI of .../options.php instead of whatever options page the user
 was on prior to that.

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


More information about the wp-trac mailing list