Version Description
- small change to the outputted URL for vc3 compliance. Thanks to @tomazzaman on Github for the fix!
Download this release
Release Info
Developer | ben.meredith@gmail.com |
Plugin | Better Click To Tweet |
Version | 3.4 |
Comparing to | |
See all releases |
Code changes from version 3.3 to 3.4
- better-click-to-tweet.php +4 -4
- readme.txt +8 -2
better-click-to-tweet.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Better Click To Tweet
|
4 |
Description: The only Click To Tweet plugin to add translation support. The only Click To Tweet plugin to take into account your Twitter username's length in truncating long tweets, or to correctly take into account non-Roman characters. Simply put, as Click To Tweet plugins go, this one is, well, BETTER.
|
5 |
-
Version: 3.
|
6 |
Author: Ben Meredith
|
7 |
Author URI: http://benandjacq.com
|
8 |
Plugin URI: https://wordpress.org/plugins/better-click-to-tweet/
|
@@ -98,7 +98,7 @@ function bctt_shortcode( $atts ) {
|
|
98 |
|
99 |
if ( !empty( $handle ) && $via != 'no' ) {
|
100 |
|
101 |
-
$handle_code = "&via=" . $handle . "&related=" . $handle;
|
102 |
|
103 |
} else {
|
104 |
|
@@ -120,11 +120,11 @@ function bctt_shortcode( $atts ) {
|
|
120 |
|
121 |
if ( get_option('bctt-short-url') != false ) {
|
122 |
|
123 |
-
$bcttURL = '&url=' . wp_get_shortlink();
|
124 |
|
125 |
} else {
|
126 |
|
127 |
-
$bcttURL = '&url=' . get_permalink();
|
128 |
|
129 |
}
|
130 |
|
2 |
/*
|
3 |
Plugin Name: Better Click To Tweet
|
4 |
Description: The only Click To Tweet plugin to add translation support. The only Click To Tweet plugin to take into account your Twitter username's length in truncating long tweets, or to correctly take into account non-Roman characters. Simply put, as Click To Tweet plugins go, this one is, well, BETTER.
|
5 |
+
Version: 3.4
|
6 |
Author: Ben Meredith
|
7 |
Author URI: http://benandjacq.com
|
8 |
Plugin URI: https://wordpress.org/plugins/better-click-to-tweet/
|
98 |
|
99 |
if ( !empty( $handle ) && $via != 'no' ) {
|
100 |
|
101 |
+
$handle_code = "&via=" . $handle . "&related=" . $handle;
|
102 |
|
103 |
} else {
|
104 |
|
120 |
|
121 |
if ( get_option('bctt-short-url') != false ) {
|
122 |
|
123 |
+
$bcttURL = '&url=' . wp_get_shortlink();
|
124 |
|
125 |
} else {
|
126 |
|
127 |
+
$bcttURL = '&url=' . get_permalink();
|
128 |
|
129 |
}
|
130 |
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: ben.meredith@gmail.com
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=HDSGWRJYFQQNJ
|
4 |
Tags: click to tweet, twitter, tweet, twitter plugin, Twitter boxes, share, social media, post, posts, plugin, auto post, bitly, bit.ly, yourls, yourls.org
|
5 |
Requires at least: 3.8
|
6 |
-
Tested up to: 4.1
|
7 |
-
Stable tag: 3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -97,6 +97,9 @@ I want to maximize the usefulness of this plugin by translating it into multiple
|
|
97 |
|
98 |
== Changelog ==
|
99 |
|
|
|
|
|
|
|
100 |
= 3.3 =
|
101 |
* fixed a bug that was creating (rare, server-configuration-related) "Fatal Error" notices for `mb_strlen()` and related multibyte functions.
|
102 |
* various code tweaks for readability and compliance with WordPress standards.
|
@@ -152,6 +155,9 @@ I want to maximize the usefulness of this plugin by translating it into multiple
|
|
152 |
|
153 |
== Upgrade Notice ==
|
154 |
|
|
|
|
|
|
|
155 |
= 3.3 =
|
156 |
* fixed a bug for users experiencing Fatal Errors related to multibyte string functions.
|
157 |
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=HDSGWRJYFQQNJ
|
4 |
Tags: click to tweet, twitter, tweet, twitter plugin, Twitter boxes, share, social media, post, posts, plugin, auto post, bitly, bit.ly, yourls, yourls.org
|
5 |
Requires at least: 3.8
|
6 |
+
Tested up to: 4.1.1
|
7 |
+
Stable tag: 3.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
97 |
|
98 |
== Changelog ==
|
99 |
|
100 |
+
= 3.4 =
|
101 |
+
* small change to the outputted URL for vc3 compliance. Thanks to @tomazzaman on Github for the fix!
|
102 |
+
|
103 |
= 3.3 =
|
104 |
* fixed a bug that was creating (rare, server-configuration-related) "Fatal Error" notices for `mb_strlen()` and related multibyte functions.
|
105 |
* various code tweaks for readability and compliance with WordPress standards.
|
155 |
|
156 |
== Upgrade Notice ==
|
157 |
|
158 |
+
= 3.4 =
|
159 |
+
* small change to the outputted URL for vc3 compliance. Thanks to @tomazzaman on Github for the fix!
|
160 |
+
|
161 |
= 3.3 =
|
162 |
* fixed a bug for users experiencing Fatal Errors related to multibyte string functions.
|
163 |
|