Opened 4 years ago
Closed 3 months ago
#5133 closed enhancement (fixed)
Don't load wp4.css on the homepage.
Reported by: | dufresnesteven | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | General | Keywords: | |
Cc: |
Description
This is an experiment/proof of concept.
WP4.css contains styles that are consistently overwritten in each theme because they are generic and most likely out of date.
While it may seem daunting to pull it out, I think we can de-risk the task by excluding it from each theme (or page) one by one, starting with the homepage. We could then control the damage as we go and at some point we'll be ready to pull the trigger on killing it for good (even if we get 10 new, most likely trivial bugs, in the door as a result) .
Attachments (3)
Change History (8)
Note: See
TracTickets for help on using
tickets.
There's some functionality on WordPress.org to do just that.
If a WordPress.org theme (or page I guess) registers support for
wp4-styles
then the global header won't outputwp4.css
:That'll also disable
Open Sans
andDashicon
loading too, so it's assumed the theme handles fonts.