diff --git a/CHANGELOG.md b/CHANGELOG.md index da38e702..df19daea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 2.10.1 (10 Feb 2018) +* Fixed: Prevent errors when trying to export no snippets +* Fixed: Use wp_json_encode() to encode export data +* Fixed: Check both the file extension and MIME type of uploaded import files + ## 2.10.0 (18 Jan 2018) * Improved: Added support for importing from multiple export files at once * Improved: Unbold the titles of inactive snippets for greater visual distinction diff --git a/README.md b/README.md index 7fd9aa54..2589bd33 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # Code Snippets [![Build Status](https://travis-ci.org/sheabunge/code-snippets.png?branch=master)](https://travis-ci.org/sheabunge/code-snippets) * __Requires at least:__ [WordPress 3.6](https://wordpress.org/download/) or later -* __Tested up to:__ WordPress 4.9.2 -* __Stable version:__ [2.10.0](https://downloads.wordpress.org/plugin/code-snippets.latest-stable.zip) +* __Tested up to:__ WordPress 4.9.4 +* __Stable version:__ [2.10.1](https://downloads.wordpress.org/plugin/code-snippets.latest-stable.zip) * __License:__ [MIT](license.txt) Code Snippets is an easy, clean and simple way to add code snippets to your site. It removes the need to add custom snippets to your theme theme's `functions.php` file. diff --git a/code-snippets.php b/code-snippets.php index 7a350887..30af3906 100644 --- a/code-snippets.php +++ b/code-snippets.php @@ -10,7 +10,7 @@ * @author Shea Bunge * @copyright 2012-2018 Shea Bunge * @license MIT http://opensource.org/licenses/MIT - * @version 2.10.0 + * @version 2.10.1 * @link https://github.com/sheabunge/code-snippets */ @@ -20,7 +20,7 @@ Description: An easy, clean and simple way to add code snippets to your site. No need to edit to your theme's functions.php file again! Author: Shea Bunge Author URI: https://bungeshea.com -Version: 2.10.0 +Version: 2.10.1 License: MIT License URI: license.txt Text Domain: code-snippets @@ -42,7 +42,7 @@ * @since 2.0 * @var string A PHP-standardized version number string */ -define( 'CODE_SNIPPETS_VERSION', '2.10.0' ); +define( 'CODE_SNIPPETS_VERSION', '2.10.1' ); /** * The full path to the main file of this plugin diff --git a/readme.txt b/readme.txt index ca3b0dc3..bc30e654 100644 --- a/readme.txt +++ b/readme.txt @@ -3,8 +3,8 @@ Contributors: bungeshea Donate link: https://bungeshea.com/donate/ Tags: code-snippets, snippets, code, php, network, multisite Requires at least: 3.6 -Tested up to: 4.9.2 -Stable tag: 2.10.0 +Tested up to: 4.9.4 +Stable tag: 2.10.1 License: MIT License URI: license.txt @@ -111,6 +111,11 @@ That's fantastic! Fork the [repository on GitHub](http://github.com/sheabunge/co == Changelog == += 2.10.1 (10 Feb 2018) = +* Fixed: Prevent errors when trying to export no snippets +* Fixed: Use wp_json_encode() to encode export data +* Fixed: Check both the file extension and MIME type of uploaded import files + = 2.10.0 (18 Jan 2018) = * Improved: Added support for importing from multiple export files at once * Improved: Unbold the titles of inactive snippets for greater visual distinction