Skip to content

Commit afe8981

Browse files
committed
Update changelog and version number (2.6.0 -> 2.6.1)
1 parent 5654f03 commit afe8981

File tree

6 files changed

+53
-42
lines changed

6 files changed

+53
-42
lines changed

Diff for: CHANGELOG.md

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

3-
### 2.7.0
3+
### 2.6.1
44
* Updated German translation by [Mario Siegmann](http://web-alltag.de/)
5+
* Fixed error catching not working correctly
6+
* Updated error catching to work with snippets including functions and classes
7+
* Updated CodeMirror to version 5.11
8+
* Fixed editor autoresizing
59

610
### 2.6.0
711
* Reconfigured plugin to use classloader and converted a lot of functional code into OOP code

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Code Snippets [![Build Status](https://travis-ci.org/sheabunge/code-snippets.png?branch=master)](https://travis-ci.org/sheabunge/code-snippets)
22

33
* __Requires at least:__ [WordPress 3.6](https://wordpress.org/download/) or later
4-
* __Tested up to:__ WordPress 4.4
5-
* __Stable version:__ [2.6.0](https://downloads.wordpress.org/plugin/code-snippets.latest-stable.zip)
4+
* __Tested up to:__ WordPress 4.4.2
5+
* __Stable version:__ [2.6.1](https://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

+4-4
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.5.1
10+
* @version 2.6.1
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: https://bungeshea.com
23-
Version: 2.6.0
23+
Version: 2.6.1
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.5.1' );
45+
define( 'CODE_SNIPPETS_VERSION', '2.6.1' );
4646

4747
/**
4848
* The full path to the main file of this plugin
@@ -89,7 +89,7 @@ function code_snippets_autoload( $class_name ) {
8989
/**
9090
* Retrieve the instance of the main plugin class
9191
*
92-
* @since [NEXT_VERSION]
92+
* @since 2.6.0
9393
* @return Code_Snippets
9494
*/
9595
function code_snippets() {

Diff for: languages/code-snippets.pot

+32-32
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
#, fuzzy
77
msgid ""
88
msgstr ""
9-
"Project-Id-Version: code-snippets 2.6.0\n"
9+
"Project-Id-Version: code-snippets 2.6.1\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2016-01-29 21:46+1100\n"
11+
"POT-Creation-Date: 2016-02-09 23:26+1100\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -27,108 +27,108 @@ msgstr ""
2727
msgid "Edit Snippet"
2828
msgstr ""
2929

30-
#: php/admin-menus/class-edit-menu.php:28
30+
#: php/admin-menus/class-edit-menu.php:32
3131
msgid "Add New"
3232
msgstr ""
3333

34-
#: php/admin-menus/class-edit-menu.php:29 php/views/edit.php:31
34+
#: php/admin-menus/class-edit-menu.php:33 php/views/edit.php:31
3535
msgid "Add New Snippet"
3636
msgstr ""
3737

38-
#: php/admin-menus/class-edit-menu.php:150
38+
#: php/admin-menus/class-edit-menu.php:178
3939
msgid "Don't Panic"
4040
msgstr ""
4141

42-
#: php/admin-menus/class-edit-menu.php:151
42+
#: php/admin-menus/class-edit-menu.php:179
4343
#, php-format
4444
msgid ""
4545
"The code snippet you are trying to save produced a fatal error on line %d:"
4646
msgstr ""
4747

48-
#: php/admin-menus/class-edit-menu.php:153
48+
#: php/admin-menus/class-edit-menu.php:181
4949
msgid ""
5050
"The previous version of the snippet is unchanged, and the rest of this site "
5151
"should be functioning normally as before."
5252
msgstr ""
5353

54-
#: php/admin-menus/class-edit-menu.php:154
54+
#: php/admin-menus/class-edit-menu.php:182
5555
msgid ""
5656
"Please use the back button in your browser to return to the previous page "
5757
"and try to fix the code error."
5858
msgstr ""
5959

60-
#: php/admin-menus/class-edit-menu.php:155
60+
#: php/admin-menus/class-edit-menu.php:183
6161
msgid ""
6262
"If you prefer, you can close this page and discard the changes you just "
6363
"made. No changes will be made to this site."
6464
msgstr ""
6565

66-
#: php/admin-menus/class-edit-menu.php:280 php/class-list-table.php:324
66+
#: php/admin-menus/class-edit-menu.php:303 php/class-list-table.php:324
6767
msgid "Description"
6868
msgstr ""
6969

70-
#: php/admin-menus/class-edit-menu.php:310 php/class-list-table.php:325
70+
#: php/admin-menus/class-edit-menu.php:333 php/class-list-table.php:325
7171
msgid "Tags"
7272
msgstr ""
7373

74-
#: php/admin-menus/class-edit-menu.php:314
74+
#: php/admin-menus/class-edit-menu.php:337
7575
msgid "Enter a list of tags; separated by commas"
7676
msgstr ""
7777

78-
#: php/admin-menus/class-edit-menu.php:333
78+
#: php/admin-menus/class-edit-menu.php:356
7979
msgid "Run snippet everywhere"
8080
msgstr ""
8181

82-
#: php/admin-menus/class-edit-menu.php:334
82+
#: php/admin-menus/class-edit-menu.php:357
8383
msgid "Only run in administration area"
8484
msgstr ""
8585

86-
#: php/admin-menus/class-edit-menu.php:335
86+
#: php/admin-menus/class-edit-menu.php:358
8787
msgid "Only run on site front-end"
8888
msgstr ""
8989

90-
#: php/admin-menus/class-edit-menu.php:339
90+
#: php/admin-menus/class-edit-menu.php:362
9191
msgid "Scope"
9292
msgstr ""
9393

94-
#: php/admin-menus/class-edit-menu.php:359
94+
#: php/admin-menus/class-edit-menu.php:382
9595
msgid "Sharing"
9696
msgstr ""
9797

98-
#: php/admin-menus/class-edit-menu.php:363
98+
#: php/admin-menus/class-edit-menu.php:386
9999
msgid "Allow this snippet to be activated on individual sites on the network"
100100
msgstr ""
101101

102-
#: php/admin-menus/class-edit-menu.php:423
102+
#: php/admin-menus/class-edit-menu.php:446
103103
#, php-format
104104
msgid "The snippet has been deactivated due to an error on line %d:"
105105
msgstr ""
106106

107-
#: php/admin-menus/class-edit-menu.php:428
107+
#: php/admin-menus/class-edit-menu.php:451
108108
msgid "The snippet has been deactivated due to an error in the code."
109109
msgstr ""
110110

111-
#: php/admin-menus/class-edit-menu.php:435
111+
#: php/admin-menus/class-edit-menu.php:458
112112
msgid "An error occurred when saving the snippet."
113113
msgstr ""
114114

115-
#: php/admin-menus/class-edit-menu.php:440
115+
#: php/admin-menus/class-edit-menu.php:463
116116
msgid "Snippet <strong>added</strong>."
117117
msgstr ""
118118

119-
#: php/admin-menus/class-edit-menu.php:441
119+
#: php/admin-menus/class-edit-menu.php:464
120120
msgid "Snippet <strong>updated</strong>."
121121
msgstr ""
122122

123-
#: php/admin-menus/class-edit-menu.php:442
123+
#: php/admin-menus/class-edit-menu.php:465
124124
msgid "Snippet <strong>added</strong> and <strong>activated</strong>."
125125
msgstr ""
126126

127-
#: php/admin-menus/class-edit-menu.php:443
127+
#: php/admin-menus/class-edit-menu.php:466
128128
msgid "Snippet <strong>updated</strong> and <strong>activated</strong>."
129129
msgstr ""
130130

131-
#: php/admin-menus/class-edit-menu.php:444
131+
#: php/admin-menus/class-edit-menu.php:467
132132
msgid "Snippet <strong>updated</strong> and <strong>deactivated</strong>."
133133
msgstr ""
134134

@@ -207,7 +207,7 @@ msgid "Selected snippets <strong>deleted</strong>."
207207
msgstr ""
208208

209209
#: php/admin-menus/class-settings-menu.php:16
210-
#: php/admin-menus/class-settings-menu.php:36 php/views/edit.php:132
210+
#: php/admin-menus/class-settings-menu.php:36 php/views/edit.php:134
211211
msgid "Settings"
212212
msgstr ""
213213

@@ -493,12 +493,12 @@ msgid "Edit"
493493
msgstr ""
494494

495495
#: php/class-list-table.php:142 php/class-list-table.php:202
496-
#: php/class-list-table.php:371 php/views/edit.php:109
496+
#: php/class-list-table.php:371 php/views/edit.php:111
497497
msgid "Export"
498498
msgstr ""
499499

500500
#: php/class-list-table.php:151 php/class-list-table.php:214
501-
#: php/class-list-table.php:372 php/views/edit.php:121
501+
#: php/class-list-table.php:372 php/views/edit.php:123
502502
msgid "Delete"
503503
msgstr ""
504504

@@ -754,15 +754,15 @@ msgstr ""
754754
msgid "Code"
755755
msgstr ""
756756

757-
#: php/views/edit.php:79 php/views/edit.php:93
757+
#: php/views/edit.php:81 php/views/edit.php:95
758758
msgid "Save Changes and Activate"
759759
msgstr ""
760760

761-
#: php/views/edit.php:99
761+
#: php/views/edit.php:101
762762
msgid "Save Changes and Deactivate"
763763
msgstr ""
764764

765-
#: php/views/edit.php:116
765+
#: php/views/edit.php:118
766766
msgid ""
767767
"You are about to permanently delete this snippet.\n"
768768
"'Cancel' to stop, 'OK' to delete."

Diff for: package.json

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

Diff for: readme.txt

+9-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Contributors: bungeshea
33
Donate link: https://bungeshea.com/donate/
44
Tags: code-snippets, snippets, code, php, network, multisite
55
Requires at least: 3.6
6-
Tested up to: 4.4
7-
Stable tag: 2.6.0
6+
Tested up to: 4.4.2
7+
Stable tag: 2.6.1
88
License: MIT
99
License URI: license.txt
1010

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

117117
== Changelog ==
118118

119+
= 2.6.1 =
120+
* Updated German translation by [Mario Siegmann](http://web-alltag.de/)
121+
* Fixed error catching not working correctly
122+
* Updated error catching to work with snippets including functions and classes
123+
* Updated CodeMirror to version 5.11
124+
* Fixed editor autoresizing
125+
119126
= 2.6.0 =
120127
* Reconfigured plugin to use classloader and converted a lot of functional code into OOP code
121128
* Updated CodeMirror to version 5.10.0

0 commit comments

Comments
 (0)