[wp-trac] [WordPress Trac] #19247: Add post type and taxonomy to admin body class
WordPress Trac
wp-trac at lists.automattic.com
Tue Nov 15 08:19:36 UTC 2011
#19247: Add post type and taxonomy to admin body class
----------------------------+-----------------------------
Reporter: johnbillion | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 3.3
Severity: normal | Keywords:
----------------------------+-----------------------------
I often have a need for targetted CSS selectors based on the current
screen's post type (eg. to hide unwanted UI elements), so I usually end up
adding `post-type-{$post_type}` with the `admin_body_class` filter. It'd
be nice if this was in core.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19247>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list