[wp-trac] Re: [WordPress Trac] #3891: Multiple errors when passing some query variables as an a array(Only with Register Globals ON)

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 1 16:08:08 GMT 2007


#3891: Multiple errors when passing some query variables as an a array(Only with
Register Globals ON)
---------------------------------------------+------------------------------
 Reporter:  g30rg3x                          |        Owner:  anonymous
     Type:  defect                           |       Status:  new      
 Priority:  normal                           |    Milestone:  2.1.2    
Component:  General                          |      Version:  2.1      
 Severity:  normal                           |   Resolution:           
 Keywords:  m, cat, array, register globals  |  
---------------------------------------------+------------------------------
Changes (by g30rg3x):

  * summary:  Multiple Errors When passing as an array variables "m" and
              "cat" (Only with PHP Register Globals ON) =>
              Multiple errors when passing some query
              variables as an a array(Only with Register
              Globals ON)

Comment:

 Update[[BR]]
 This new title explains better the problem, because not only "m" and "cat"
 have the same problem with an arrays, also variables "subpost",
 "attachment", "name", "pagename", "category_name", "feed", "tb" and
 "comments_popup", in fact most of the variables in the array $keys inside
 the function "fill_query_vars".[[BR]]
 Also the variable "s" seems to be partially (or non) affected, passing "s"
 as an a array will make display the resource identifier "Array", but i
 dont see a real problem here.[[BR]][[BR]]
 This new solution i think is better than previous but i still thinking
 that there is another way to fix this problem, because "cat" variable its
 not un $keys array and need to be fixed alone like the previous patch that
 i deliver as temporary solution.[[BR]]

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3891#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list