From a65ca84ff953b672651f5948ca02f5076d8689e1 Mon Sep 17 00:00:00 2001 From: Ben Wager Date: Fri, 15 Jul 2016 14:50:32 -0400 Subject: [PATCH 1/2] Fix Error caused by OAuthException class being redeclared. --- includes/Twitter/twitteroauth/OAuth.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/includes/Twitter/twitteroauth/OAuth.php b/includes/Twitter/twitteroauth/OAuth.php index e763041..2a3d86b 100755 --- a/includes/Twitter/twitteroauth/OAuth.php +++ b/includes/Twitter/twitteroauth/OAuth.php @@ -3,8 +3,10 @@ /* Generic exception class */ -class OAuthException extends Exception { - // pass +if (!class_exists('OAuthException')) + class OAuthException extends Exception { + // pass + } } class OAuthConsumer { From 92449891c71cc75943af0e77c41befb56347510b Mon Sep 17 00:00:00 2001 From: Ben Wager Date: Fri, 15 Jul 2016 15:01:16 -0400 Subject: [PATCH 2/2] Update version # --- displaytweets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/displaytweets.php b/displaytweets.php index 0ec1acc..348ffc5 100644 --- a/displaytweets.php +++ b/displaytweets.php @@ -3,7 +3,7 @@ /* Plugin Name: Display Tweets Plugin URI: http://matthewruddy.com/display-tweets-plugin - Version: 1.0.3 + Version: 1.0.4 Author: Matthew Ruddy Author URI: http://matthewruddy.com/ Description: A rather simple Twitter feed plugin that uses the v1.1 Twitter API.