[wp-trac] [WordPress Trac] #10874: Use esc_html() instead of htmlspecialchars() when appropriate

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 29 17:58:28 UTC 2009


#10874: Use esc_html() instead of htmlspecialchars() when appropriate
-------------------------+--------------------------------------------------
 Reporter:  scribu       |       Owner:                         
     Type:  enhancement  |      Status:  new                    
 Priority:  normal       |   Milestone:  2.9                    
Component:  General      |     Version:  2.9                    
 Severity:  normal       |    Keywords:  has-patch needs-testing
-------------------------+--------------------------------------------------

Comment(by ryan):

 Can we use esc_html() in wp-db.php?  I'm not sure formatting.php is loaded
 for all situations.

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


More information about the wp-trac mailing list