[wp-trac] [WordPress Trac] #11722: body_class() creates an invalid class when page template contains a . [full stop]

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 8 18:53:42 UTC 2010


#11722: body_class() creates an invalid class when page template contains a . [full
stop]
--------------------------+-------------------------------------------------
 Reporter:  willmot       |        Owner:        
     Type:  defect (bug)  |       Status:  closed
 Priority:  low           |    Milestone:  3.0   
Component:  Template      |      Version:  3.0   
 Severity:  minor         |   Resolution:  fixed 
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------

Comment(by ryan):

 sanitize_title() is pretty heavyweight.  We can consider improving
 sanitize_html_class() in another ticket.

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


More information about the wp-trac mailing list