My Custom Functions - Version 4.51

Version Description

  • Sep 6, 2021 =
  • Fixed: Strange behavior of the toggle switches (ON/OFF buttons) on the plugin settings page. (Thanks to Werner Krau)
Download this release

Release Info

Developer Arthur Gareginyan
Plugin Icon 128x128 My Custom Functions
Version 4.51
Comparing to
See all releases

Code changes from version 4.50 to 4.51

inc/php/options.php CHANGED
@@ -34,7 +34,7 @@ function spacexchimp_p001_options() {
34
 
35
 
36
  // Modify data
37
- $array['enable'] = ( $array['enable'] == 'on' ) ? true : false ;
38
 
39
  // Return the processed data
40
  return $array;
34
 
35
 
36
  // Modify data
37
+ $array['enable'] = ( $array['enable'] == 'on' || $array['enable'] == '1' || $array['enable'] == 'true' ) ? true : false;
38
 
39
  // Return the processed data
40
  return $array;
languages/my-custom-functions-de_DE.mo CHANGED
Binary file
languages/my-custom-functions-de_DE.po CHANGED
@@ -3,8 +3,8 @@
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: My Custom Functions\n"
6
- "POT-Creation-Date: 2021-03-09 01:18+0300\n"
7
- "PO-Revision-Date: 2021-03-09 01:18+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: German\n"
10
  "Language: de_DE\n"
@@ -12,7 +12,7 @@ msgstr ""
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
- "X-Generator: Poedit 2.4.2\n"
16
  "X-Poedit-Basepath: ..\n"
17
  "X-Poedit-WPHeader: my-custom-functions.php\n"
18
  "X-Poedit-SourceCharset: UTF-8\n"
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: My Custom Functions\n"
6
+ "POT-Creation-Date: 2021-09-06 19:49+0300\n"
7
+ "PO-Revision-Date: 2021-09-06 19:49+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: German\n"
10
  "Language: de_DE\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
+ "X-Generator: Poedit 3.0\n"
16
  "X-Poedit-Basepath: ..\n"
17
  "X-Poedit-WPHeader: my-custom-functions.php\n"
18
  "X-Poedit-SourceCharset: UTF-8\n"
languages/my-custom-functions-es_ES.mo CHANGED
Binary file
languages/my-custom-functions-es_ES.po CHANGED
@@ -3,8 +3,8 @@
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: My Custom Functions\n"
6
- "POT-Creation-Date: 2021-03-09 01:18+0300\n"
7
- "PO-Revision-Date: 2021-03-09 01:18+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: Spanish\n"
10
  "Language: es_ES\n"
@@ -12,7 +12,7 @@ msgstr ""
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
- "X-Generator: Poedit 2.4.2\n"
16
  "X-Poedit-Basepath: ..\n"
17
  "X-Poedit-WPHeader: my-custom-functions.php\n"
18
  "X-Poedit-SourceCharset: UTF-8\n"
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: My Custom Functions\n"
6
+ "POT-Creation-Date: 2021-09-06 19:49+0300\n"
7
+ "PO-Revision-Date: 2021-09-06 19:49+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: Spanish\n"
10
  "Language: es_ES\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
+ "X-Generator: Poedit 3.0\n"
16
  "X-Poedit-Basepath: ..\n"
17
  "X-Poedit-WPHeader: my-custom-functions.php\n"
18
  "X-Poedit-SourceCharset: UTF-8\n"
languages/my-custom-functions-fr_FR.mo CHANGED
Binary file
languages/my-custom-functions-fr_FR.po CHANGED
@@ -3,8 +3,8 @@
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: My Custom Functions\n"
6
- "POT-Creation-Date: 2021-03-09 01:18+0300\n"
7
- "PO-Revision-Date: 2021-03-09 01:18+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: French\n"
10
  "Language: fr_FR\n"
@@ -12,7 +12,7 @@ msgstr ""
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
15
- "X-Generator: Poedit 2.4.2\n"
16
  "X-Poedit-Basepath: ..\n"
17
  "X-Poedit-WPHeader: my-custom-functions.php\n"
18
  "X-Poedit-SourceCharset: UTF-8\n"
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: My Custom Functions\n"
6
+ "POT-Creation-Date: 2021-09-06 19:49+0300\n"
7
+ "PO-Revision-Date: 2021-09-06 19:49+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: French\n"
10
  "Language: fr_FR\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
15
+ "X-Generator: Poedit 3.0\n"
16
  "X-Poedit-Basepath: ..\n"
17
  "X-Poedit-WPHeader: my-custom-functions.php\n"
18
  "X-Poedit-SourceCharset: UTF-8\n"
languages/my-custom-functions-nl_NL.mo CHANGED
Binary file
languages/my-custom-functions-nl_NL.po CHANGED
@@ -3,8 +3,8 @@
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: My Custom Functions\n"
6
- "POT-Creation-Date: 2021-03-09 01:18+0300\n"
7
- "PO-Revision-Date: 2021-03-09 01:18+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: Dutch\n"
10
  "Language: nl_NL\n"
@@ -12,7 +12,7 @@ msgstr ""
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
- "X-Generator: Poedit 2.4.2\n"
16
  "X-Poedit-Basepath: ..\n"
17
  "X-Poedit-WPHeader: my-custom-functions.php\n"
18
  "X-Poedit-SourceCharset: UTF-8\n"
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: My Custom Functions\n"
6
+ "POT-Creation-Date: 2021-09-06 19:49+0300\n"
7
+ "PO-Revision-Date: 2021-09-06 19:49+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: Dutch\n"
10
  "Language: nl_NL\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Generator: Poedit 3.0\n"
16
  "X-Poedit-Basepath: ..\n"
17
  "X-Poedit-WPHeader: my-custom-functions.php\n"
18
  "X-Poedit-SourceCharset: UTF-8\n"
languages/my-custom-functions-ru_RU.mo CHANGED
Binary file
languages/my-custom-functions-ru_RU.po CHANGED
@@ -3,15 +3,15 @@
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: My Custom Functions\n"
6
- "POT-Creation-Date: 2021-03-09 01:18+0300\n"
7
- "PO-Revision-Date: 2021-03-09 01:18+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: Russian\n"
10
  "Language: ru_RU\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
- "X-Generator: Poedit 2.4.2\n"
15
  "X-Poedit-Basepath: ..\n"
16
  "X-Poedit-WPHeader: my-custom-functions.php\n"
17
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: My Custom Functions\n"
6
+ "POT-Creation-Date: 2021-09-06 19:50+0300\n"
7
+ "PO-Revision-Date: 2021-09-06 19:50+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: Russian\n"
10
  "Language: ru_RU\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
+ "X-Generator: Poedit 3.0\n"
15
  "X-Poedit-Basepath: ..\n"
16
  "X-Poedit-WPHeader: my-custom-functions.php\n"
17
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
languages/my-custom-functions-zh_TW.mo CHANGED
Binary file
languages/my-custom-functions-zh_TW.po CHANGED
@@ -3,8 +3,8 @@
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: My Custom Functions\n"
6
- "POT-Creation-Date: 2021-03-09 01:18+0300\n"
7
- "PO-Revision-Date: 2021-03-09 01:18+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: Chinese (Taiwan)\n"
10
  "Language: zh_TW\n"
@@ -12,7 +12,7 @@ msgstr ""
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "Plural-Forms: nplurals=1; plural=0;\n"
15
- "X-Generator: Poedit 2.4.2\n"
16
  "X-Poedit-Basepath: ..\n"
17
  "X-Poedit-WPHeader: my-custom-functions.php\n"
18
  "X-Poedit-SourceCharset: UTF-8\n"
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: My Custom Functions\n"
6
+ "POT-Creation-Date: 2021-09-06 19:50+0300\n"
7
+ "PO-Revision-Date: 2021-09-06 19:50+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: Chinese (Taiwan)\n"
10
  "Language: zh_TW\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "Plural-Forms: nplurals=1; plural=0;\n"
15
+ "X-Generator: Poedit 3.0\n"
16
  "X-Poedit-Basepath: ..\n"
17
  "X-Poedit-WPHeader: my-custom-functions.php\n"
18
  "X-Poedit-SourceCharset: UTF-8\n"
languages/my-custom-functions.pot CHANGED
@@ -3,14 +3,14 @@ msgid ""
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: My Custom Functions\n"
6
- "POT-Creation-Date: 2021-03-09 01:17+0300\n"
7
  "PO-Revision-Date: 2015-08-30 16:22+0300\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
- "X-Generator: Poedit 2.4.2\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-WPHeader: my-custom-functions.php\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: My Custom Functions\n"
6
+ "POT-Creation-Date: 2021-09-06 19:50+0300\n"
7
  "PO-Revision-Date: 2015-08-30 16:22+0300\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 3.0\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-WPHeader: my-custom-functions.php\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
my-custom-functions.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Easily and safely add your custom PHP code to your WordPress website, directly out of the WordPress Admin Area, without the need to have an external editor.
6
  * Author: Space X-Chimp
7
  * Author URI: https://www.spacexchimp.com
8
- * Version: 4.50
9
  * License: GPL3
10
  * Text Domain: my-custom-functions
11
  * Domain Path: /languages/
5
  * Description: Easily and safely add your custom PHP code to your WordPress website, directly out of the WordPress Admin Area, without the need to have an external editor.
6
  * Author: Space X-Chimp
7
  * Author URI: https://www.spacexchimp.com
8
+ * Version: 4.51
9
  * License: GPL3
10
  * Text Domain: my-custom-functions
11
  * Domain Path: /languages/
readme.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: Arthur Gareginyan
3
  Tags: inject code, inject function, inject snippet, inject php, insert code, insert function, insert snippet, insert php, execute code, execute function, execute snippet, execute php, inject custom code, inject custom function, inject custom snippet, inject custom php, insert custom code, insert custom function, insert custom snippet, insert custom php, execute custom code, execute custom function, execute custom snippet, execute custom php, code, function, snippet, php, functionality plugin
4
  Donate link: https://www.spacexchimp.com/donate.html
5
  Requires at least: 4.9
6
- Tested up to: 5.8
7
  Requires PHP: 5.6
8
- Stable tag: 4.50
9
  License: GPL3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -257,6 +257,9 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
257
 
258
  == Changelog ==
259
 
 
 
 
260
  = 4.50 - Jul 19, 2021 =
261
  * Maintenance: Ensure compatibility with upcoming WordPress 5.8.
262
  * Framework update: The CodeMirror library has been updated to the latest version v5.62.0.
3
  Tags: inject code, inject function, inject snippet, inject php, insert code, insert function, insert snippet, insert php, execute code, execute function, execute snippet, execute php, inject custom code, inject custom function, inject custom snippet, inject custom php, insert custom code, insert custom function, insert custom snippet, insert custom php, execute custom code, execute custom function, execute custom snippet, execute custom php, code, function, snippet, php, functionality plugin
4
  Donate link: https://www.spacexchimp.com/donate.html
5
  Requires at least: 4.9
6
+ Tested up to: 6.1
7
  Requires PHP: 5.6
8
+ Stable tag: 4.51
9
  License: GPL3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
257
 
258
  == Changelog ==
259
 
260
+ = 4.51 - Sep 6, 2021 =
261
+ * Fixed: Strange behavior of the toggle switches (ON/OFF buttons) on the plugin settings page. (Thanks to Werner Krauß)
262
+
263
  = 4.50 - Jul 19, 2021 =
264
  * Maintenance: Ensure compatibility with upcoming WordPress 5.8.
265
  * Framework update: The CodeMirror library has been updated to the latest version v5.62.0.