Code Snippets - Version 2.14.5

Version Description

(10 May 2022) = * Fixed: Incompatibility issue with older versions of PHP.

Download this release

Release Info

Developer bungeshea
Plugin Icon Code Snippets
Version 2.14.5
Comparing to
See all releases

Code changes from version 2.14.4 to 2.14.5

code-snippets.php CHANGED
@@ -9,7 +9,7 @@
9
  * @author Shea Bunge <shea@sheabunge.com>
10
  * @copyright 2012-2021 Shea Bunge
11
  * @license MIT http://opensource.org/licenses/MIT
12
- * @version 2.14.4
13
  * @link https://github.com/sheabunge/code-snippets
14
  */
15
 
@@ -19,7 +19,7 @@ Plugin URI: https://github.com/sheabunge/code-snippets
19
  Description: An easy, clean and simple way to run code snippets on your site. No need to edit to your theme's functions.php file again!
20
  Author: Code Snippets Pro
21
  Author URI: https://codesnippets.pro
22
- Version: 2.14.4
23
  License: MIT
24
  License URI: license.txt
25
  Text Domain: code-snippets
@@ -110,7 +110,7 @@ function code_snippets() {
110
  static $plugin;
111
 
112
  if ( is_null( $plugin ) ) {
113
- $plugin = new Code_Snippets( '2.14.4', __FILE__ );
114
  }
115
 
116
  return $plugin;
9
  * @author Shea Bunge <shea@sheabunge.com>
10
  * @copyright 2012-2021 Shea Bunge
11
  * @license MIT http://opensource.org/licenses/MIT
12
+ * @version 2.14.5
13
  * @link https://github.com/sheabunge/code-snippets
14
  */
15
 
19
  Description: An easy, clean and simple way to run code snippets on your site. No need to edit to your theme's functions.php file again!
20
  Author: Code Snippets Pro
21
  Author URI: https://codesnippets.pro
22
+ Version: 2.14.5
23
  License: MIT
24
  License URI: license.txt
25
  Text Domain: code-snippets
110
  static $plugin;
111
 
112
  if ( is_null( $plugin ) ) {
113
+ $plugin = new Code_Snippets( '2.14.5', __FILE__ );
114
  }
115
 
116
  return $plugin;
languages/code-snippets.pot CHANGED
@@ -6,7 +6,7 @@ msgstr ""
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
9
- "POT-Creation-Date: 2022-05-07 03:04+0000\n"
10
  "Report-Msgid-Bugs-To: https://github.com/sheabunge/code-snippets/issues\n"
11
  "X-Poedit-Basepath: ..\n"
12
  "X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
9
+ "POT-Creation-Date: 2022-05-10 05:02+0000\n"
10
  "Report-Msgid-Bugs-To: https://github.com/sheabunge/code-snippets/issues\n"
11
  "X-Poedit-Basepath: ..\n"
12
  "X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
php/admin-menus/class-manage-menu.php CHANGED
@@ -156,7 +156,7 @@ class Code_Snippets_Manage_Menu extends Code_Snippets_Admin_Menu {
156
  if ( defined( 'CODE_SNIPPETS_SAFE_MODE' ) && CODE_SNIPPETS_SAFE_MODE ) {
157
  echo '<div id="message" class="error fade"><p>';
158
  echo wp_kses_post(
159
- __( '<strong>Warning:</strong> Safe mode is active and snippets will not execute! Remove the <code>CODE_SNIPPETS_SAFE_MODE</code> constant from <code>wp-config.php</code> to turn off safe mode. <a href="https://github.com/sheabunge/code-snippets/wiki/Safe-Mode" target="_blank">Help</a>', 'code-snippets' ),
160
  );
161
  echo '</p></div>';
162
  }
156
  if ( defined( 'CODE_SNIPPETS_SAFE_MODE' ) && CODE_SNIPPETS_SAFE_MODE ) {
157
  echo '<div id="message" class="error fade"><p>';
158
  echo wp_kses_post(
159
+ __( '<strong>Warning:</strong> Safe mode is active and snippets will not execute! Remove the <code>CODE_SNIPPETS_SAFE_MODE</code> constant from <code>wp-config.php</code> to turn off safe mode. <a href="https://github.com/sheabunge/code-snippets/wiki/Safe-Mode" target="_blank">Help</a>', 'code-snippets' )
160
  );
161
  echo '</p></div>';
162
  }
readme.txt CHANGED
@@ -4,8 +4,8 @@ Donate link: https://sheabunge.com/donate
4
  Tags: snippets, functions, code, php, multisite
5
  License: MIT
6
  License URI: license.txt
7
- Stable tag: 2.14.4
8
- Tested up to: 5.9.3
9
 
10
  An easy, clean and simple way to run code snippets on your site.
11
 
@@ -122,6 +122,9 @@ The best way to do this is to fork the [repository on GitHub](https://github.com
122
 
123
  == Changelog ==
124
 
 
 
 
125
  = 2.14.4 (5 May 2022) =
126
  * Fixed: Prevent array key errors when loading the snippet table with unknown order values.
127
 
4
  Tags: snippets, functions, code, php, multisite
5
  License: MIT
6
  License URI: license.txt
7
+ Stable tag: 2.14.5
8
+ Tested up to: 6.0
9
 
10
  An easy, clean and simple way to run code snippets on your site.
11
 
122
 
123
  == Changelog ==
124
 
125
+ = 2.14.5 (10 May 2022) =
126
+ * Fixed: Incompatibility issue with older versions of PHP.
127
+
128
  = 2.14.4 (5 May 2022) =
129
  * Fixed: Prevent array key errors when loading the snippet table with unknown order values.
130