[wp-trac] [WordPress Trac] #11690: Update esc_js() phpdoc to reflect its actual meaning

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 2 07:27:08 UTC 2010


#11690: Update esc_js() phpdoc to reflect its actual meaning
--------------------------+-------------------------------------------------
 Reporter:  nacin         |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.0      
Component:  Inline Docs   |     Version:           
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------
 Per #7648, esc_js() is designed only for inline JS, not for use in
 <script> tags.

 In that case, its phpdoc should be updated.

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


More information about the wp-trac mailing list