[wp-trac] Re: [WordPress Trac] #8446: post_class() outputs invalid
css class
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 29 22:43:10 GMT 2009
#8446: post_class() outputs invalid css class
--------------------------+-------------------------------------------------
Reporter: lilyfan | Owner: nbachiyski
Type: defect (bug) | Status: new
Priority: high | Milestone: 2.8
Component: i18n | Version: 2.7
Severity: major | Keywords: needs-patch
--------------------------+-------------------------------------------------
Comment(by Denis-de-Bernardy):
Replying to [comment:26 hakre]:
> your decision is based on misleading stuff (seldom use, xhtml validity)
It's only ever used by authors who customize their CSS in the first place,
since it's based on the slug. I know this for a fact, since I've several
plugins that output css classes based on a sanitized version of the title
(essentially, s/a-z0-9//i). For what it's worth, I've a meaningful number
of customers as a sample, many of which customize some CSS here and
there... They never use these classes in practice. :-)
I'm 100% for switching to IDs instead, personally.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8446#comment:28>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list