[wp-trac] [WordPress Trac] #39493: Include custom post type slug as body class

WordPress Trac noreply at wordpress.org
Fri Jan 6 13:05:08 UTC 2017


#39493: Include custom post type slug as body class
-----------------------------+-----------------------------
 Reporter:  danielbachhuber  |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  Themes           |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * keywords:   => has-patch


Comment:

 [attachment:39493.2.diff] adjusts the patch from #18118 and includes unit
 tests.


 [https://css-tricks.com/unicode-class-names/ CSS classes support Unicode
 characters], so ideally this should support multibyte post slugs in a way
 similar to #37655, but apparently #33924 is a blocker for that.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39493#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list