My Custom Functions - Version 4.26

Version Description

  • The function '_prepare' is improved.
  • The function '_duplicates' is improved.
  • The function '_exec' is improved.
  • Code commenting improved.
  • Some texts are updated.
  • Translation files are updated.
Download this release

Release Info

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

Code changes from version 4.25 to 4.26

inc/php/functional.php CHANGED
@@ -6,26 +6,45 @@
6
  defined( 'ABSPATH' ) or die( "Restricted access!" );
7
 
8
  /**
9
- * Prepare the user entered code for execution
10
  */
11
- function spacexchimp_p001_prepare( $content ) {
12
 
13
- // Cleaning
14
- $content = trim( $content );
15
- $content = ltrim( $content, '<?php' );
16
- $content = rtrim( $content, '?>' );
 
 
 
 
 
 
 
 
 
17
 
18
- // Return prepared code
19
- return $content;
 
 
 
 
 
 
 
 
 
 
20
  }
21
 
22
  /**
23
- * Check the user entered code for duplicate names of snippets
24
  */
25
- function spacexchimp_p001_duplicates( $content ) {
26
 
27
  // Find names of user entered snippets and check for duplicates
28
- preg_match_all('/function[\s\n]+(\S+)[\s\n]*\(/i', $content, $user_func_names);
29
  $user_func_a = count( $user_func_names[1] );
30
  $user_func_b = count( array_unique( $user_func_names[1] ) );
31
 
@@ -48,45 +67,39 @@ function spacexchimp_p001_duplicates( $content ) {
48
  }
49
 
50
  /**
51
- * Execute the user entered code
52
  */
53
  function spacexchimp_p001_exec() {
54
 
55
- // If STOP file exist...
56
  if ( file_exists( SPACEXCHIMP_P001_PATH . 'STOP' ) ) {
57
  return; // EXIT
58
  }
59
 
60
- // Read options from database and declare variables
61
- $options = get_option( SPACEXCHIMP_P001_SETTINGS . '_settings' );
62
- $content = !empty( $options['snippets'] ) ? $options['snippets'] : ' ';
63
- $enable = !empty( $options['enable'] ) ? $options['enable'] : ' ';
64
-
65
- // If the user entered code is disabled...
66
- if ( $enable != 'on') {
67
- return; // EXIT
68
- }
69
 
70
- // Prepare the user entered snippets by calling the "prepare" function
71
- $content = spacexchimp_p001_prepare( $content );
72
-
73
- // If content is empty...
74
- if ( empty( $content ) OR $content == ' ' ) {
75
  return; // EXIT
76
  }
77
 
78
  // If the duplicates snippets finded...
79
- $duplicates = spacexchimp_p001_duplicates( $content );
80
  if ( $duplicates != 0 ) {
81
  return; // EXIT
82
  }
83
 
84
  // Parsing and execute by Eval
85
- if ( false === @eval( $content ) ) {
86
  update_option( SPACEXCHIMP_P001_SETTINGS . '_error', '1' ); // ERROR
87
  return; // EXIT
88
  } else {
89
  update_option( SPACEXCHIMP_P001_SETTINGS . '_error', '0' ); // RESET ERROR VALUE
90
  }
91
  }
 
 
 
 
92
  spacexchimp_p001_exec();
6
  defined( 'ABSPATH' ) or die( "Restricted access!" );
7
 
8
  /**
9
+ * Prepare the custom code
10
  */
11
+ function spacexchimp_p001_prepare() {
12
 
13
+ // Read options from database and declare variables
14
+ $options = get_option( SPACEXCHIMP_P001_SETTINGS . '_settings' );
15
+ $data = !empty( $options['snippets'] ) ? $options['snippets'] : '';
16
+ $enable = !empty( $options['enable'] ) ? $options['enable'] : '';
17
+
18
+ // Prepare a variable for storing the processed data
19
+ $data_out = "";
20
+
21
+ // If data is not empty...
22
+ if ( !empty( $data ) ) {
23
+
24
+ // If the custom code is enabled...
25
+ if ( $enable == "on") {
26
 
27
+ // Prepare a variable for storing the processing data, and perform data processing
28
+ $data_tmp = $data;
29
+ $data_tmp = trim( $data_tmp ); // Cleaning
30
+ $data_tmp = ltrim( $data_tmp, '<?php' ); // Cleaning
31
+ $data_tmp = rtrim( $data_tmp, '?>' ); // Cleaning
32
+
33
+ $data_out .= $data_tmp;
34
+ }
35
+ }
36
+
37
+ // Return the processed data
38
+ return $data_out;
39
  }
40
 
41
  /**
42
+ * Check the custom code for duplicate names of functions
43
  */
44
+ function spacexchimp_p001_duplicates( $data ) {
45
 
46
  // Find names of user entered snippets and check for duplicates
47
+ preg_match_all('/function[\s\n]+(\S+)[\s\n]*\(/i', $data, $user_func_names);
48
  $user_func_a = count( $user_func_names[1] );
49
  $user_func_b = count( array_unique( $user_func_names[1] ) );
50
 
67
  }
68
 
69
  /**
70
+ * Process the custom code
71
  */
72
  function spacexchimp_p001_exec() {
73
 
74
+ // If the STOP file exist...
75
  if ( file_exists( SPACEXCHIMP_P001_PATH . 'STOP' ) ) {
76
  return; // EXIT
77
  }
78
 
79
+ // Get the custom code by calling the "prepare" function
80
+ $data = spacexchimp_p001_prepare();
 
 
 
 
 
 
 
81
 
82
+ // If data is empty...
83
+ if ( empty( $data ) OR $data == ' ' ) {
 
 
 
84
  return; // EXIT
85
  }
86
 
87
  // If the duplicates snippets finded...
88
+ $duplicates = spacexchimp_p001_duplicates( $data );
89
  if ( $duplicates != 0 ) {
90
  return; // EXIT
91
  }
92
 
93
  // Parsing and execute by Eval
94
+ if ( false === @eval( $data ) ) {
95
  update_option( SPACEXCHIMP_P001_SETTINGS . '_error', '1' ); // ERROR
96
  return; // EXIT
97
  } else {
98
  update_option( SPACEXCHIMP_P001_SETTINGS . '_error', '0' ); // RESET ERROR VALUE
99
  }
100
  }
101
+
102
+ /**
103
+ * Execute the custom code
104
+ */
105
  spacexchimp_p001_exec();
inc/php/messages.php CHANGED
@@ -88,7 +88,7 @@ function spacexchimp_p001_successfull_message() {
88
  if ( isset( $_GET['settings-updated'] ) ) {
89
  ?>
90
  <div id="message" class="updated">
91
- <p><?php _e( 'Custom functions updated successfully.', SPACEXCHIMP_P001_TEXT ); ?></p>
92
  </div>
93
  <?php
94
  }
88
  if ( isset( $_GET['settings-updated'] ) ) {
89
  ?>
90
  <div id="message" class="updated">
91
+ <p><?php _e( 'Custom code updated successfully.', SPACEXCHIMP_P001_TEXT ); ?></p>
92
  </div>
93
  <?php
94
  }
inc/php/page.php CHANGED
@@ -64,7 +64,7 @@ function spacexchimp_p001_render_submenu_page() {
64
  <div class="postbox">
65
  <h3 class="title"><?php _e( 'Usage Instructions', $text ); ?></h3>
66
  <div class="inside">
67
- <p><?php _e( 'To add your custom functions (the PHP code) to your website, simply follow these steps:', $text ); ?></p>
68
  <ol class="custom-counter">
69
  <li><?php _e( 'Go to the "Main" tab.', $text ); ?></li>
70
  <li><?php _e( 'Place your custom PHP code in the field.', $text ); ?><br><br>
64
  <div class="postbox">
65
  <h3 class="title"><?php _e( 'Usage Instructions', $text ); ?></h3>
66
  <div class="inside">
67
+ <p><?php _e( 'To add your custom functions (PHP code) to your website, simply follow these steps:', $text ); ?></p>
68
  <ol class="custom-counter">
69
  <li><?php _e( 'Go to the "Main" tab.', $text ); ?></li>
70
  <li><?php _e( 'Place your custom PHP code in the field.', $text ); ?><br><br>
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: 2018-08-07 01:37+0300\n"
7
- "PO-Revision-Date: 2018-08-07 01:37+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: German\n"
10
  "Language: de_DE\n"
@@ -54,7 +54,7 @@ msgid "Please update the plugin to the latest version, and all will be fine."
54
  msgstr "Bitte installieren Sie die aktuelle Version des Plugins und alles wir gut."
55
 
56
  #: inc/php/messages.php:91
57
- msgid "Custom functions updated successfully."
58
  msgstr ""
59
 
60
  #: inc/php/messages.php:107
@@ -99,7 +99,7 @@ msgid "Usage Instructions"
99
  msgstr "Anleitung"
100
 
101
  #: inc/php/page.php:67
102
- msgid "To add your custom functions (the PHP code) to your website, simply follow these steps:"
103
  msgstr ""
104
 
105
  #: inc/php/page.php:69
@@ -437,8 +437,8 @@ msgstr "Space X-Chimp"
437
  msgid "https://www.spacexchimp.com"
438
  msgstr "https://www.spacexchimp.com"
439
 
440
- #~ msgid "Hello! My name is %s Arthur Gareginyan %s and I'm the founder of %s Space X-Chimp %s."
441
- #~ msgstr "Hallo! Meine name ist %s Arthur Gareginyan %s und ich bin der Gründer von %s Space X-Chimp %s."
442
 
443
  #~ msgid "My intention is to create projects that will make this world a better place. I'm really passionate about my work, I like what I'm doing and hope that you will be enriched by my projects too."
444
  #~ msgstr "Meine Absicht ist es, Projekte zu entwickeln, die diese Welt zu einem besseren Ort machen. Ich bin begeistert von meiner Arbeit, ich mag, was ich tue, und hoffe, dass Sie auch von meinen Projekten bereichert werden."
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: My Custom Functions\n"
6
+ "POT-Creation-Date: 2018-08-18 18:14+0300\n"
7
+ "PO-Revision-Date: 2018-08-18 18:14+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: German\n"
10
  "Language: de_DE\n"
54
  msgstr "Bitte installieren Sie die aktuelle Version des Plugins und alles wir gut."
55
 
56
  #: inc/php/messages.php:91
57
+ msgid "Custom code updated successfully."
58
  msgstr ""
59
 
60
  #: inc/php/messages.php:107
99
  msgstr "Anleitung"
100
 
101
  #: inc/php/page.php:67
102
+ msgid "To add your custom functions (PHP code) to your website, simply follow these steps:"
103
  msgstr ""
104
 
105
  #: inc/php/page.php:69
437
  msgid "https://www.spacexchimp.com"
438
  msgstr "https://www.spacexchimp.com"
439
 
440
+ #~ msgid "Hello! My name is %s Arthur %s and I'm the founder of %s Space X-Chimp %s."
441
+ #~ msgstr "Hallo! Meine name ist %s Arthur %s und ich bin der Gründer von %s Space X-Chimp %s."
442
 
443
  #~ msgid "My intention is to create projects that will make this world a better place. I'm really passionate about my work, I like what I'm doing and hope that you will be enriched by my projects too."
444
  #~ msgstr "Meine Absicht ist es, Projekte zu entwickeln, die diese Welt zu einem besseren Ort machen. Ich bin begeistert von meiner Arbeit, ich mag, was ich tue, und hoffe, dass Sie auch von meinen Projekten bereichert werden."
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: 2018-08-07 01:37+0300\n"
7
- "PO-Revision-Date: 2018-08-07 01:37+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: Spanish\n"
10
  "Language: es_ES\n"
@@ -54,7 +54,7 @@ msgid "Please update the plugin to the latest version, and all will be fine."
54
  msgstr "Actualiza el complemento a la versión más reciente y todo estará bien."
55
 
56
  #: inc/php/messages.php:91
57
- msgid "Custom functions updated successfully."
58
  msgstr ""
59
 
60
  #: inc/php/messages.php:107
@@ -99,7 +99,7 @@ msgid "Usage Instructions"
99
  msgstr "Instrucciones de uso"
100
 
101
  #: inc/php/page.php:67
102
- msgid "To add your custom functions (the PHP code) to your website, simply follow these steps:"
103
  msgstr ""
104
 
105
  #: inc/php/page.php:69
@@ -437,8 +437,8 @@ msgstr "Space X-Chimp"
437
  msgid "https://www.spacexchimp.com"
438
  msgstr "https://www.spacexchimp.com"
439
 
440
- #~ msgid "Hello! My name is %s Arthur Gareginyan %s and I'm the founder of %s Space X-Chimp %s."
441
- #~ msgstr "¡Hola! Mi nombre es %s Arthur Gareginyan %s y soy el fundador de %s Space X-Chimp %s."
442
 
443
  #~ msgid "My intention is to create projects that will make this world a better place. I'm really passionate about my work, I like what I'm doing and hope that you will be enriched by my projects too."
444
  #~ msgstr "Mi intención es crear proyectos que hagan de este mundo un lugar mejor. Soy realmente apasionado por mi trabajo, me gusta lo que estoy haciendo y espero que tú también te enriquezcas con mis proyectos."
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: My Custom Functions\n"
6
+ "POT-Creation-Date: 2018-08-18 18:14+0300\n"
7
+ "PO-Revision-Date: 2018-08-18 18:14+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: Spanish\n"
10
  "Language: es_ES\n"
54
  msgstr "Actualiza el complemento a la versión más reciente y todo estará bien."
55
 
56
  #: inc/php/messages.php:91
57
+ msgid "Custom code updated successfully."
58
  msgstr ""
59
 
60
  #: inc/php/messages.php:107
99
  msgstr "Instrucciones de uso"
100
 
101
  #: inc/php/page.php:67
102
+ msgid "To add your custom functions (PHP code) to your website, simply follow these steps:"
103
  msgstr ""
104
 
105
  #: inc/php/page.php:69
437
  msgid "https://www.spacexchimp.com"
438
  msgstr "https://www.spacexchimp.com"
439
 
440
+ #~ msgid "Hello! My name is %s Arthur %s and I'm the founder of %s Space X-Chimp %s."
441
+ #~ msgstr "¡Hola! Mi nombre es %s Arthur %s y soy el fundador de %s Space X-Chimp %s."
442
 
443
  #~ msgid "My intention is to create projects that will make this world a better place. I'm really passionate about my work, I like what I'm doing and hope that you will be enriched by my projects too."
444
  #~ msgstr "Mi intención es crear proyectos que hagan de este mundo un lugar mejor. Soy realmente apasionado por mi trabajo, me gusta lo que estoy haciendo y espero que tú también te enriquezcas con mis proyectos."
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: 2018-08-07 01:37+0300\n"
7
- "PO-Revision-Date: 2018-08-07 01:37+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: French\n"
10
  "Language: fr_FR\n"
@@ -54,7 +54,7 @@ msgid "Please update the plugin to the latest version, and all will be fine."
54
  msgstr ""
55
 
56
  #: inc/php/messages.php:91
57
- msgid "Custom functions updated successfully."
58
  msgstr "Custom functions mis à jour avec succès."
59
 
60
  #: inc/php/messages.php:107
@@ -99,7 +99,7 @@ msgid "Usage Instructions"
99
  msgstr ""
100
 
101
  #: inc/php/page.php:67
102
- msgid "To add your custom functions (the PHP code) to your website, simply follow these steps:"
103
  msgstr ""
104
 
105
  #: inc/php/page.php:69
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: My Custom Functions\n"
6
+ "POT-Creation-Date: 2018-08-18 18:14+0300\n"
7
+ "PO-Revision-Date: 2018-08-18 18:14+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: French\n"
10
  "Language: fr_FR\n"
54
  msgstr ""
55
 
56
  #: inc/php/messages.php:91
57
+ msgid "Custom code updated successfully."
58
  msgstr "Custom functions mis à jour avec succès."
59
 
60
  #: inc/php/messages.php:107
99
  msgstr ""
100
 
101
  #: inc/php/page.php:67
102
+ msgid "To add your custom functions (PHP code) to your website, simply follow these steps:"
103
  msgstr ""
104
 
105
  #: inc/php/page.php:69
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: 2018-08-07 01:37+0300\n"
7
- "PO-Revision-Date: 2018-08-07 01:38+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: Dutch\n"
10
  "Language: nl_NL\n"
@@ -54,7 +54,7 @@ msgid "Please update the plugin to the latest version, and all will be fine."
54
  msgstr "Update de plug-in naar de nieuwste versie en alles komt goed."
55
 
56
  #: inc/php/messages.php:91
57
- msgid "Custom functions updated successfully."
58
  msgstr "Aangepaste functies zijn geüpdated."
59
 
60
  #: inc/php/messages.php:107
@@ -99,7 +99,7 @@ msgid "Usage Instructions"
99
  msgstr "Gebruiksinstructies"
100
 
101
  #: inc/php/page.php:67
102
- msgid "To add your custom functions (the PHP code) to your website, simply follow these steps:"
103
  msgstr "Om je eigen aangepaste functies (de PHP code) aan je website toe te voegen, volg deze simpele stappen:"
104
 
105
  #: inc/php/page.php:69
@@ -437,8 +437,8 @@ msgstr "Space X-Chimp"
437
  msgid "https://www.spacexchimp.com"
438
  msgstr "https://www.spacexchimp.com"
439
 
440
- #~ msgid "Hello! My name is %s Arthur Gareginyan %s and I'm the founder of %s Space X-Chimp %s."
441
- #~ msgstr "Hallo! Mijn naam is %s Arthur Gareginyan %s en ik ben de oprichter van %s Space X-Chimp %s."
442
 
443
  #~ msgid "My intention is to create projects that will make this world a better place. I'm really passionate about my work, I like what I'm doing and hope that you will be enriched by my projects too."
444
  #~ msgstr "Het is mijn bedoeling om projecten te maken die van deze wereld een betere plek maken. Ik ben echt gepassioneerd over mijn werk, ik vind het leuk wat ik doe en hoop dat je ook verrijkt zult worden door mijn projecten."
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: My Custom Functions\n"
6
+ "POT-Creation-Date: 2018-08-18 18:14+0300\n"
7
+ "PO-Revision-Date: 2018-08-18 18:14+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: Dutch\n"
10
  "Language: nl_NL\n"
54
  msgstr "Update de plug-in naar de nieuwste versie en alles komt goed."
55
 
56
  #: inc/php/messages.php:91
57
+ msgid "Custom code updated successfully."
58
  msgstr "Aangepaste functies zijn geüpdated."
59
 
60
  #: inc/php/messages.php:107
99
  msgstr "Gebruiksinstructies"
100
 
101
  #: inc/php/page.php:67
102
+ msgid "To add your custom functions (PHP code) to your website, simply follow these steps:"
103
  msgstr "Om je eigen aangepaste functies (de PHP code) aan je website toe te voegen, volg deze simpele stappen:"
104
 
105
  #: inc/php/page.php:69
437
  msgid "https://www.spacexchimp.com"
438
  msgstr "https://www.spacexchimp.com"
439
 
440
+ #~ msgid "Hello! My name is %s Arthur %s and I'm the founder of %s Space X-Chimp %s."
441
+ #~ msgstr "Hallo! Mijn naam is %s Arthur %s en ik ben de oprichter van %s Space X-Chimp %s."
442
 
443
  #~ msgid "My intention is to create projects that will make this world a better place. I'm really passionate about my work, I like what I'm doing and hope that you will be enriched by my projects too."
444
  #~ msgstr "Het is mijn bedoeling om projecten te maken die van deze wereld een betere plek maken. Ik ben echt gepassioneerd over mijn werk, ik vind het leuk wat ik doe en hoop dat je ook verrijkt zult worden door mijn projecten."
languages/my-custom-functions-ru_RU.mo CHANGED
Binary file
languages/my-custom-functions-ru_RU.po CHANGED
@@ -3,8 +3,8 @@
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: My Custom Functions\n"
6
- "POT-Creation-Date: 2018-08-07 01:38+0300\n"
7
- "PO-Revision-Date: 2018-08-07 01:38+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: Russian\n"
10
  "Language: ru_RU\n"
@@ -54,8 +54,8 @@ msgid "Please update the plugin to the latest version, and all will be fine."
54
  msgstr "Пожалуйста, обновите плагин до последней версии и всё будет отлично."
55
 
56
  #: inc/php/messages.php:91
57
- msgid "Custom functions updated successfully."
58
- msgstr "Пользовательские функции успешно обновлены."
59
 
60
  #: inc/php/messages.php:107
61
  msgid "Sorry, but your code causes a \"Fatal error\", so it is not applied!"
@@ -99,7 +99,7 @@ msgid "Usage Instructions"
99
  msgstr "Инструкция по использованию"
100
 
101
  #: inc/php/page.php:67
102
- msgid "To add your custom functions (the PHP code) to your website, simply follow these steps:"
103
  msgstr "Чтобы добавить свои пользовательские функции (код PHP) на свой сайт, просто выполните следующие действия:"
104
 
105
  #: inc/php/page.php:69
@@ -437,8 +437,8 @@ msgstr "Space X-Chimp"
437
  msgid "https://www.spacexchimp.com"
438
  msgstr "https://www.spacexchimp.com"
439
 
440
- #~ msgid "Hello! My name is %s Arthur Gareginyan %s and I'm the founder of %s Space X-Chimp %s."
441
- #~ msgstr "Привет! Меня зовут %s Артур Гарегинян %s и Я основатель %s Space X-Chimp %s."
442
 
443
  #~ msgid "My intention is to create projects that will make this world a better place. I'm really passionate about my work, I like what I'm doing and hope that you will be enriched by my projects too."
444
  #~ msgstr "Я намерен создать проекты, которые сделают этот мир лучшим местом. Я очень увлечен своей работой, мне нравится то, что Я делаю и надеюсь, что вы тоже станете лучше благодаря моим проектам."
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: My Custom Functions\n"
6
+ "POT-Creation-Date: 2018-08-18 18:14+0300\n"
7
+ "PO-Revision-Date: 2018-08-18 18:14+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: Russian\n"
10
  "Language: ru_RU\n"
54
  msgstr "Пожалуйста, обновите плагин до последней версии и всё будет отлично."
55
 
56
  #: inc/php/messages.php:91
57
+ msgid "Custom code updated successfully."
58
+ msgstr "Пользовательский код успешно обновлён."
59
 
60
  #: inc/php/messages.php:107
61
  msgid "Sorry, but your code causes a \"Fatal error\", so it is not applied!"
99
  msgstr "Инструкция по использованию"
100
 
101
  #: inc/php/page.php:67
102
+ msgid "To add your custom functions (PHP code) to your website, simply follow these steps:"
103
  msgstr "Чтобы добавить свои пользовательские функции (код PHP) на свой сайт, просто выполните следующие действия:"
104
 
105
  #: inc/php/page.php:69
437
  msgid "https://www.spacexchimp.com"
438
  msgstr "https://www.spacexchimp.com"
439
 
440
+ #~ msgid "Hello! My name is %s Arthur %s and I'm the founder of %s Space X-Chimp %s."
441
+ #~ msgstr "Привет! Меня зовут %s Артур %s и Я основатель %s Space X-Chimp %s."
442
 
443
  #~ msgid "My intention is to create projects that will make this world a better place. I'm really passionate about my work, I like what I'm doing and hope that you will be enriched by my projects too."
444
  #~ msgstr "Я намерен создать проекты, которые сделают этот мир лучшим местом. Я очень увлечен своей работой, мне нравится то, что Я делаю и надеюсь, что вы тоже станете лучше благодаря моим проектам."
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: 2018-08-07 01:38+0300\n"
7
- "PO-Revision-Date: 2018-08-07 01:38+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: Chinese (Taiwan)\n"
10
  "Language: zh_TW\n"
@@ -54,7 +54,7 @@ msgid "Please update the plugin to the latest version, and all will be fine."
54
  msgstr ""
55
 
56
  #: inc/php/messages.php:91
57
- msgid "Custom functions updated successfully."
58
  msgstr "自訂功能已成功更新"
59
 
60
  #: inc/php/messages.php:107
@@ -99,7 +99,7 @@ msgid "Usage Instructions"
99
  msgstr ""
100
 
101
  #: inc/php/page.php:67
102
- msgid "To add your custom functions (the PHP code) to your website, simply follow these steps:"
103
  msgstr ""
104
 
105
  #: inc/php/page.php:69
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: My Custom Functions\n"
6
+ "POT-Creation-Date: 2018-08-18 18:14+0300\n"
7
+ "PO-Revision-Date: 2018-08-18 18:14+0300\n"
8
  "Last-Translator: Arthur Gareginyan\n"
9
  "Language-Team: Chinese (Taiwan)\n"
10
  "Language: zh_TW\n"
54
  msgstr ""
55
 
56
  #: inc/php/messages.php:91
57
+ msgid "Custom code updated successfully."
58
  msgstr "自訂功能已成功更新"
59
 
60
  #: inc/php/messages.php:107
99
  msgstr ""
100
 
101
  #: inc/php/page.php:67
102
+ msgid "To add your custom functions (PHP code) to your website, simply follow these steps:"
103
  msgstr ""
104
 
105
  #: inc/php/page.php:69
languages/my-custom-functions.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: My Custom Functions\n"
6
- "POT-Creation-Date: 2018-08-07 01:38+0300\n"
7
  "PO-Revision-Date: 2015-08-30 16:22+0300\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
@@ -52,7 +52,7 @@ msgid "Please update the plugin to the latest version, and all will be fine."
52
  msgstr ""
53
 
54
  #: inc/php/messages.php:91
55
- msgid "Custom functions updated successfully."
56
  msgstr ""
57
 
58
  #: inc/php/messages.php:107
@@ -97,7 +97,7 @@ msgid "Usage Instructions"
97
  msgstr ""
98
 
99
  #: inc/php/page.php:67
100
- msgid "To add your custom functions (the PHP code) to your website, simply follow these steps:"
101
  msgstr ""
102
 
103
  #: inc/php/page.php:69
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: My Custom Functions\n"
6
+ "POT-Creation-Date: 2018-08-18 18:14+0300\n"
7
  "PO-Revision-Date: 2015-08-30 16:22+0300\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
52
  msgstr ""
53
 
54
  #: inc/php/messages.php:91
55
+ msgid "Custom code updated successfully."
56
  msgstr ""
57
 
58
  #: inc/php/messages.php:107
97
  msgstr ""
98
 
99
  #: inc/php/page.php:67
100
+ msgid "To add your custom functions (PHP code) to your website, simply follow these steps:"
101
  msgstr ""
102
 
103
  #: inc/php/page.php:69
my-custom-functions.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Easily and safely add your custom functions (PHP code) directly out of your 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.25
9
  * License: GPL3
10
  * Text Domain: my-custom-functions
11
  * Domain Path: /languages/
5
  * Description: Easily and safely add your custom functions (PHP code) directly out of your 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.26
9
  * License: GPL3
10
  * Text Domain: my-custom-functions
11
  * Domain Path: /languages/
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: code, php, function, snippet, custom, execute, edit, editing, editor, func
4
  Donate link: https://www.spacexchimp.com/donate.html
5
  Requires at least: 3.9
6
  Tested up to: 4.9
7
- Stable tag: 4.25
8
  License: GPL3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -221,6 +221,14 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
221
 
222
  == Changelog ==
223
 
 
 
 
 
 
 
 
 
224
  = 4.25 =
225
  * Some texts are updated.
226
  * Translation files are updated.
@@ -343,7 +351,7 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
343
  * Code commenting improved.
344
  * Load of the additional remote CSS file removed from the admin.js file.
345
  * Changed the sorting of enqueueing of scripts.
346
- * The ''Family' page tab renamed to 'Store'.
347
  * Added ad banner of my store website.
348
 
349
  = 4.4.1 =
4
  Donate link: https://www.spacexchimp.com/donate.html
5
  Requires at least: 3.9
6
  Tested up to: 4.9
7
+ Stable tag: 4.26
8
  License: GPL3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
221
 
222
  == Changelog ==
223
 
224
+ = 4.26 =
225
+ * The function '_prepare' is improved.
226
+ * The function '_duplicates' is improved.
227
+ * The function '_exec' is improved.
228
+ * Code commenting improved.
229
+ * Some texts are updated.
230
+ * Translation files are updated.
231
+
232
  = 4.25 =
233
  * Some texts are updated.
234
  * Translation files are updated.
351
  * Code commenting improved.
352
  * Load of the additional remote CSS file removed from the admin.js file.
353
  * Changed the sorting of enqueueing of scripts.
354
+ * The 'Family' page tab renamed to 'Store'.
355
  * Added ad banner of my store website.
356
 
357
  = 4.4.1 =