Version Description
- Bug fix: Failed to account for a URL value that could be false in template parsing.
Download this release
Release Info
Developer | joedolson |
Plugin | WP to Twitter |
Version | 3.4.3 |
Comparing to | |
See all releases |
Code changes from version 3.4.2 to 3.4.3
- readme.txt +5 -1
- wp-to-twitter.php +2 -2
- wpt-truncate.php +1 -1
readme.txt
CHANGED
@@ -7,7 +7,7 @@ Tested up to: 5.2
|
|
7 |
Requires PHP: 5.3
|
8 |
License: GPLv2 or later
|
9 |
Text Domain: wp-to-twitter
|
10 |
-
Stable tag: 3.4.
|
11 |
|
12 |
Posts a Twitter update when you update your WordPress blog or add a link, with your chosen URL shortening service.
|
13 |
|
@@ -63,6 +63,10 @@ Check out my <a href="https://github.com/joedolson/plugin-extensions/tree/master
|
|
63 |
|
64 |
== Changelog ==
|
65 |
|
|
|
|
|
|
|
|
|
66 |
= 3.4.2 =
|
67 |
|
68 |
* Bug fix: don't parse Username settings if user is connected to Twitter (Pro)
|
7 |
Requires PHP: 5.3
|
8 |
License: GPLv2 or later
|
9 |
Text Domain: wp-to-twitter
|
10 |
+
Stable tag: 3.4.3
|
11 |
|
12 |
Posts a Twitter update when you update your WordPress blog or add a link, with your chosen URL shortening service.
|
13 |
|
63 |
|
64 |
== Changelog ==
|
65 |
|
66 |
+
= 3.4.3 =
|
67 |
+
|
68 |
+
* Bug fix: Failed to account for a URL value that could be false in template parsing.
|
69 |
+
|
70 |
= 3.4.2 =
|
71 |
|
72 |
* Bug fix: don't parse Username settings if user is connected to Twitter (Pro)
|
wp-to-twitter.php
CHANGED
@@ -17,7 +17,7 @@
|
|
17 |
* License: GPL-2.0+
|
18 |
* License URI: http://www.gnu.org/license/gpl-2.0.txt
|
19 |
* Domain Path: lang
|
20 |
-
* Version: 3.4.
|
21 |
*/
|
22 |
|
23 |
/*
|
@@ -57,7 +57,7 @@ require_once( plugin_dir_path( __FILE__ ) . 'wpt-widget.php' );
|
|
57 |
require_once( plugin_dir_path( __FILE__ ) . 'wpt-rate-limiting.php' );
|
58 |
|
59 |
global $wpt_version;
|
60 |
-
$wpt_version = '3.4.
|
61 |
|
62 |
add_action( 'init', 'wpt_load_textdomain' );
|
63 |
/**
|
17 |
* License: GPL-2.0+
|
18 |
* License URI: http://www.gnu.org/license/gpl-2.0.txt
|
19 |
* Domain Path: lang
|
20 |
+
* Version: 3.4.3
|
21 |
*/
|
22 |
|
23 |
/*
|
57 |
require_once( plugin_dir_path( __FILE__ ) . 'wpt-rate-limiting.php' );
|
58 |
|
59 |
global $wpt_version;
|
60 |
+
$wpt_version = '3.4.3';
|
61 |
|
62 |
add_action( 'init', 'wpt_load_textdomain' );
|
63 |
/**
|
wpt-truncate.php
CHANGED
@@ -351,7 +351,7 @@ function wpt_make_tag( $value ) {
|
|
351 |
* @return array of values.
|
352 |
*/
|
353 |
function wpt_create_values( $post, $post_ID, $ref ) {
|
354 |
-
$shrink = ( '' !== $post['shortUrl'] ) ? $post['shortUrl'] : apply_filters( 'wptt_shorten_link', $post['postLink'], $post['postTitle'], $post_ID, false );
|
355 |
// generate template variable values.
|
356 |
$auth = $post['authId'];
|
357 |
$title = trim( apply_filters( 'wpt_status', $post['postTitle'], $post_ID, 'title' ) );
|
351 |
* @return array of values.
|
352 |
*/
|
353 |
function wpt_create_values( $post, $post_ID, $ref ) {
|
354 |
+
$shrink = ( '' !== $post['shortUrl'] && false !== $post['shortUrl'] ) ? $post['shortUrl'] : apply_filters( 'wptt_shorten_link', $post['postLink'], $post['postTitle'], $post_ID, false );
|
355 |
// generate template variable values.
|
356 |
$auth = $post['authId'];
|
357 |
$title = trim( apply_filters( 'wpt_status', $post['postTitle'], $post_ID, 'title' ) );
|