Skip to content

Commit 4344981

Browse files
committed
Version 2.5.1
1 parent b1f227d commit 4344981

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

includes/add-embeds.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ function ce_get_file( $filein ) {
261261

262262
} else {
263263

264-
$response = wp_remote_get( $filein, array( 'timeout' => 3 ) ); // @codingStandardsIgnoreLine -- for non-VIP environments
264+
$response = wp_safe_remote_get( $filein, array( 'timeout' => 3 ) ); // @codingStandardsIgnoreLine -- for non-VIP environments
265265

266266
}
267267

readme.txt

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Contributors: dartiss
33
Donate link: https://artiss.blog/donate
44
Tags: code, embed, html, css, javascript
55
Requires at least: 4.6
6-
Tested up to: 6.6
6+
Tested up to: 6.7
77
Requires PHP: 7.4
8-
Stable tag: 2.5
8+
Stable tag: 2.5.1
99
License: GPLv2 or later
1010
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1111

@@ -193,7 +193,11 @@ Yes you can. If you wish to share one set of embed code across multiple posts, t
193193

194194
= Is this GDPR compliant? =
195195

196-
It is, in that it doesn't save any data that could be odds with GDPR compliance (i.e. it's compliant by design). However, if you use this to embed third-party scripts, then those scripts may not be and you will need to speak to the providers for further details.
196+
It is, in that it doesn't save any data that could be odds with GDPR compliance (i.e. it's compliant by design). However, if you use this to embed third-party scripts, then those scripts may not be and you will need to speak to the providers for further details.
197+
198+
= Do you support this plugin on forks of WordPress? =
199+
200+
No. It was developed for WordPress and so forks remain unsupported. I have no intention of developing and testing this on any other version.
197201

198202
== Screenshots ==
199203

@@ -207,6 +211,9 @@ It is, in that it doesn't save any data that could be odds with GDPR compliance
207211

208212
I use semantic versioning, with the first release being 1.0.
209213

214+
= 2.5.1 =
215+
* Enhancement: Changed `wp_remote_get` to `wp_safe_remote_get` to improve security
216+
210217
= 2.5 =
211218
* Enhancement: This release is a revised version of 2.4, with less impact to other plugins and users. See the README for more details, but this undoes the changes in 2.4 and adds in filtering of code embed fields for users without the correct permissions.
212219
* Bug: Fixed a long time bug that could cause an infinite loop to occur in rare situations

simple-code-embed.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Plugin Name: Code Embed
1010
* Plugin URI: https://wordpress.org/plugins/simple-embed-code/
1111
* Description: Code Embed provides a very easy and efficient way to embed code (JavaScript and HTML) in your posts and pages.
12-
* Version: 2.5
12+
* Version: 2.5.1
1313
* Requires at least: 4.6
1414
* Requires PHP: 7.4
1515
* Author: David Artiss
@@ -26,7 +26,7 @@
2626
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2727
*/
2828

29-
define( 'CODE_EMBED_VERSION', '2.5' );
29+
define( 'CODE_EMBED_VERSION', '2.5.1' );
3030

3131
// Define global to hold the plugin base file name.
3232

0 commit comments

Comments
 (0)