Opened 14 years ago
Closed 12 years ago
#19247 closed enhancement (fixed)
Add post type and taxonomy to admin body class
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 3.7 | Priority: | normal |
| Severity: | normal | Version: | 3.3 |
| Component: | Administration | Keywords: | has-patch 3.7-early commit |
| Focuses: | Cc: |
Description
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.
Attachments (2)
Change History (8)
Note: See
TracTickets for help on using
tickets.
Patch