Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Don't inline style.css, but enqueue it. #207

Merged
merged 1 commit into from
Nov 5, 2021

Conversation

carolinan
Copy link
Collaborator

Description
Register and enqueue style.css without printing it inline.

Right now, the style.css file isn't actually used, it is empty. It was enqueued this way to allow adding CSS to the front,
for #206 and any other CSS we are not sure will be solved by theme.json in time.

Testing Instructions

  1. View source.
  2. Confirm that the style.css file header is not printed in the source.

Copy link
Collaborator

@jffng jffng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm good with this change. Should we add it to the editor while we're here too?

@carolinan
Copy link
Collaborator Author

It depends. Perhaps wait until there is CSS that needs to be added?
About to test, but it looks like it wont be needed for #206

@jffng jffng merged commit 4756558 into WordPress:trunk Nov 5, 2021
@jffng jffng mentioned this pull request Nov 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants