Version Description
Fix issue with mixed content warning on HTTPS pages
Download this release
Release Info
Developer | aaroncampbell |
Plugin | Twitter Widget Pro |
Version | 2.3.8 |
Comparing to | |
See all releases |
Code changes from version 2.3.7 to 2.3.8
- readme.txt +8 -1
- wp-twitter-widget.php +7 -4
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: twitter, widget, feed
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.3.1
|
7 |
-
Stable tag: 2.3.
|
8 |
|
9 |
A widget that properly handles twitter feeds, including parsing @username, #hashtags, and URLs into links.
|
10 |
|
@@ -132,6 +132,9 @@ Aparently the database queries required to display the friends feed was causing
|
|
132 |
|
133 |
== Upgrade Notice ==
|
134 |
|
|
|
|
|
|
|
135 |
= 2.3.7 =
|
136 |
Adds an option to clear update locks, which may fix the updating issue some people are having
|
137 |
|
@@ -158,6 +161,10 @@ Fewer "could not connect to Twitter" messages, new links (reply, retweet, favori
|
|
158 |
|
159 |
== Changelog ==
|
160 |
|
|
|
|
|
|
|
|
|
161 |
= 2.3.7 =
|
162 |
* Add option to clear TLC update locks
|
163 |
|
4 |
Tags: twitter, widget, feed
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.3.1
|
7 |
+
Stable tag: 2.3.8
|
8 |
|
9 |
A widget that properly handles twitter feeds, including parsing @username, #hashtags, and URLs into links.
|
10 |
|
132 |
|
133 |
== Upgrade Notice ==
|
134 |
|
135 |
+
= 2.3.8 =
|
136 |
+
Fix issue with mixed content warning on HTTPS pages
|
137 |
+
|
138 |
= 2.3.7 =
|
139 |
Adds an option to clear update locks, which may fix the updating issue some people are having
|
140 |
|
161 |
|
162 |
== Changelog ==
|
163 |
|
164 |
+
= 2.3.8 =
|
165 |
+
* Pass $tweet to widget_twitter_content filter
|
166 |
+
* Fix issue with mixed content warning on HTTPS pages
|
167 |
+
|
168 |
= 2.3.7 =
|
169 |
* Add option to clear TLC update locks
|
170 |
|
wp-twitter-widget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Twitter Widget Pro
|
4 |
* Plugin URI: http://bluedogwebservices.com/wordpress-plugin/twitter-widget-pro/
|
5 |
* Description: A widget that properly handles twitter feeds, including @username, #hashtag, and link parsing. It can even display profile images for the users. Requires PHP5.
|
6 |
-
* Version: 2.3.
|
7 |
* Author: Aaron D. Campbell
|
8 |
* Author URI: http://bluedogwebservices.com/
|
9 |
* License: GPLv2 or later
|
@@ -30,7 +30,7 @@
|
|
30 |
|
31 |
require_once( 'tlc-transients.php' );
|
32 |
require_once( 'xavisys-plugin-framework.php' );
|
33 |
-
define( 'TWP_VERSION', '2.3.
|
34 |
|
35 |
/**
|
36 |
* WP_Widget_Twitter_Pro is the class that handles the main widget.
|
@@ -577,7 +577,7 @@ class wpTwitterWidget extends XavisysPlugin {
|
|
577 |
foreach ( $tweets as $tweet ) {
|
578 |
// Set our "ago" string which converts the date to "# ___(s) ago"
|
579 |
$tweet->ago = $this->_timeSince( strtotime( $tweet->created_at ), $args['showts'], $args['dateFormat'] );
|
580 |
-
$entryContent = apply_filters( 'widget_twitter_content', $tweet->text );
|
581 |
$widgetContent .= '<li>';
|
582 |
$widgetContent .= "<span class='entry-content'>{$entryContent}</span>";
|
583 |
$widgetContent .= " <span class='entry-meta'>";
|
@@ -666,7 +666,10 @@ class wpTwitterWidget extends XavisysPlugin {
|
|
666 |
$widgetContent .= '</div>' . $args['after_widget'];
|
667 |
|
668 |
if ( 'true' == $args['showintents'] || 'true' == $args['showfollow'] ) {
|
669 |
-
|
|
|
|
|
|
|
670 |
|
671 |
if ( ! function_exists( '_wp_footer_scripts' ) ) {
|
672 |
// This means we can't just enqueue our script (fixes in WP 3.3)
|
3 |
* Plugin Name: Twitter Widget Pro
|
4 |
* Plugin URI: http://bluedogwebservices.com/wordpress-plugin/twitter-widget-pro/
|
5 |
* Description: A widget that properly handles twitter feeds, including @username, #hashtag, and link parsing. It can even display profile images for the users. Requires PHP5.
|
6 |
+
* Version: 2.3.8
|
7 |
* Author: Aaron D. Campbell
|
8 |
* Author URI: http://bluedogwebservices.com/
|
9 |
* License: GPLv2 or later
|
30 |
|
31 |
require_once( 'tlc-transients.php' );
|
32 |
require_once( 'xavisys-plugin-framework.php' );
|
33 |
+
define( 'TWP_VERSION', '2.3.8' );
|
34 |
|
35 |
/**
|
36 |
* WP_Widget_Twitter_Pro is the class that handles the main widget.
|
577 |
foreach ( $tweets as $tweet ) {
|
578 |
// Set our "ago" string which converts the date to "# ___(s) ago"
|
579 |
$tweet->ago = $this->_timeSince( strtotime( $tweet->created_at ), $args['showts'], $args['dateFormat'] );
|
580 |
+
$entryContent = apply_filters( 'widget_twitter_content', $tweet->text, $tweet );
|
581 |
$widgetContent .= '<li>';
|
582 |
$widgetContent .= "<span class='entry-content'>{$entryContent}</span>";
|
583 |
$widgetContent .= " <span class='entry-meta'>";
|
666 |
$widgetContent .= '</div>' . $args['after_widget'];
|
667 |
|
668 |
if ( 'true' == $args['showintents'] || 'true' == $args['showfollow'] ) {
|
669 |
+
$script = 'http://platform.twitter.com/widgets.js';
|
670 |
+
if ( is_ssl() )
|
671 |
+
$script = str_replace( 'http://', 'https://', $script );
|
672 |
+
wp_enqueue_script( 'twitter-widgets', $script, array(), '1.0.0', true );
|
673 |
|
674 |
if ( ! function_exists( '_wp_footer_scripts' ) ) {
|
675 |
// This means we can't just enqueue our script (fixes in WP 3.3)
|