[wp-trac] Re: [WordPress Trac] #7648: js_escape() wrongly escapes too many characters

WordPress Trac wp-trac at lists.automattic.com
Wed May 6 05:12:05 GMT 2009


#7648: js_escape() wrongly escapes too many characters
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |       Owner:  anonymous              
     Type:  defect (bug)  |      Status:  new                    
 Priority:  normal        |   Milestone:  2.8                    
Component:  General       |     Version:  2.6.1                  
 Severity:  normal        |    Keywords:  has-patch needs-testing
--------------------------+-------------------------------------------------

Comment(by Viper007Bond):

 See #9650 BTW. Might be worth deprecating `js_escape()` in favor of
 something like `esc_js()`.

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


More information about the wp-trac mailing list