[wp-trac] Re: [WordPress Trac] #10243: 2.8 won't read courier font in Theme

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 23 21:05:19 GMT 2009


#10243: 2.8 won't read courier font in Theme
--------------------------+-------------------------------------------------
 Reporter:  kingtone      |        Owner:         
     Type:  defect (bug)  |       Status:  closed 
 Priority:  normal        |    Milestone:         
Component:  General       |      Version:  2.8    
 Severity:  normal        |   Resolution:  invalid
 Keywords:  font          |  
--------------------------+-------------------------------------------------

Comment(by Denis-de-Bernardy):

 My understanding is it was changed along with esc_html(), yeah. Because
 some theme and plugin authors were using it to escape things that really
 needed esc_html().

 The wp_specialchars() should not be used on that call anyway: it's
 completely bogus. That function is meant to turn things into HTML
 entities. I mean, either the theme author ensures whoever edits the css is
 allowed to post unfiltered html, either he uses proper escaping
 functionalities, such as HTML Purifier. But definitely not something that
 is an enhanced htmlspecialchars().

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


More information about the wp-trac mailing list