#16211 closed defect (bug) (fixed)
In the admin bar, use ids instead of unique classes
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | Administration | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
Using unique classes in the admin bar makes plugin developers' lives more difficult, and runs contrary to conventional wisdom. Let's fix that.
Also, we should be using esc_attr on the class.
Attachments (2)
Change History (5)
koopersmith — 2 years ago
comment:1
koopersmith — 2 years ago
- Keywords has-patch added
koopersmith — 2 years ago
Note: See
TracTickets for help on using
tickets.

(In [17279]) Add unique ids as well as of classes in the admin bar to make it easier for plugins to extend.
Ensure we escape the classname.
Fixes #16211 props koopersmith.