[wp-trac] Re: [WordPress Trac] #8446: Using Slug-Data in CSS Classes does not work

WordPress Trac wp-trac at lists.automattic.com
Sun May 24 13:21:56 GMT 2009


#8446: Using Slug-Data in CSS Classes does not work
-------------------------------------+--------------------------------------
 Reporter:  lilyfan                  |        Owner:  westi 
     Type:  defect (bug)             |       Status:  closed
 Priority:  high                     |    Milestone:  2.8   
Component:  i18n                     |      Version:  2.7   
 Severity:  major                    |   Resolution:  fixed 
 Keywords:  has-patch tested commit  |  
-------------------------------------+--------------------------------------

Comment(by demetris):

 @westi:

 I did not say this should be changed any more for 2.8.

 Also, your current patch with the sanitizer is clearly better that what
 2.7 did (littering the document with unusable class names).

 However, while offering an option that only works with ASCII characters
 might be acceptable for Sandbox, which is just a third-party theme, it
 should be unacceptable for the core of WordPress.

 So, this should not be viewed as something that can be enhanced, but as a
 bug that should be fixed.

 @Denis:

 Up to when I asked my question, there were two alternatives discussed:

 1. Getting class names from term slugs (what Sandbox and WP 2.7 do)

 2. Getting class names from term IDs (what lilyfan suggested)

 I asked about the feasibility of a *third* option:

 3. Getting class names from term *names*

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


More information about the wp-trac mailing list