Version Description
- enhancement - Made the function that registers and enqueues the scripts filterable, so that developers who want to put all styles for Better Click To Tweet boxes in their theme files are able to do so using this snippet: https://gist.github.com/Benunc/533985231bbfde551d019620f628a921
- two updates in a row with no love for the non developer, but MUCH love for the developer. Trust me, this one is big time for CSS developers to be able to add styles to themes.
- changed some specifics in the FAQ, and the Readme in general. Encouraged people to donate at http://benlikes.us/donate
Download this release
Release Info
Developer | ben.meredith@gmail.com |
Plugin | Better Click To Tweet |
Version | 4.9 |
Comparing to | |
See all releases |
Code changes from version 4.8 to 4.9
- better-click-to-tweet.php +2 -2
- i18n-module.php +1 -1
- readme.txt +11 -4
better-click-to-tweet.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Better Click To Tweet
|
4 |
Description: Add Click to Tweet boxes simply and elegantly to your posts or pages. All the features of a premium plugin, for FREE!
|
5 |
-
Version: 4.
|
6 |
Author: Ben Meredith
|
7 |
Author URI: https://www.wpsteward.com
|
8 |
Plugin URI: https://wordpress.org/plugins/better-click-to-tweet/
|
@@ -226,7 +226,7 @@ function bctt_scripts() {
|
|
226 |
|
227 |
;
|
228 |
|
229 |
-
add_action( 'wp_enqueue_scripts', 'bctt_scripts' );
|
230 |
|
231 |
/*
|
232 |
* Delete options and shortcode on uninstall
|
2 |
/*
|
3 |
Plugin Name: Better Click To Tweet
|
4 |
Description: Add Click to Tweet boxes simply and elegantly to your posts or pages. All the features of a premium plugin, for FREE!
|
5 |
+
Version: 4.9
|
6 |
Author: Ben Meredith
|
7 |
Author URI: https://www.wpsteward.com
|
8 |
Plugin URI: https://wordpress.org/plugins/better-click-to-tweet/
|
226 |
|
227 |
;
|
228 |
|
229 |
+
add_action( 'wp_enqueue_scripts', apply_filters( 'bctt_script_change', 'bctt_scripts' ) );
|
230 |
|
231 |
/*
|
232 |
* Delete options and shortcode on uninstall
|
i18n-module.php
CHANGED
@@ -195,7 +195,7 @@ class yoast_i18n {
|
|
195 |
echo '<a href="https://translate.wordpress.org/projects/wp-plugins/better-click-to-tweet/"><img style="float: right;margin: 15px 5px 5px 5px;padding: 0 1em;width: 200px;" src="' . $this->glotpress_logo . '" alt="' . $this->glotpress_name . '"/></a>';
|
196 |
}
|
197 |
echo '<h2>' . sprintf( __( 'Translation of %s', 'better-click-to-tweet' ), $this->plugin_name ) . '</h2>';
|
198 |
-
|
199 |
echo '<p>' . $message . '</p>';
|
200 |
echo '<p><a href="https://translate.wordpress.org/projects/wp-plugins/better-click-to-tweet/">' . __( 'Register now »', 'better-click-to-tweet' ) . '</a></p>';
|
201 |
echo '</div>';
|
195 |
echo '<a href="https://translate.wordpress.org/projects/wp-plugins/better-click-to-tweet/"><img style="float: right;margin: 15px 5px 5px 5px;padding: 0 1em;width: 200px;" src="' . $this->glotpress_logo . '" alt="' . $this->glotpress_name . '"/></a>';
|
196 |
}
|
197 |
echo '<h2>' . sprintf( __( 'Translation of %s', 'better-click-to-tweet' ), $this->plugin_name ) . '</h2>';
|
198 |
+
|
199 |
echo '<p>' . $message . '</p>';
|
200 |
echo '<p><a href="https://translate.wordpress.org/projects/wp-plugins/better-click-to-tweet/">' . __( 'Register now »', 'better-click-to-tweet' ) . '</a></p>';
|
201 |
echo '</div>';
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.wpsteward.com/donations/plugin-support/
|
|
4 |
Tags: click to tweet, twitter, tweet,
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.6
|
7 |
-
Stable tag: 4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -82,17 +82,19 @@ I've also written a tutorial at http://benlikes.us/79 for how to set up the shor
|
|
82 |
Yes! Because I want the majority of users (who aren't as concerned with options like nofollow links and getting rid of the URL in the tweet) to be happy, most options are hidden. I've written a tutorial for using those advanced options over at http://benlikes.us/7r
|
83 |
|
84 |
= What do I do if it's not working right? =
|
85 |
-
I am active in [the support forums](https://wordpress.org/support/plugin/better-click-to-tweet "
|
86 |
|
87 |
= What are the differences between this plugin and Click To Tweet by Todaymade? =
|
88 |
I originally was planning on contacting Justin at Todaymade to suggest some improvements to the code on his plugin, and in the midst of that, his plugin was unexpectedly pulled from the official repository, for having a (frowned upon) "Powered By" link. So, I set about fully overhauling the plugin.
|
89 |
|
90 |
Since that time Justin and the team over at Todaymade have rereleased a version of their plugin without the "Powered By" link. His plugin (which was originally released before the advent of the shortcode API) still doesn't use it, and for that reason is less secure than mine. For him to change to support the shortcode API is a more complicated issue, as he'll need to still provide support for how his plugin currently handles the pseudo-shortcode system, or risk breaking every current user's website.
|
91 |
|
92 |
-
I've pushed out
|
93 |
|
94 |
= How can I help? =
|
95 |
-
|
|
|
|
|
96 |
|
97 |
== Screenshots ==
|
98 |
|
@@ -101,6 +103,11 @@ I want to maximize the usefulness of this plugin by translating it into multiple
|
|
101 |
|
102 |
== Changelog ==
|
103 |
|
|
|
|
|
|
|
|
|
|
|
104 |
= 4.8 =
|
105 |
* made span classes filterable, so that other developers don't hate me when they try to extend the plugin.
|
106 |
* I know that first point doesn't sound like much, but it's huge for developer geeks. You're just gonna have to trust me.
|
4 |
Tags: click to tweet, twitter, tweet,
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.6
|
7 |
+
Stable tag: 4.9
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
82 |
Yes! Because I want the majority of users (who aren't as concerned with options like nofollow links and getting rid of the URL in the tweet) to be happy, most options are hidden. I've written a tutorial for using those advanced options over at http://benlikes.us/7r
|
83 |
|
84 |
= What do I do if it's not working right? =
|
85 |
+
I am active in [the support forums](https://wordpress.org/support/plugin/better-click-to-tweet "BCTT Support"), and in patching the plugin. Start a thread there, and I will gladly help you out. Most of the time you can expect a day or two before a response. I'm in the eastern US, and I like playing with my kids at night, so you might not hear back immediately. Don't panic.
|
86 |
|
87 |
= What are the differences between this plugin and Click To Tweet by Todaymade? =
|
88 |
I originally was planning on contacting Justin at Todaymade to suggest some improvements to the code on his plugin, and in the midst of that, his plugin was unexpectedly pulled from the official repository, for having a (frowned upon) "Powered By" link. So, I set about fully overhauling the plugin.
|
89 |
|
90 |
Since that time Justin and the team over at Todaymade have rereleased a version of their plugin without the "Powered By" link. His plugin (which was originally released before the advent of the shortcode API) still doesn't use it, and for that reason is less secure than mine. For him to change to support the shortcode API is a more complicated issue, as he'll need to still provide support for how his plugin currently handles the pseudo-shortcode system, or risk breaking every current user's website.
|
91 |
|
92 |
+
I've pushed out many releases with bug fixes, improvements, and additional functionality, while the other plugin remains unchanged. There's no way in which my plugin doesn't live up to it's name.
|
93 |
|
94 |
= How can I help? =
|
95 |
+
Translations: https://translate.wordpress.org/projects/wp-plugins/better-click-to-tweet
|
96 |
+
Pull Requests: https://github.com/Benunc/better-click-to-tweet
|
97 |
+
Donations: http://benlikes.us/donate
|
98 |
|
99 |
== Screenshots ==
|
100 |
|
103 |
|
104 |
== Changelog ==
|
105 |
|
106 |
+
= 4.9 =
|
107 |
+
* enhancement - Made the function that registers and enqueues the scripts filterable, so that developers who want to put all styles for Better Click To Tweet boxes in their theme files are able to do so using this snippet: https://gist.github.com/Benunc/533985231bbfde551d019620f628a921
|
108 |
+
* two updates in a row with no love for the non developer, but MUCH love for the developer. Trust me, this one is big time for CSS developers to be able to add styles to themes.
|
109 |
+
* changed some specifics in the FAQ, and the Readme in general. Encouraged people to donate at http://benlikes.us/donate
|
110 |
+
|
111 |
= 4.8 =
|
112 |
* made span classes filterable, so that other developers don't hate me when they try to extend the plugin.
|
113 |
* I know that first point doesn't sound like much, but it's huge for developer geeks. You're just gonna have to trust me.
|