Custom Twitter Feeds - Version 1.2.10

Version Description

  • Tweak: Updated the Twitter login button URL
  • Fix: Avatar would appear to the right of Tweets or not at all in some versions of Firefox
  • Fix: Minor bug fixes
Download this release

Release Info

Developer smashballoon
Plugin Icon 128x128 Custom Twitter Feeds
Version 1.2.10
Comparing to
See all releases

Code changes from version 1.2.9 to 1.2.10

README.txt CHANGED
@@ -5,7 +5,7 @@ Support Website: http://smashballoon/custom-twitter-feeds/
5
  Tags: Twitter, Twitter feed, Tweets, Twitter widget, Custom Twitter Feed
6
  Requires at least: 3.0
7
  Tested up to: 4.9
8
- Stable tag: 1.2.9
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -237,8 +237,13 @@ Not many developers love providing support, but we're a rare breed here at Smash
237
  7. To display a feed just copy and paste the shortcode into a widget or page
238
 
239
  == Changelog ==
 
 
 
 
 
240
  = 1.2.9 =
241
- * Fix: Fixed a PHP warning which appeared under rare circumstances
242
  * Fix: AJAX load more not working when AJAX themes being used
243
 
244
  = 1.2.8 =
5
  Tags: Twitter, Twitter feed, Tweets, Twitter widget, Custom Twitter Feed
6
  Requires at least: 3.0
7
  Tested up to: 4.9
8
+ Stable tag: 1.2.10
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
237
  7. To display a feed just copy and paste the shortcode into a widget or page
238
 
239
  == Changelog ==
240
+ = 1.2.10 =
241
+ * Tweak: Updated the Twitter login button URL
242
+ * Fix: Avatar would appear to the right of Tweets or not at all in some versions of Firefox
243
+ * Fix: Minor bug fixes
244
+
245
  = 1.2.9 =
246
+ * Fix: Fixed PHP warning caused by trying to count a boolean in certain circumstances
247
  * Fix: AJAX load more not working when AJAX themes being used
248
 
249
  = 1.2.8 =
css/ctf-styles.css CHANGED
@@ -58,6 +58,7 @@
58
  border-radius: 40px;
59
  }
60
  #ctf .ctf-author-avatar {
 
61
  margin: 3px 6px 0 -53px;
62
  }
63
  #ctf .ctf-author-name {
58
  border-radius: 40px;
59
  }
60
  #ctf .ctf-author-avatar {
61
+ clear: both;
62
  margin: 3px 6px 0 -53px;
63
  }
64
  #ctf .ctf-author-name {
custom-twitter-feed.php CHANGED
@@ -3,13 +3,13 @@
3
  Plugin Name: Custom Twitter Feeds
4
  Plugin URI: http://smashballoon.com/custom-twitter-feeds
5
  Description: Customizable Twitter feeds for your website
6
- Version: 1.2.9
7
  Author: Smash Balloon
8
  Author URI: http://smashballoon.com/
9
  Text Domain: custom-twitter-feeds
10
  */
11
  /*
12
- Copyright 2017 Smash Balloon LLC (email : hey@smashballoon.com)
13
  This program is free software; you can redistribute it and/or modify
14
  it under the terms of the GNU General Public License as published by
15
  the Free Software Foundation; either version 2 of the License, or
@@ -24,10 +24,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24
  */
25
 
26
  define( 'CTF_URL', plugin_dir_path( __FILE__ ) );
27
- define( 'CTF_VERSION', '1.2.9' );
28
  define( 'CTF_TITLE', 'Custom Twitter Feeds' );
29
  define( 'CTF_JS_URL', plugins_url( '/js/ctf-scripts.js?ver=' . CTF_VERSION , __FILE__ ) );
30
- define( 'OAUTH_PROCESSOR_URL', 'https://smashballoon.com/ctf-at-retriever/?return_uri=' );
31
 
32
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
33
 
3
  Plugin Name: Custom Twitter Feeds
4
  Plugin URI: http://smashballoon.com/custom-twitter-feeds
5
  Description: Customizable Twitter feeds for your website
6
+ Version: 1.2.10
7
  Author: Smash Balloon
8
  Author URI: http://smashballoon.com/
9
  Text Domain: custom-twitter-feeds
10
  */
11
  /*
12
+ Copyright 2018 Smash Balloon LLC (email : hey@smashballoon.com)
13
  This program is free software; you can redistribute it and/or modify
14
  it under the terms of the GNU General Public License as published by
15
  the Free Software Foundation; either version 2 of the License, or
24
  */
25
 
26
  define( 'CTF_URL', plugin_dir_path( __FILE__ ) );
