AccessPress Twitter Feed – Twitter Feed for WordPress - Version 1.2.4

Version Description

  • Checked API class exists with PHP to prevent conflict
Download this release

Release Info

Developer Access Keys
Plugin Icon 128x128 AccessPress Twitter Feed – Twitter Feed for WordPress
Version 1.2.4
Comparing to
See all releases

Code changes from version 1.2.3 to 1.2.4

accesspress-twitter-feed.php CHANGED
@@ -4,7 +4,7 @@ defined('ABSPATH') or die('No script kiddies please!');
4
  * Plugin Name: AccessPress Twitter Feed
5
  * Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-twitter-feed/
6
  * Description: A plugin to show your twitter feed in your site with various configurable settings
7
- * Version: 1.2.3
8
  * Author: AccessPress Themes
9
  * Author URI: http://accesspressthemes.com
10
  * Text Domain: ap-twitter-feed
@@ -24,7 +24,7 @@ if (!defined('APTF_CSS_DIR')) {
24
  define('APTF_CSS_DIR', plugin_dir_url(__FILE__) . 'css');
25
  }
26
  if (!defined('APTF_VERSION')) {
27
- define('APTF_VERSION', '1.2.3');
28
  }
29
 
30
  if (!defined('APTF_TD')) {
4
  * Plugin Name: AccessPress Twitter Feed
5
  * Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-twitter-feed/
6
  * Description: A plugin to show your twitter feed in your site with various configurable settings
7
+ * Version: 1.2.4
8
  * Author: AccessPress Themes
9
  * Author URI: http://accesspressthemes.com
10
  * Text Domain: ap-twitter-feed
24
  define('APTF_CSS_DIR', plugin_dir_url(__FILE__) . 'css');
25
  }
26
  if (!defined('APTF_VERSION')) {
27
+ define('APTF_VERSION', '1.2.4');
28
  }
29
 
30
  if (!defined('APTF_TD')) {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: twitter, twitter feeds, twitter slider, twitter feeds slider, twitter plug
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.2
7
- Stable tag: 1.2.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -107,6 +107,9 @@ Once you install the plugin , you can check some general documentation about how
107
 
108
 
109
  == Changelog ==
 
 
 
110
  = 1.2.3 =
111
  * Update a note in the plugin settings
112
 
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.2
7
+ Stable tag: 1.2.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
107
 
108
 
109
  == Changelog ==
110
+ = 1.2.4 =
111
+ * Checked API class exists with PHP to prevent conflict
112
+
113
  = 1.2.3 =
114
  * Update a note in the plugin settings
115
 
twitteroauth/twitteroauth.php CHANGED
@@ -12,6 +12,7 @@ require_once('OAuth.php');
12
  /**
13
  * Twitter OAuth class
14
  */
 
15
  class TwitterOAuth {
16
  /* Contains the last HTTP status code returned. */
17
  public $http_code;
@@ -239,3 +240,4 @@ class TwitterOAuth {
239
  return strlen($header);
240
  }
241
  }
 
12
  /**
13
  * Twitter OAuth class
14
  */
15
+ if(!class_exists('TwitterOAuth')){
16
  class TwitterOAuth {
17
  /* Contains the last HTTP status code returned. */
18
  public $http_code;
240
  return strlen($header);
241
  }
242
  }
243
+ }