[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:35:03 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           |   Keywords:  has-patch
----------------------------+-----------------------
 Some plugins (e.g. WordPress.com Stats, Jetpack) display in their wp-admin
 pages sections of HTML generated remotely. As the styling of this HTML is
 affected by both WP version and the user's admin color scheme, these
 plugins need to modify their HTML to include CSS fixes dependent on those
 parameters. Rather than send the parameters for dynamic style generation,
 we should add body classes specifying the WP version and color scheme.

 Attached patch adds body classes to wp-admin.

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


More information about the wp-trac mailing list