Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#29340 closed defect (bug) (fixed)

Media Grid: CSS should be in an admin file instead of media-views.css

Reported by: helen's profile helen Owned by: helen's profile helen
Milestone: 4.0 Priority: normal
Severity: normal Version:
Component: Media Keywords: needs-patch
Focuses: ui Cc:


media-views.css can be loaded on the front end if you use the editor and/or media modal in that context. The CSS for the media library grid view is also in that file, which is unnecessary. It should be in media.css instead.

Change History (2)

#1 @helen
10 years ago

I am currently working on tightening up the filter bar CSS so that those selectors can be used and we can remove a chunk of the CSS here as well. Hold tight on patching.

#2 @helen
10 years ago

  • Owner set to helen
  • Resolution set to fixed
  • Status changed from new to closed

In 29598:

Media Grid: Move CSS into an admin-only file.

media-views.css can be loaded on the front, which does not need this extra CSS.

fixes #29340.

Note: See TracTickets for help on using tickets.