diff --git a/assets/banner-1544x500.png b/assets/Archive/banner-1544x500.png similarity index 100% rename from assets/banner-1544x500.png rename to assets/Archive/banner-1544x500.png diff --git a/assets/banner-772x250.png b/assets/Archive/banner-772x250.png similarity index 100% rename from assets/banner-772x250.png rename to assets/Archive/banner-772x250.png diff --git a/assets/Archive/icon-128x128.png b/assets/Archive/icon-128x128.png new file mode 100644 index 0000000..3c4ba88 Binary files /dev/null and b/assets/Archive/icon-128x128.png differ diff --git a/assets/Archive/icon-256x256.png b/assets/Archive/icon-256x256.png new file mode 100644 index 0000000..73fd3c4 Binary files /dev/null and b/assets/Archive/icon-256x256.png differ diff --git a/assets/icon-128x128.png b/assets/icon-128x128.png index 3c4ba88..ea8b278 100644 Binary files a/assets/icon-128x128.png and b/assets/icon-128x128.png differ diff --git a/assets/icon-256x256.png b/assets/icon-256x256.png index 73fd3c4..07e8a81 100644 Binary files a/assets/icon-256x256.png and b/assets/icon-256x256.png differ diff --git a/readme.txt b/readme.txt index 821c22b..c72004d 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: dartiss Tags: code, embed, html, javascript, script Requires at least: 4.6 -Tested up to: 4.9.6 +Tested up to: 5.2.2 Requires PHP: 5.3 Stable tag: 2.3.2 License: GPLv2 or later @@ -10,7 +10,9 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html Code Embed provides a very easy and efficient way to embed code (JavaScript and HTML) in your posts and pages. -== Description == +== Description == + +**Note for users of WordPress 5.0 and above: please see the FAQ for details on using this plugin with Gutenberg** Code Embed allows you to embed code (JavaScript and HTML - it can't be used for server-side code, such as PHP) in a post, without the content being changed by the editor. This is incredibly useful for embedding third-party scripts, etc. The plugin is used by many large sites, including Mozilla. @@ -37,6 +39,8 @@ Technical specification... Please visit the [Github page](https://github.com/dartiss/code-embed "Github") for the latest code development, planned enhancements and known issues. +Icons made by [Freepik](https://www.flaticon.com/authors/freepik "Freepik") from [www.flaticon.co](https://www.flaticon.com/ "Flaticon") is licensed by [CC 3.0 BY](http://creativecommons.org/licenses/by/3.0 "Creative Commons BY 3.0"). + == Getting Started == Here's how easy it is to use… @@ -148,7 +152,13 @@ Code Embed can be found and installed via the Plugin menu within WordPress admin Voila! It's ready to go. -== Frequently Asked Questions == +== Frequently Asked Questions == + +== Can I use this plugin with the new editor (aka Gutenberg) / WordPress 5.0 and above? == + +The new editor (Gutenberg) removes the custom fields meta box and, as a result, you are unable to add or edit existing code embeds. However, the plugin will continue to work, in all other ways. + +However, a rather smart plugin named [Custom Fields for Gutenberg](https://wordpress.org/plugins/custom-fields-gutenberg/) will add this functionality back in - with that active, you can happily continue to use this plugin, even with WordPress 5.0 or later. = My code doesn't work = @@ -166,10 +176,6 @@ If you still can't find it then you may have a theme or plugin that removes this WordPress stores the custom field contents in a MySQL table using the `longtext` format. This can hold over 4 billion characters. -== Does this work with Gutenberg? == - -Right now, no, as the custom fields meta box will not be present. However, a rather smart plugin named [Custom Fields for Gutenberg](https://wordpress.org/plugins/custom-fields-gutenberg/) will add this functionality back in - with that active, you can happily continue to use this plugin. - == 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.