[wp-trac] [WordPress Trac] #9243: wp_enqueue_script shouldn't convert source URL ampersands to character entities

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 27 19:02:52 GMT 2009


#9243: wp_enqueue_script shouldn't convert source URL ampersands to character
entities
--------------------------+-------------------------------------------------
 Reporter:  filosofo      |       Owner:  ryan                                 
     Type:  defect (bug)  |      Status:  new                                  
 Priority:  normal        |   Milestone:  Unassigned                           
Component:  General       |     Version:  2.8                                  
 Severity:  normal        |    Keywords:  wp_enqueue_script clean_url has-patch
--------------------------+-------------------------------------------------
 As [http://comox.textdrive.com/pipermail/wp-
 hackers/2009-February/025046.html Mike Schinkel pointed out], when a
 script source URL has ampersands in it, they get converted to their
 character entities.

 Instead, clean_url() should not use the default "display" argument.

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


More information about the wp-trac mailing list