Comments (2)
Cheers :) I'll integrate it into the next version.
from facebook-comments-for-wordpress.
This cache problem will continue with this proposed solution.
That's because, according to the wordpress documentation, the return for the get_option is FALSE in case there's no value to the requested option. Quoting the documentation:
Description
"A safe way of getting values for a named option from the options database table. If the desired option does not exist, or no value is associated with it, FALSE will be returned. "
This can be verified in this page:
http://codex.wordpress.org/Function_Reference/get_option
In the description for the funciton get_option
So, the correct if statement is slightly different. I tried this one and it went ok:
if (get_option("fbComments_commentCount_$xid") !== FALSE) {
from facebook-comments-for-wordpress.
Related Issues (20)
- Comments don't show up. It only works when I use the template tag facebook_comments(). HOT 1
- Facebook Recent Comments does not show anything for v2 comments HOT 1
- "Like" and "comment" feature not workin HOT 1
- To many Bugs! Update Pleace!
- Can Not Reactivate Plugin
- Fatal error on Recent Comments Widget
- Duplicate post on home page after installing plugin HOT 1
- options filter
- "View All # Comments" Anchor just reloads the page HOT 1
- Breaks ComicPress blog views
- Plugin breaks a theme widget
- Facebook Comment Count Merging, for other plugin use
- Facebook debugger found issues
- v2 Setting / View Comments Link Issue / View Comments Text Mod
- Compatibility mode warning HOT 3
- Invalid Application ID error HOT 3
- I get this message on the facebook comments. HOT 1
- facebook comments breaks the loop
- Problem: Param numposts must be a number less than or equal to 100
- Responsive
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 facebook-comments-for-wordpress.