[wp-trac] [WordPress Trac] #18118: Append page slug to body_class function

WordPress Trac noreply at wordpress.org
Mon Jun 2 16:02:44 UTC 2014


#18118: Append page slug to body_class function
------------------------------+-----------------------
 Reporter:  andrewsvg         |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  4.0
Component:  Themes            |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  template
------------------------------+-----------------------

Comment (by ericlewis):

 I think this is an antipattern.

 Slugs are mutable by content editors. I've been bitten by implementing
 what's suggested here and having clients change slugs, then they lose
 styling on X page and not knowing why.

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


More information about the wp-trac mailing list