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

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 27 20:04:53 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 nacin):

 I'm not sure about this. With this patch, we may be generating some very
 long class names, and I don't think we use slugs anywhere else in
 body|post_class.

 We already support page template names and page IDs, we don't support post
 slugs for example, only post IDs.

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


More information about the wp-trac mailing list