Skip to content

Commit 2cf1b6a

Browse files
committed
Update version number and changelog (v2.5.0)
1 parent ad1d045 commit 2cf1b6a

File tree

5 files changed

+17
-6
lines changed

5 files changed

+17
-6
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
### 2.5.0
4+
* Added: Detect parse and fatal errors in code when saving a snippet, and display a user-friendly message
5+
* Fixed: Updated access of some methods in Code_Snippets_List_Table class to match updated WP_List_Table class
6+
37
### 2.4.2
48
* Added query variable to activate safe mode
59
* Fixed settings not saving

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
* __Requires at least:__ [WordPress 3.6](http://wordpress.org/download/) or later
44
* __Tested up to:__ WordPress 4.2.2
5-
* __Stable version:__ [2.4.1](http://downloads.wordpress.org/plugin/code-snippets.latest-stable.zip)
5+
* __Stable version:__ [2.5.0](http://downloads.wordpress.org/plugin/code-snippets.latest-stable.zip)
66
* __License:__ [MIT](license.txt)
77

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

code-snippets.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* contribute to the localization, please see https://github.com/sheabunge/code-snippets
88
*
99
* @package Code_Snippets
10-
* @version 2.4.2
10+
* @version 2.5.0
1111
* @author Shea Bunge <http://bungeshea.com/>
1212
* @copyright Copyright (c) 2012-2015, Shea Bunge
1313
* @link https://github.com/sheabunge/code-snippets
@@ -20,7 +20,7 @@
2020
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!
2121
Author: Shea Bunge
2222
Author URI: http://bungeshea.com
23-
Version: 2.4.2
23+
Version: 2.5.0
2424
License: MIT
2525
License URI: license.txt
2626
Text Domain: code-snippets
@@ -42,7 +42,7 @@
4242
* @since 2.0
4343
* @var string A PHP-standardized version number string
4444
*/
45-
define( 'CODE_SNIPPETS_VERSION', '2.4.2' );
45+
define( 'CODE_SNIPPETS_VERSION', '2.5.0' );
4646

4747
/**
4848
* The full path to the main file of this plugin

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "code-snippets",
3-
"version": "2.4.2",
3+
"version": "2.5.0",
44
"description": "Manage code snippets running on a WordPress-powered site through a graphical interface",
55
"homepage": "http://bungeshea.com/plugins/code-snippets",
66
"main": "Gruntfile.js",

readme.txt

+8-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Donate link: http://bungeshea.com/donate/
44
Tags: code-snippets, snippets, code, php, network, multisite
55
Requires at least: 3.6
66
Tested up to: 4.3.2
7-
Stable tag: 2.4.1
7+
Stable tag: 2.5.0
88
License: MIT
99
License URI: license.txt
1010

@@ -116,6 +116,10 @@ That's fantastic! Fork the [repository on GitHub](http://github.com/sheabunge/co
116116

117117
== Changelog ==
118118

119+
= 2.5.0 =
120+
* Added: Detect parse and fatal errors in code when saving a snippet, and display a user-friendly message
121+
* Fixed: Updated access of some methods in Code_Snippets_List_Table class to match updated WP_List_Table class
122+
119123
= 2.4.2 =
120124
* Added query variable to activate safe mode
121125
* Fixed settings not saving
@@ -375,6 +379,9 @@ __Fixed__
375379

376380
== Upgrade Notice ==
377381

382+
= 2.5.0 =
383+
Now detects errors in snippet code when saving
384+
378385
= 2.4.1 =
379386
Fixed CodeMirror themes not being detected on settings page
380387

0 commit comments

Comments
 (0)