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

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 29 13:22:46 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:     
-------------------------+--------------------------------------------------
 For all htmlspecialchars($string, ENT_QUOTES), we can safely use
 esc_html(), which is better.

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


More information about the wp-trac mailing list