Make WordPress Core

Opened 11 years ago

Last modified 5 years ago

#26960 new enhancement

Audit extraneous HTML/CSS for the admin menu

Reported by: helen's profile helen Owned by:
Milestone: Priority: low
Severity: normal Version:
Component: Administration Keywords: has-patch needs-refresh
Focuses: ui, performance Cc:

Description

In working on #18380, I've noticed quite a bit of cruft that has built up over time, some of it directly related to the split between colors and structure. For example, the .wp-menu-arrow is no longer visible in the 3.8 redesign, but the HTML and CSS remain. Once #18380 and #26669 are complete, we should take a closer look at this.

Attachments (1)

removed_unused_wp-menu-arrow.patch (6.3 KB) - added by jbkkd 10 years ago.
from #29200

Download all attachments as: .zip

Change History (6)

#1 @azaozz
11 years ago

Yes, it's a solid chunk of HTML with far too many classes. There are about 800-900 lines of CSS (including colors), I bet it doesn't need more than 200-250 :)

The way it works can be simpler too. Not sure it needs the user controllable auto-fold at 900px as it goes into "mobile" mode at 782px.

#2 @johnbillion
11 years ago

  • Component changed from General to Administration
  • Milestone changed from 3.9 to Future Release
  • Priority changed from normal to low
  • Type changed from defect (bug) to enhancement

#3 @helen
10 years ago

#28934 was marked as a duplicate.

#4 @helen
10 years ago

#29200 was marked as a duplicate.

#5 @chriscct7
9 years ago

  • Keywords has-patch needs-refresh added
Note: See TracTickets for help on using tickets.