Comments (2)
This should use transients instead of defaulting to the file system to cache this data.
It also uses raw API keys in the code, which is not viable for themes submitted to the repository since Google doesn't not approve of sharing the API keys, and there are usage limits on each key. Theme users could either enter their own API key, or (better) the developer could cache the font options on their own server and access them via that instead (hence bypassing the need to share Google API keys).
from wordpress-theme-customizer-custom-controls.
I created a pull request with solutions for these issues ... #21
from wordpress-theme-customizer-custom-controls.
Related Issues (17)
- Controls need public `$type` property
- 4.0+ Radio markup HOT 4
- wordpress-theme-customizer-custom-controls not working
- Multiple instances of wysiwyg HOT 2
- TinyMCE won't load on Text_Editor_Custom_Control HOT 1
- $this->link missing from the post dropdown class HOT 1
- Simple color option? HOT 1
- Date Picker not working on Firefox!!!
- editor not save data HOT 1
- Fix for date picker (and maybe more)
- Menu Dropdown Issues
- Text_Editor_Custom_control working? HOT 12
- Some controls only work in Chrome? HOT 1
- Case Sensitivity Disparity HOT 2
- Importent Hints since WP 3.9
- Making the Google Fonts control work HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wordpress-theme-customizer-custom-controls.