[wp-trac] [WordPress Trac] #11331: get_body_class() does not include page-{slug}-php

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 19 15:35:15 UTC 2010


#11331: get_body_class() does not include page-{slug}-php
-------------------------+--------------------------------------------------
 Reporter:  westonruter  |       Owner:                       
     Type:  enhancement  |      Status:  new                  
 Priority:  low          |   Milestone:  3.0                  
Component:  General      |     Version:  3.0                  
 Severity:  trivial      |    Keywords:  has-patch 2nd-opinion
-------------------------+--------------------------------------------------

Comment(by coffee2code):

 The slug should get passed through `sanitize_html_class()` to ensure only
 valid characters are used, as is done for the other slug-based class
 names.  See 11331.diff.

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


More information about the wp-trac mailing list