Opened 14 years ago
Closed 14 years ago
#20698 closed defect (bug) (fixed)
Minor validation errors in admin bar
| Reported by: | araucaria | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Administration | Version: | 3.3 |
| Severity: | minor | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
Several elements in the admin bar have unwanted white space at the start of the class attribute:
<ul id="wp-admin-bar-appearance" class=" ab-submenu">
and
<li id="wp-admin-bar-search" class=" admin-bar-search">
Attachments (3)
Change History (6)
#2
@
14 years ago
- Keywords commit added; dev-feedback removed
- Milestone Awaiting Review → 3.5
- Version 3.3.2 → 3.3
While both patches probably work, we can make the intent a bit clearer. Try 20698.2.diff. (And when in doubt, a trim() can sweep most awkward logic branches under the rug.)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I've confirmed this with trunk code at rev 20826.
I've played about with the class-wp-admin-bar.php file and I think I've got a fix too.