Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion includes/add-embeds.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ function ce_get_file( $filein ) {

} else {

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

}

Expand Down
13 changes: 10 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Contributors: dartiss
Donate link: https://artiss.blog/donate
Tags: code, embed, html, css, javascript
Requires at least: 4.6
Tested up to: 6.6
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 2.5
Stable tag: 2.5.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

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

= Is this GDPR compliant? =

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.
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.

= Do you support this plugin on forks of WordPress? =

No. It was developed for WordPress and so forks remain unsupported. I have no intention of developing and testing this on any other version.

== Screenshots ==

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

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

= 2.5.1 =
* Enhancement: Changed `wp_remote_get` to `wp_safe_remote_get` to improve security

= 2.5 =
* 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.
* Bug: Fixed a long time bug that could cause an infinite loop to occur in rare situations
Expand Down
4 changes: 2 additions & 2 deletions simple-code-embed.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Plugin Name: Code Embed
* Plugin URI: https://wordpress.org/plugins/simple-embed-code/
* Description: Code Embed provides a very easy and efficient way to embed code (JavaScript and HTML) in your posts and pages.
* Version: 2.5
* Version: 2.5.1
* Requires at least: 4.6
* Requires PHP: 7.4
* Author: David Artiss
Expand All @@ -26,7 +26,7 @@
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/

define( 'CODE_EMBED_VERSION', '2.5' );
define( 'CODE_EMBED_VERSION', '2.5.1' );

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

Expand Down