WPIntell

Source evidence

[Patch] fixed undefined constant CACHE_TRANSIENT

Get Tweets in PHP · support · 2016-01-26T16:17:00+00:00

mixedsentiment
mediumseverity
0.78relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

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

3 / 22 rows with source links

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

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

19 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
aboutnick resolved
Don’t know where to drop the patch instead.. --- a/get-tweets-in-php/Netgloo/GetTweetsInPhp.php +++ b/get-tweets-in-php/Netgloo/GetTweetsInPhp.php @@ -191,7 +191,7 @@ class GetTweetsInPhp { $twitter_api_exchange = new \TwitterAPIExchange($settings); // Set the cache transient name - $transient_name = CACHE_TRANSIENT . '__' . $api_opts['screen_name']; + $transient_name = self::CACHE_TRANSIENT . '__' . $api_opts['screen_name']; // Retrive the $user_timeline $user_timeline = null; https://wordpress.org/plugins/get-tweets-in-php/ Ok, thank you for the fix. I just released version 1.1 with this fix, adding you as contributor if it’s ok for you. I will place the code under GitHub, so contributions will be easier. Now the code is available on GitHub here: https://github.com/netgloo/get-tweets-in-php accepting pull requests or issues reports.

Comments

2 shown
azanelli 2016-02-07T18:07:00+00:00

Ok, thank you for the fix. I just released version 1.1 with this fix, adding you as contributor if it’s ok for you. I will place the code under GitHub, so contributions will be easier.

azanelli 2016-05-29T13:49:00+00:00

Now the code is available on GitHub here: https://github.com/netgloo/get-tweets-in-php accepting pull requests or issues reports.