Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Google Fonts are being added automatically #818

Closed
joshtipton28 opened this issue May 16, 2016 · 1 comment
Closed

Google Fonts are being added automatically #818

joshtipton28 opened this issue May 16, 2016 · 1 comment

Comments

@joshtipton28
Copy link

I went to add some Google Fonts to my newest project and I noticed that the most recent vesion is already adding Google Fonts. I can't seem to locate where they are coming from though. It is getting injected before the scripts are ever enqueued.

Here is what is showing up:

How can this bug be reproduced?

  1. Step one - Install a fresh copy of Foundationpress
  2. Step two - View Source
  3. Step three

What did you expect to happen?
If Google Fonts are automatically being added, I would at least like to be able to change them.

What happened instead?
The Fonts aren't in the enqueue scripts or in header.php

Test case:

Please provide a link to a CodePen or JSFiddle that recreates the issue, if possible.

@joshtipton28
Copy link
Author

Sorry, false alarm. For anyone else who wonders why this is happening, the WP-Admin bar apparently automatically enqueues Open Sans whenever it is enabled. This only shows up if you are logged in.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant