Comments (1)
I was indeed thinking about creating an abstract class and including it into each of the other classes, but on reflection, it would be difficult to keep the state of the options synchronised. What if somebody else logs onto the site and changes the options while you have them cached and are working on a local copy? It's not simple to avoid re-reading the options all the time. It could be done by checking the timestamp of the last write to Options and if it hasn't changed, use an already cached version. But I'm not sure it makes much sense.
from external-videos.
Related Issues (10)
- New Vimeo API HOT 9
- Overhaul is missing ability to remove channels HOT 1
- Add external video search back into "Insert Media" functionality HOT 1
- Fix selecting a post or page to attach a video to
- Make setting for wp_post_status preference when videos are pulled from services HOT 3
- Embed and fetch fixes HOT 19
- Update gallery functions in external-videos.php HOT 1
- Make admin columns sortable: "published", "host", "duration" HOT 1
- Return WP_admin_notice if API keys are missing for authors
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 external-videos.