AccessPress Twitter Feed – Twitter Feed for WordPress - Version 1.4.2

Version Description

  • Done the bug fixing for widget.
  • Done the fix in the plugin to work with proxy if configured in wp-config file.
Download this release

Release Info

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

Code changes from version 1.4.1 to 1.4.2

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.4.1
8
  * Author: AccessPress Themes
9
  * Author URI: http://accesspressthemes.com
10
  * Text Domain: accesspress-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.4.1');
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.4.2
8
  * Author: AccessPress Themes
9
  * Author URI: http://accesspressthemes.com
10
  * Text Domain: accesspress-twitter-feed
24
  define('APTF_CSS_DIR', plugin_dir_url(__FILE__) . 'css');
25
  }
26
  if (!defined('APTF_VERSION')) {
27
+ define('APTF_VERSION', '1.4.2');
28
  }
29
 
30
  if (!defined('APTF_TD')) {
images/Thumbs.db ADDED
Binary file
inc/frontend/shortcode.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  $aptf_settings = $this->aptf_settings;
3
  $username = $aptf_settings['twitter_username'];
4
- $display_name = $aptf_settings['twitter_account_name'];
5
  //$tweets = $this->get_tweets($username, $aptf_settings['total_feed']);
6
  $tweets = $this->get_twitter_tweets($username, $aptf_settings['total_feed']);
7
  //$this->print_array($tweets);
@@ -26,7 +26,6 @@ if(isset($tweets->errors)){
26
  }
27
  else
28
  {
29
-
30
  //var_dump($tweets);
31
  $template = $aptf_settings['feed_template'].'.php';
32
  //$this->print_array($tweets);
1
  <?php
2
  $aptf_settings = $this->aptf_settings;
3
  $username = $aptf_settings['twitter_username'];
4
+ $display_name = isset($aptf_settings['twitter_account_name']) ? $aptf_settings['twitter_account_name'] : '' ;
5
  //$tweets = $this->get_tweets($username, $aptf_settings['total_feed']);
6
  $tweets = $this->get_twitter_tweets($username, $aptf_settings['total_feed']);
7
  //$this->print_array($tweets);
26
  }
27
  else
28
  {
 
29
  //var_dump($tweets);
30
  $template = $aptf_settings['feed_template'].'.php';
31
  //$this->print_array($tweets);
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.4
7
- Stable tag: 1.4.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -107,6 +107,10 @@ Once you install the plugin , you can check some general documentation about how
107
 
108
 
109
  == Changelog ==
 
 
 
 
110
  = 1.4.1 =
111
  * Added cache disabling option
112
 
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.4
7
+ Stable tag: 1.4.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
107
 
108
 
109
  == Changelog ==
110
+ = 1.4.2 =
111
+ * Done the bug fixing for widget.
112
+ * Done the fix in the plugin to work with proxy if configured in wp-config file.
113
+
114
  = 1.4.1 =
115
  * Added cache disabling option
116
 
twitteroauth/twitteroauth.php CHANGED
@@ -203,6 +203,12 @@ class TwitterOAuth {
203
  curl_setopt($ci, CURLOPT_SSL_VERIFYPEER, $this->ssl_verifypeer);
204
  curl_setopt($ci, CURLOPT_HEADERFUNCTION, array($this, 'getHeader'));
205
  curl_setopt($ci, CURLOPT_HEADER, FALSE);
 
 
 
 
 
 
206
 
207
  switch ($method) {
208
  case 'POST':
203
  curl_setopt($ci, CURLOPT_SSL_VERIFYPEER, $this->ssl_verifypeer);
204
  curl_setopt($ci, CURLOPT_HEADERFUNCTION, array($this, 'getHeader'));
205
  curl_setopt($ci, CURLOPT_HEADER, FALSE);
206
+ if (defined('WP_PROXY_HOST')){
207
+ curl_setopt($ci, CURLOPT_PROXY, WP_PROXY_HOST);
208
+ }
209
+ if (defined('WP_PROXY_PORT')){
210
+ curl_setopt($ci, CURLOPT_PROXYPORT, WP_PROXY_PORT);
211
+ }
212
 
213
  switch ($method) {
214
  case 'POST':