27
+ define( 'CTF_VERSION', '1.2.10' );
28
  define( 'CTF_TITLE', 'Custom Twitter Feeds' );
29
  define( 'CTF_JS_URL', plugins_url( '/js/ctf-scripts.js?ver=' . CTF_VERSION , __FILE__ ) );
30
+ define( 'OAUTH_PROCESSOR_URL', 'https://api.smashballoon.com/twitter-login.php?return_uri=' );
31
 
32
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
33
 
inc/CtfFeed.php CHANGED
@@ -1134,7 +1134,7 @@ class CtfFeed
1134
  }
1135
 
1136
  if ( $feed_options['creditctf'] ) {
1137
- $ctf_feed_html .= '<div class="ctf-credit-link"><a href="https://smashballoon.com/custom-twitter-feeds" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i>Custom Twitter Feeds Plugin</a></div>';
1138
  }
1139
 
1140
  $ctf_feed_html .= '</div>'; // closing div tag for #ctf
@@ -1181,7 +1181,7 @@ class CtfFeed
1181
  $ctf_header_html .= '<span class="ctf-verified"><i class="fa fa-check-circle" aria-hidden="true"></i></span>';
1182
  }
1183
 
1184
- $ctf_header_html .= '<span class="ctf-header-follow"><i class="fa fa-twitter" aria-hidden="true"></i>Follow</span>';
1185
  $ctf_header_html .= '</p>';
1186
 
1187
  if ( $feed_options['showbio'] && !empty($tweet_set[0]['user']['description']) ) {
@@ -1190,7 +1190,7 @@ class CtfFeed
1190
 
1191
  $ctf_header_html .= '</div>';
1192
  $ctf_header_html .= '<div class="ctf-header-img">';
1193
- $ctf_header_html .= '<div class="ctf-header-img-hover"><i class="fa fa-twitter" aria-hidden="true"></i></div>';
1194
  $ctf_header_html .= '<img src="' . $tweet_set[0]['user']['profile_image_url_https'] . '" alt="' . $tweet_set[0]['user']['name'] . '" width="48" height="48">';
1195
  $ctf_header_html .= '</div>';
1196
  $ctf_header_html .= '</a>';
@@ -1212,7 +1212,7 @@ class CtfFeed
1212
  $ctf_header_html .= '</div>';
1213
  $ctf_header_html .= '<div class="ctf-header-img">';
1214
  $ctf_header_html .= '<div class="ctf-header-generic-icon">';
1215
- $ctf_header_html .= '<i class="fa fa-twitter" aria-hidden="true"></i>';
1216
  $ctf_header_html .= '</div>';
1217
  $ctf_header_html .= '</div>';
1218
  $ctf_header_html .= '</a>';
1134
  }
1135
 
1136
  if ( $feed_options['creditctf'] ) {
1137
+ $ctf_feed_html .= '<div class="ctf-credit-link"><a href="https://smashballoon.com/custom-twitter-feeds" target="_blank"><i class="fa fab fa-twitter" aria-hidden="true"></i>Custom Twitter Feeds Plugin</a></div>';
1138
  }
1139
 
1140
  $ctf_feed_html .= '</div>'; // closing div tag for #ctf
1181
  $ctf_header_html .= '<span class="ctf-verified"><i class="fa fa-check-circle" aria-hidden="true"></i></span>';
1182
  }
1183
 
1184
+ $ctf_header_html .= '<span class="ctf-header-follow"><i class="fa fab fa-twitter " aria-hidden="true"></i>Follow</span>';
1185
  $ctf_header_html .= '</p>';
1186
 
1187
  if ( $feed_options['showbio'] && !empty($tweet_set[0]['user']['description']) ) {
1190
 
1191
  $ctf_header_html .= '</div>';
1192
  $ctf_header_html .= '<div class="ctf-header-img">';
1193
+ $ctf_header_html .= '<div class="ctf-header-img-hover"><i class="fa fab fa-twitter" aria-hidden="true"></i></div>';
1194
  $ctf_header_html .= '<img src="' . $tweet_set[0]['user']['profile_image_url_https'] . '" alt="' . $tweet_set[0]['user']['name'] . '" width="48" height="48">';
1195
  $ctf_header_html .= '</div>';
1196
  $ctf_header_html .= '</a>';
1212
  $ctf_header_html .= '</div>';
1213
  $ctf_header_html .= '<div class="ctf-header-img">';
1214
  $ctf_header_html .= '<div class="ctf-header-generic-icon">';
1215
+ $ctf_header_html .= '<i class="fa fab fa-twitter" aria-hidden="true"></i>';
1216
  $ctf_header_html .= '</div>';
1217
  $ctf_header_html .= '</div>';
1218
  $ctf_header_html .= '</a>';