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. 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 {