[wp-trac] Re: [WordPress Trac] #2777: query_string_array filter

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 3 16:30:23 GMT 2006


#2777: query_string_array filter
----------------------------+-----------------------------------------------
       Id:  2777            |      Status:  new                     
Component:  Administration  |    Modified:  Sat Jun  3 16:30:22 2006
 Severity:  normal          |   Milestone:  2.1                     
 Priority:  normal          |     Version:  2.1                     
    Owner:  anonymous       |    Reporter:  markjaquith             
----------------------------+-----------------------------------------------
Comment (by ryanscheuermann):

 +1 - Instead of parsing and then recreating again, why not have
 build_query_string create an array first (in the foreachs), filter that
 array, then create the query string from the filtered array?  That way you
 can ensure the filtered query string is rawurlencoded (in case the plugin
 writer forgets or is unaware).

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


More information about the wp-trac mailing list