WPIntell

Source evidence

Cache/Transient not working

Posts Social Shares Count · support · 2015-03-28T20:00:00+00:00

mixedsentiment
mediumseverity
0.72relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 31 rows with source links

16.1% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

26 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
feverinlove resolved
Eventhough I am using the latest version of the plugin, the cache is not working. Inside functions.php the below line always returns empty: $count = $cache[ $function . '_' . $post_id ]; Therefore, the transient seems empty, and social counts are retrieved again without checking the cache period. https://wordpress.org/plugins/posts-social-shares-count/ BTW, I am working on localhost, so every share count is 0. Maybe the plugin mistakes 0 for cache not set? Hi feverinlove, You were right, there was an issue with the 0 it was mistakenly considered an empty value. I modified the function and pushed version 1.3.1 which should fix this issue. Kindly please report if it doesn’t fix the issue or if you find another issue. Thanks!

Comments

2 shown
feverinlove 2015-03-28T20:03:00+00:00

BTW, I am working on localhost, so every share count is 0. Maybe the plugin mistakes 0 for cache not set?

Bishoy.A 2015-04-04T14:18:00+00:00

Hi feverinlove, You were right, there was an issue with the 0 it was mistakenly considered an empty value. I modified the function and pushed version 1.3.1 which should fix this issue. Kindly please report if it doesn’t fix the issue or if you find another issue. Thanks!