Skip to content

Prevent rendering of CSS if admin bar is not shown.#196

Merged
JJJ merged 1 commit intostuttter:masterfrom
carstingaxion:master
Jan 25, 2023
Merged

Prevent rendering of CSS if admin bar is not shown.#196
JJJ merged 1 commit intostuttter:masterfrom
carstingaxion:master

Conversation

@carstingaxion
Copy link
Contributor

This will fix #195

With this code in place, no styles are rendered to the page if the admin bar is not showing (for any reason).

@JJJ
Copy link
Collaborator

JJJ commented Jan 25, 2023

Awesome, thanks! I'll clean up these small PHPCS issues after it's merged 👍

@JJJ JJJ merged commit f79c395 into stuttter:master Jan 25, 2023
@carstingaxion
Copy link
Contributor Author

Pretty cool. Thank you for merging this in @JJJ!

I'm sorry for the PHPCS issues, I'll do better next time.

@JJJ
Copy link
Collaborator

JJJ commented Feb 16, 2023

I'm sorry for the PHPCS issues, I'll do better next time.

Hey it's OK! And I accept your totally unnecessary apology. And you did great already!

💫

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Render CSS if is_admin_bar_showing()

2 participants