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

Google Fonts improvements #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ryanhellyer
Copy link

Provides fallback to stored data when no API key set.
API key is set via definition instead of hard coding into the framework which meant that the framework needed to be modified to use it.
Caching to disk has been removed and replaced with the transients API.

These changes should allow themes using the Google Fonts section of this library to be accepted into the official WordPress theme repository and allow it to work with a broader range of setups and use cases.

I've done very little testing with this. It's just a quick thing I hacked together to solve a problem I was working on, but AFAIK I should work just fine and I'm not aware of any problems with it.

…lback for when no API key is set. API key is now set via definition rather than hard coded into the framework
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant