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

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 5 00:46:42 UTC 2009


#11331: get_body_class() does not include page-{slug}-php
-------------------------+--------------------------------------------------
 Reporter:  westonruter  |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  low          |   Milestone:  2.9
Component:  General      |     Version:  2.9
 Severity:  trivial      |    Keywords:     
-------------------------+--------------------------------------------------
 I have a Glossary page whose slug is "glossary". I created a page-
 glossary.php to utilize the new WP 2.9 functionality. I was expecting that
 "page-glossary-php" to be listed among the classNames but instead "page-
 template-default" was included. Maybe this would better be manifested as a
 "page-slug-glossary" className just as there is a "page-id-XX".

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


More information about the wp-trac mailing list