oAuth Twitter Feed for Developers - Version 2.1.1

Version Description

  • Add support for a proxy server, as defined in wp-settings.php (Thanks, josmeer)
Download this release

Release Info

Developer stormuk
Plugin Icon wp plugin oAuth Twitter Feed for Developers
Version 2.1.1
Comparing to
See all releases

Code changes from version 2.1 to 2.1.1

Files changed (3) hide show
  1. README.md +1 -1
  2. oauth/twitteroauth.php +6 -0
  3. readme.txt +6 -3
README.md CHANGED
@@ -60,7 +60,7 @@ Uses Abraham Williams's Twitter OAuth class.
60
  About
61
  =====
62
 
63
- Version: 2.1
64
 
65
  Written by Liam Gladdy of Storm Consultancy - <http://www.stormconsultancy.co.uk>
66
 
60
  About
61
  =====
62
 
63
+ Version: 2.1.1
64
 
65
  Written by Liam Gladdy of Storm Consultancy - <http://www.stormconsultancy.co.uk>
66
 
oauth/twitteroauth.php CHANGED
@@ -207,6 +207,12 @@ class TwitterOAuth {
207
  curl_setopt($ci, CURLOPT_SSL_VERIFYPEER, $this->ssl_verifypeer);
208
  curl_setopt($ci, CURLOPT_HEADERFUNCTION, array($this, 'getHeader'));
209
  curl_setopt($ci, CURLOPT_HEADER, FALSE);
 
 
 
 
 
 
210
 
211
  switch ($method) {
212
  case 'POST':
207
  curl_setopt($ci, CURLOPT_SSL_VERIFYPEER, $this->ssl_verifypeer);
208
  curl_setopt($ci, CURLOPT_HEADERFUNCTION, array($this, 'getHeader'));
209
  curl_setopt($ci, CURLOPT_HEADER, FALSE);
210
+ if (defined('WP_PROXY_HOST')){
211
+ curl_setopt($ci, CURLOPT_PROXY, WP_PROXY_HOST);
212
+ }
213
+ if (defined('WP_PROXY_PORT')){
214
+ curl_setopt($ci, CURLOPT_PROXYPORT, WP_PROXY_PORT);
215
+ }
216
 
217
  switch ($method) {
218
  case 'POST':
readme.txt CHANGED
@@ -4,8 +4,8 @@ Donate link: http://www.stormconsultancy.co.uk/
4
  Tags: twitter, oauth, feed, tweets
5
  Requires at least: 3.4
6
  Tested up to: 3.8
7
- Stable tag: 2.1.0
8
- Version: 2.1.0
9
  License: MIT
10
  License URI: http://opensource.org/licenses/MIT
11
 
@@ -66,7 +66,7 @@ Uses Abraham Williams's Twitter OAuth class.
66
 
67
  == About ==
68
 
69
- Version: 2.1
70
 
71
  Written by Liam Gladdy of Storm Consultancy - <http://www.stormconsultancy.co.uk>
72
 
@@ -100,6 +100,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
100
 
101
  == Changelog ==
102
 
 
 
 
103
  = 2.1 =
104
  * Change default and prefered method of calling to username, then count (For backwards compatibility, both will work)
105
  * Only include OAuth if an OAuthRequest class isn't already defined. This should stop some errors some folks have with other plugins.
4
  Tags: twitter, oauth, feed, tweets
5
  Requires at least: 3.4
6
  Tested up to: 3.8
7
+ Stable tag: 2.1.1
8
+ Version: 2.1.1
9
  License: MIT
10
  License URI: http://opensource.org/licenses/MIT
11
 
66
 
67
  == About ==
68
 
69
+ Version: 2.1.1
70
 
71
  Written by Liam Gladdy of Storm Consultancy - <http://www.stormconsultancy.co.uk>
72
 
100
 
101
  == Changelog ==
102
 
103
+ = 2.1.1 =
104
+ * Add support for a proxy server, as defined in wp-settings.php (Thanks, josmeer)
105
+
106
  = 2.1 =
107
  * Change default and prefered method of calling to username, then count (For backwards compatibility, both will work)
108
  * Only include OAuth if an OAuthRequest class isn't already defined. This should stop some errors some folks have with other plugins.