Version Description
- fix patch minor security issue. Short version: if an attacker already has admin access to your site (or feeds a vulnerable admin user a specific string) they could execute code remotely on sites with very specific server configurations. But if an attacker already has admin access to your site, there are much easier and effective ways of doing nefarious things. Still, it's good to remove unescaped potential vulnerable inputs. So we did.
- chore tested for compatibility with WordPress 6.0
- chore the number of people using promo codes is too (darn) low. Use promo code CHANGELOG at https://benlikes.us/bcttps
Download this release
Release Info
Developer | ben.meredith@gmail.com |
Plugin | Better Click To Tweet |
Version | 5.10.2 |
Comparing to | |
See all releases |
Code changes from version 5.10.1 to 5.10.2
- better-click-to-tweet.php +3 -3
- includes/views/welcome/_welcome.php +2 -2
- readme.txt +7 -2
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: 5.10.
|
6 |
* Author: Ben Meredith
|
7 |
* Author URI: https://www.betterclicktotweet.com
|
8 |
* Plugin URI: https://wordpress.org/plugins/better-click-to-tweet/
|
@@ -12,7 +12,7 @@
|
|
12 |
|
13 |
defined( 'ABSPATH' ) or die( "No soup for you. You leave now." );
|
14 |
|
15 |
-
define ( 'BCTT_VERSION', '5.10.
|
16 |
|
17 |
include 'i18n-module.php';
|
18 |
include 'bctt-admin.php';
|
@@ -363,4 +363,4 @@ add_action( 'plugins_loaded', function () {
|
|
363 |
if ( function_exists( 'register_block_type' ) ) {
|
364 |
require_once( plugin_dir_path( __FILE__ ) . 'assets/block/init.php' );
|
365 |
}
|
366 |
-
} );
|
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: 5.10.2
|
6 |
* Author: Ben Meredith
|
7 |
* Author URI: https://www.betterclicktotweet.com
|
8 |
* Plugin URI: https://wordpress.org/plugins/better-click-to-tweet/
|
12 |
|
13 |
defined( 'ABSPATH' ) or die( "No soup for you. You leave now." );
|
14 |
|
15 |
+
define ( 'BCTT_VERSION', '5.10.2' );
|
16 |
|
17 |
include 'i18n-module.php';
|
18 |
include 'bctt-admin.php';
|
363 |
if ( function_exists( 'register_block_type' ) ) {
|
364 |
require_once( plugin_dir_path( __FILE__ ) . 'assets/block/init.php' );
|
365 |
}
|
366 |
+
} );
|
includes/views/welcome/_welcome.php
CHANGED
@@ -22,7 +22,7 @@
|
|
22 |
|
23 |
<form
|
24 |
id="bctt-set-handle"
|
25 |
-
action="<?php echo $_SERVER['REQUEST_URI']; ?>"
|
26 |
method="post"
|
27 |
class="text-center flex flex-col flex-no-wrap mt-8">
|
28 |
|
@@ -59,4 +59,4 @@
|
|
59 |
value="<?php _e( 'Next', 'better-click-to-tweet' )?>"
|
60 |
class="rounded py-1 px-2 bg-blue-500 border-2 border-solid border-blue-500 text-white cursor-pointer self-end">
|
61 |
</div>
|
62 |
-
</form>
|
22 |
|
23 |
<form
|
24 |
id="bctt-set-handle"
|
25 |
+
action="<?php echo esc_attr($_SERVER['REQUEST_URI']); ?>"
|
26 |
method="post"
|
27 |
class="text-center flex flex-col flex-no-wrap mt-8">
|
28 |
|
59 |
value="<?php _e( 'Next', 'better-click-to-tweet' )?>"
|
60 |
class="rounded py-1 px-2 bg-blue-500 border-2 border-solid border-blue-500 text-white cursor-pointer self-end">
|
61 |
</div>
|
62 |
+
</form>
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: ben.meredith@gmail.com, wpsteward
|
|
3 |
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:
|
7 |
-
Stable tag: 5.10.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -97,6 +97,11 @@ Donations: http://benlikes.us/donate
|
|
97 |
|
98 |
== Changelog ==
|
99 |
|
|
|
|
|
|
|
|
|
|
|
100 |
= 5.10.1 =
|
101 |
* fix — resolved a bug where Better Click To Tweet was not playing nicely with other plugins that made changes to the title related filters.
|
102 |
* chore — unrelated to the plugin, there's so much pollen in the air in South Carolina. You can see it like a cloud. Use promo code CHANGELOG at https://benlikes.us/bcttps
|
3 |
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: 6.0
|
7 |
+
Stable tag: 5.10.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
97 |
|
98 |
== Changelog ==
|
99 |
|
100 |
+
= 5.10.2 =
|
101 |
+
* fix – patch minor security issue. Short version: if an attacker already has admin access to your site (or feeds a vulnerable admin user a specific string) they could execute code remotely on sites with very specific server configurations. But if an attacker already has admin access to your site, there are much easier and effective ways of doing nefarious things. Still, it's good to remove unescaped potential vulnerable inputs. So we did.
|
102 |
+
* chore – tested for compatibility with WordPress 6.0
|
103 |
+
* chore – the number of people using promo codes is too (darn) low. Use promo code CHANGELOG at https://benlikes.us/bcttps
|
104 |
+
|
105 |
= 5.10.1 =
|
106 |
* fix — resolved a bug where Better Click To Tweet was not playing nicely with other plugins that made changes to the title related filters.
|
107 |
* chore — unrelated to the plugin, there's so much pollen in the air in South Carolina. You can see it like a cloud. Use promo code CHANGELOG at https://benlikes.us/bcttps
|