Skip to content

Commit 60eb195

Browse files
committed
Update plugin version
1 parent 505224b commit 60eb195

File tree

4 files changed

+25
-8
lines changed

4 files changed

+25
-8
lines changed

Diff for: 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.3.0](http://downloads.wordpress.org/plugin/code-snippets.latest-stable.zip)
5+
* __Stable version:__ [2.4.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.

Diff for: code-snippets.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -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.3.0
23+
Version: 2.4.0
2424
License: MIT
2525
License URI: license.txt
2626
Text Domain: code-snippets
@@ -34,15 +34,15 @@
3434

3535
/**
3636
* The version number for this release of the plugin.
37-
* This will later be used for upgrades and enqueueing files
37+
* This will later be used for upgrades and enqueuing files
3838
*
3939
* This should be set to the 'Plugin Version' value,
4040
* as defined above in the plugin header
4141
*
4242
* @since 2.0
4343
* @var string A PHP-standardized version number string
4444
*/
45-
define( 'CODE_SNIPPETS_VERSION', '2.3.0' );
45+
define( 'CODE_SNIPPETS_VERSION', '2.4.0' );
4646

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

Diff for: includes/class-snippet.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* A snippet object
55
*
6-
* @since [NEXT_VERSION]
6+
* @since 2.4.0
77
* @package Code_Snippets
88
*
99
* @property int $id The database ID

Diff for: readme.txt

+20-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Contributors: bungeshea
33
Donate link: http://bungeshea.com/donate/
44
Tags: code-snippets, snippets, code, php, network, multisite
55
Requires at least: 3.6
6-
Tested up to: 4.2.2
7-
Stable tag: 2.3.0
6+
Tested up to: 4.3.1
7+
Stable tag: 2.4.0
88
License: MIT
99
License URI: license.txt
1010

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

117117
== Changelog ==
118118

119+
= 2.4.0 =
120+
* Added ability to share network snippets to individual sites on WordPress multisite
121+
* Improved code directory and class structure
122+
* Remove legacy code for pre-3.6 compatibility
123+
* Improved code for printing admin messages
124+
* Updated German translation (Joerg Knoerchen)
125+
* Added `code_snippets/after_execute_snippet` filter
126+
* Added class for individual snippets
127+
* Updated `get_snippets()` function to retrieve individual snippets
128+
* Removed scope statuses and added fixed tags to indicate scope
129+
* Changed admin page headers to use `<h1>` tags instead of `<h2>` tags
130+
* Updated CodeMirror to version 5.6
131+
* Removed snippet settings page from network admin
132+
119133
= 2.3.0 =
120134
* Removed nested functions
121135
* Added icons for admin and front-end snippets to manage table
@@ -347,8 +361,11 @@ __Fixed__
347361

348362
== Upgrade Notice ==
349363

364+
= 2.4.0 =
365+
New snippet sharing feature for multisite networks; new Snippet class
366+
350367
= 2.3.0 =
351-
Numerious fixes and Russian translation update. Props to @signo and @`achumakov.
368+
Numerous fixes and Russian translation update. Props to @signo and @achumakov.
352369

353370
= 2.2.3 =
354371
Fixed error when exporting; snippet scopes can now be imported

0 commit comments

Comments
 (0)