Default styles
theamnesic opened this issue · comments
Hi @mundschenk-at !
I just noticed that you add default-styles.css
by default in the wp_head
since 5.9, even if Include styling for CSS hooks.
option is unchecked.
Is it possible not to include it, by a hook or in plugin settings?
Thanks!
I am not sure what you mean? default-styles.css
is only used to load the default styles option if you reset your settings.
The only stylesheet logic in the plugin adds an inline style (and not default-styles.css
directly) when enabling the `Include styling for CSS hooks." option. That's been unchanged since 2019.
Sorry, I wanted to say the content of default-styles.css
.
So I think It's a bug.
My settings :
But, the inline default-styles.css
content in my header :
Clearing the cache doesn't change anything.
Maybe since this one, line 251?
—
WordPress : 6.1.1
wp-Typography : 5.9.1
PHP : 8.0.8
Sorry for not getting back to this earlier, do you still have this problem?
I just re-read the line you pointed out and indeed I accidentally removed the guard condition *oops*
Really soon now (sorry, I got sidetracked last year). I am currently updating the underlying PHP-Typography package, so that there will be some additional typographic improvements (well, bug fixes mostly).