Opened 15 years ago
Closed 13 years ago
#19247 closed enhancement (fixed)
Add post type and taxonomy to admin body class
| Reported by: | johnbillion | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.7 |
| Component: | Administration | Version: | 3.3 |
| Severity: | normal | Keywords: | has-patch 3.7-early commit |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch