[wp-trac] [WordPress Trac] #12346: Saving settings in multiple plugins results in You do not have sufficient permissions to access this page.

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 24 12:13:10 UTC 2010


#12346: Saving settings in multiple plugins results in You do not have sufficient
permissions to access this page.
-----------------------------+----------------------------------------------
 Reporter:  guyn             |        Owner:         
     Type:  defect (bug)     |       Status:  closed 
 Priority:  normal           |    Milestone:         
Component:  General          |      Version:         
 Severity:  major            |   Resolution:  invalid
 Keywords:  plugins, plugin  |  
-----------------------------+----------------------------------------------

Comment(by guyn):

 Replying to [comment:5 nacin]:
 > Some servers may omit the query string from REQUEST_URI, but WordPress
 goes through and corrects numerous {{{$_SERVER}}} variables including this
 one to ensure that it includes the query string, as it is supposed to (see
 wp_fix_server_vars() in wp-includes/load.php in 3.0, or a big chunk of
 code near the top of wp-settings.php in 2.9).

 I only know that I host sites on two different servers (shard hosting) and
 both show the same symptoms, and that the problem effects about 50% of the
 plugins I use.

 There might actually be a problem with the wp_fix_server_vars() as I
 checked $_SERVERREQUEST_URI outside of wordpress and it worked fine.

 In any case, I'm able to solve this specifically for my needs, I just
 think it might actually be a bug in the way wordpress handles these vars.

 Guy

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12346#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list