[wp-trac] [WordPress Trac] #17496: Add wp-admin body classes for wp_version and admin_color

WordPress Trac wp-trac at lists.automattic.com
Wed May 18 17:50:12 UTC 2011


#17496: Add wp-admin body classes for wp_version and admin_color
----------------------------+--------------------
 Reporter:  andy            |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  high            |   Milestone:  3.2
Component:  Administration  |     Version:  3.1.2
 Severity:  minor           |  Resolution:
 Keywords:  has-patch       |
----------------------------+--------------------

Comment (by nacin):

 Should classes start with a letter? And are dots allowed, in the sense
 that they're thus tough to target in CSS? I can't remember.

 So for 3.2.1, this would produce classes of 3, 3.2, and 3.2.1. The first
 one at the very least seems a bit excessive. Perhaps we can at least
 prefix/suffix them? `branch-3-2` and `version-3-2-1`?

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


More information about the wp-trac mailing list