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

WordPress Trac wp-trac at lists.automattic.com
Fri May 22 17:11:07 GMT 2009


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

  * owner:  nbachiyski => westi
  * status:  reopened => accepted


Comment:

 Working on this now.

 As I said above, using IDs is pretty useless when you want your theme to
 be portable between installs.

 I think we need a sanitisation function that gets it right for ascii slugs
 and then allow plugins to filter them until we get a better performant
 solution in the future.

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


More information about the wp-trac mailing list