[wp-trac] Re: [WordPress Trac] #2857: WP_Scripts->_print_scripts and add_query_arg generate invalid links

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 24 20:49:39 GMT 2006


#2857: WP_Scripts->_print_scripts and add_query_arg generate invalid links
------------------------------------------+---------------------------------
 Reporter:  Nazgul                        |        Owner:  anonymous
     Type:  defect                        |       Status:  new      
 Priority:  normal                        |    Milestone:  2.1      
Component:  Administration                |      Version:           
 Severity:  normal                        |   Resolution:           
 Keywords:  query arguments bg|has-patch  |  
------------------------------------------+---------------------------------
Comment (by markjaquith):

 & should not be used within add_query_arg() function.  Rather, the
 thing that is calling it should run wp_specialchars() on the output.  We
 need non-encoded to be the default.

 The Script Loader fix looks good, though.

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


More information about the wp-trac mailing list