Version Description
- .pot file included.
- Minor fixes.
Download this release
Release Info
Developer | Arthur Gareginyan |
Plugin | My Custom Functions |
Version | 1.3 |
Comparing to | |
See all releases |
Code changes from version 1.2 to 1.3
- inc/settings_page.php +23 -18
- languages/anarcho_cfunctions-ru_RU.mo +0 -0
- languages/anarcho_cfunctions-ru_RU.po +0 -91
- languages/mcfunctions-ru_RU.mo +0 -0
- languages/mcfunctions-ru_RU.po +96 -0
- languages/mcfunctions.pot +87 -0
- my-custom-functions.php +7 -4
- readme.txt +34 -16
inc/settings_page.php
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
<?php
|
2 |
|
|
|
|
|
|
|
3 |
defined('ABSPATH') or die("Restricted access!");
|
4 |
|
5 |
/**
|
@@ -11,8 +14,10 @@ function anarcho_cfunctions_render_submenu_page() {
|
|
11 |
|
12 |
// Variables
|
13 |
$options = get_option( 'anarcho_cfunctions_settings' );
|
14 |
-
$content = isset( $options['anarcho_cfunctions-content'] ) && ! empty( $options['anarcho_cfunctions-content'] ) ? $options['anarcho_cfunctions-content'] : '
|
15 |
-
|
|
|
|
|
16 |
|
17 |
// Settings update message
|
18 |
if ( isset( $_GET['settings-updated'] ) ) :
|
@@ -39,18 +44,18 @@ function anarcho_cfunctions_render_submenu_page() {
|
|
39 |
|
40 |
// Page
|
41 |
?>
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
<?php settings_fields( 'anarcho_cfunctions_settings_group' ); ?>
|
52 |
-
<!--
|
53 |
-
|
54 |
<?php do_action( 'anarcho_cfunctions-sidebar-top' ); ?>
|
55 |
<p style="margin-top: 0">
|
56 |
<?php _e( 'This plugin allows you to EASILY and SAFELY add your own functions, snippets or any custom code to your site.', 'anarcho_cfunctions' ) ?>
|
@@ -65,9 +70,9 @@ function anarcho_cfunctions_render_submenu_page() {
|
|
65 |
</a>
|
66 |
</p>
|
67 |
<?php do_action( 'anarcho_cfunctions-sidebar-bottom' ); ?>
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
<div id="container" style="margin-right:210px;">
|
72 |
<?php do_action( 'anarcho_cfunctions-form-top' ); ?>
|
73 |
<div>
|
@@ -90,8 +95,8 @@ function anarcho_cfunctions_render_submenu_page() {
|
|
90 |
height: auto;
|
91 |
}
|
92 |
</style>
|
93 |
-
|
94 |
</form>
|
95 |
</div>
|
96 |
<?php
|
97 |
-
}
|
1 |
<?php
|
2 |
|
3 |
+
/**
|
4 |
+
* Prevent Direct Access
|
5 |
+
*/
|
6 |
defined('ABSPATH') or die("Restricted access!");
|
7 |
|
8 |
/**
|
14 |
|
15 |
// Variables
|
16 |
$options = get_option( 'anarcho_cfunctions_settings' );
|
17 |
+
$content = isset( $options['anarcho_cfunctions-content'] ) && ! empty( $options['anarcho_cfunctions-content'] ) ? $options['anarcho_cfunctions-content'] : '<?php
|
18 |
+
|
19 |
+
/* Enter Your Custom Functions Here */';
|
20 |
+
$error = get_option( 'anarcho_cfunctions_error' );
|
21 |
|
22 |
// Settings update message
|
23 |
if ( isset( $_GET['settings-updated'] ) ) :
|
44 |
|
45 |
// Page
|
46 |
?>
|
47 |
+
<div class="wrap">
|
48 |
+
<h2 style="text-align:center; color:cornflowerblue;">
|
49 |
+
<?php _e( 'My Custom Functions', 'anarcho_cfunctions' ); ?>
|
50 |
+
<br/>
|
51 |
+
<span style="margin-top:1px; font-size:0.6em; color: black;">
|
52 |
+
<?php _e( 'by <a href="http://mycyberuniverse.com/author.html" target="_blank" style="display:inline; padding:0;">Arthur "Berserkr" Gareginyan</a>', 'anarcho_cfunctions' ); ?>
|
53 |
+
<span/>
|
54 |
+
</h2>
|
55 |
+
<form name="anarcho_cfunctions-form" action="options.php" method="post" enctype="multipart/form-data">
|
56 |
<?php settings_fields( 'anarcho_cfunctions_settings_group' ); ?>
|
57 |
+
<!-- SIDEBAR -->
|
58 |
+
<div id="templateside" style="position:fixed; right:20px;">
|
59 |
<?php do_action( 'anarcho_cfunctions-sidebar-top' ); ?>
|
60 |
<p style="margin-top: 0">
|
61 |
<?php _e( 'This plugin allows you to EASILY and SAFELY add your own functions, snippets or any custom code to your site.', 'anarcho_cfunctions' ) ?>
|
70 |
</a>
|
71 |
</p>
|
72 |
<?php do_action( 'anarcho_cfunctions-sidebar-bottom' ); ?>
|
73 |
+
</div>
|
74 |
+
<!-- END-SIDEBAR -->
|
75 |
+
<!-- FORM -->
|
76 |
<div id="container" style="margin-right:210px;">
|
77 |
<?php do_action( 'anarcho_cfunctions-form-top' ); ?>
|
78 |
<div>
|
95 |
height: auto;
|
96 |
}
|
97 |
</style>
|
98 |
+
<!-- END-FORM -->
|
99 |
</form>
|
100 |
</div>
|
101 |
<?php
|
102 |
+
}
|
languages/anarcho_cfunctions-ru_RU.mo
DELETED
Binary file
|
languages/anarcho_cfunctions-ru_RU.po
DELETED
@@ -1,91 +0,0 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: My Custom Functions v1.0\n"
|
4 |
-
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: \n"
|
6 |
-
"PO-Revision-Date: 2014-08-13 15:09:17+0000\n"
|
7 |
-
"Last-Translator: Arthur /\"Berserkr/\" Gareginyan <arthurgareginyan@gmail.com>\n"
|
8 |
-
"Language-Team: \n"
|
9 |
-
"MIME-Version: 1.0\n"
|
10 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
-
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"Plural-Forms: nplurals=3; plural=n%100/10==1 ? 2 : n%10==1 ? 0 : (n+9)%10>3 ? 2 : 1;\n"
|
13 |
-
"X-Generator: CSL v1.x\n"
|
14 |
-
"X-Poedit-Language: Russian\n"
|
15 |
-
"X-Poedit-Country: RUSSIA\n"
|
16 |
-
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
-
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
|
18 |
-
"X-Poedit-Basepath: ../\n"
|
19 |
-
"X-Poedit-Bookmarks: \n"
|
20 |
-
"X-Poedit-SearchPath-0: .\n"
|
21 |
-
"X-Textdomain-Support: yes"
|
22 |
-
|
23 |
-
#. translators: plugin header field 'Name'
|
24 |
-
#: my-custom-functions.php:0
|
25 |
-
#: my-custom-functions.php:64
|
26 |
-
#: my-custom-functions.php:95
|
27 |
-
#@ anarcho_cfunctions
|
28 |
-
msgid "My Custom Functions"
|
29 |
-
msgstr ""
|
30 |
-
|
31 |
-
#. translators: plugin header field 'PluginURI'
|
32 |
-
#: my-custom-functions.php:0
|
33 |
-
#@ anarcho_cfunctions
|
34 |
-
msgid "http://mycyberuniverse.com"
|
35 |
-
msgstr ""
|
36 |
-
|
37 |
-
#. translators: plugin header field 'Description'
|
38 |
-
#: my-custom-functions.php:0
|
39 |
-
#@ anarcho_cfunctions
|
40 |
-
msgid "This is an awesome custom plugin with functionality that I'd like to keep when switching things."
|
41 |
-
msgstr ""
|
42 |
-
|
43 |
-
#. translators: plugin header field 'Author'
|
44 |
-
#: my-custom-functions.php:0
|
45 |
-
#@ anarcho_cfunctions
|
46 |
-
msgid "Arthur (Berserkr) Gareginyan"
|
47 |
-
msgstr ""
|
48 |
-
|
49 |
-
#. translators: plugin header field 'AuthorURI'
|
50 |
-
#: my-custom-functions.php:0
|
51 |
-
#@ anarcho_cfunctions
|
52 |
-
msgid "http://mycyberuniverse.com/author.html"
|
53 |
-
msgstr ""
|
54 |
-
|
55 |
-
#. translators: plugin header field 'Version'
|
56 |
-
#: my-custom-functions.php:0
|
57 |
-
#@ anarcho_cfunctions
|
58 |
-
msgid "1.0"
|
59 |
-
msgstr ""
|
60 |
-
|
61 |
-
#: my-custom-functions.php:51
|
62 |
-
#@ anarcho_cfunctions
|
63 |
-
msgid "Settings"
|
64 |
-
msgstr "Настройки"
|
65 |
-
|
66 |
-
#: my-custom-functions.php:64
|
67 |
-
#@ anarcho_cfunctions
|
68 |
-
msgid "Custom Functions"
|
69 |
-
msgstr ""
|
70 |
-
|
71 |
-
#: my-custom-functions.php:90
|
72 |
-
#@ anarcho_cfunctions
|
73 |
-
msgid "Custom functions updated successfully."
|
74 |
-
msgstr "Пользовательские функции успешно обновлены."
|
75 |
-
|
76 |
-
#: my-custom-functions.php:100
|
77 |
-
#@ anarcho_cfunctions
|
78 |
-
msgid "My Custom Functions allows you to add your own functions to theme."
|
79 |
-
msgstr "My Custom Functions позволяют вам добавлять свои собственные функции в тему."
|
80 |
-
|
81 |
-
#: my-custom-functions.php:101
|
82 |
-
#@ anarcho_cfunctions
|
83 |
-
msgid "To use, enter your custom functions, then click \"Update Custom Functions\". It's that simple!"
|
84 |
-
msgstr "Чтобы использовать, введите ваши пользовательские функции, а затем нажмите кнопку \"Обновить пользовательские функции\". Это так просто!"
|
85 |
-
|
86 |
-
#: my-custom-functions.php:102
|
87 |
-
#: my-custom-functions.php:112
|
88 |
-
#@ anarcho_cfunctions
|
89 |
-
msgid "Update Custom Functions"
|
90 |
-
msgstr "Обновить пользовательские функции"
|
91 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
languages/mcfunctions-ru_RU.mo
ADDED
Binary file
|
languages/mcfunctions-ru_RU.po
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
4 |
+
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
5 |
+
"Project-Id-Version: My Custom Functions\n"
|
6 |
+
"POT-Creation-Date: 2015-08-30 16:22+0300\n"
|
7 |
+
"PO-Revision-Date: 2015-08-30 17:30+0300\n"
|
8 |
+
"Language-Team: \n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.8.4\n"
|
13 |
+
"X-Poedit-Basepath: ..\n"
|
14 |
+
"X-Poedit-WPHeader: my-custom-functions.php\n"
|
15 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
+
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
17 |
+
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
18 |
+
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
19 |
+
"Last-Translator: \n"
|
20 |
+
"Language: ru\n"
|
21 |
+
"X-Poedit-SearchPath-0: .\n"
|
22 |
+
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
23 |
+
|
24 |
+
#: inc/settings_page.php:22
|
25 |
+
msgid "Custom functions updated successfully."
|
26 |
+
msgstr "Пользовательские функции успешно обновлены."
|
27 |
+
|
28 |
+
#: inc/settings_page.php:33
|
29 |
+
msgid "Sorry, but your code causes a \"Fatal error\", so it is not applied!"
|
30 |
+
msgstr ""
|
31 |
+
"Извините, но ваш код вызывает \"Fatal error\", так что он не будет применён!"
|
32 |
+
|
33 |
+
#: inc/settings_page.php:34
|
34 |
+
msgid "Please, check the code and try again."
|
35 |
+
msgstr "Пожалуйста, проверьте код и попробуйте еще раз."
|
36 |
+
|
37 |
+
#. Plugin Name of the plugin/theme
|
38 |
+
#: inc/settings_page.php:44 my-custom-functions.php:68
|
39 |
+
msgid "My Custom Functions"
|
40 |
+
msgstr ""
|
41 |
+
|
42 |
+
#: inc/settings_page.php:47
|
43 |
+
msgid ""
|
44 |
+
"by <a href=\"http://mycyberuniverse.com/author.html\" target=\"_blank\" "
|
45 |
+
"style=\"display:inline; padding:0;\">Arthur \"Berserkr\" Gareginyan</a>"
|
46 |
+
msgstr ""
|
47 |
+
|
48 |
+
#: inc/settings_page.php:56
|
49 |
+
msgid ""
|
50 |
+
"This plugin allows you to EASILY and SAFELY add your own functions, snippets "
|
51 |
+
"or any custom code to your site."
|
52 |
+
msgstr ""
|
53 |
+
"Этот плагин позволяет легко и безопасно добавлять свои собственные функции, "
|
54 |
+
"сниппеты или любой пользовательский код на ваш веб-сайт."
|
55 |
+
|
56 |
+
#: inc/settings_page.php:59
|
57 |
+
msgid ""
|
58 |
+
"To use, enter your custom functions, then click \"Update Custom Functions\". "
|
59 |
+
"It's that simple!"
|
60 |
+
msgstr ""
|
61 |
+
"Для использования, введите ваши пользовательские функции, затем нажмите "
|
62 |
+
"кнопку \"Обновить Пользовательские Функции\". Это так просто!"
|
63 |
+
|
64 |
+
#: inc/settings_page.php:61
|
65 |
+
msgid "Update Custom Functions"
|
66 |
+
msgstr "Обновить Пользовательские Функции"
|
67 |
+
|
68 |
+
#: my-custom-functions.php:55
|
69 |
+
msgid "Settings"
|
70 |
+
msgstr "Настройки"
|
71 |
+
|
72 |
+
#: my-custom-functions.php:68
|
73 |
+
msgid "Custom Functions"
|
74 |
+
msgstr "Пользовательские Функции"
|
75 |
+
|
76 |
+
#. Plugin URI of the plugin/theme
|
77 |
+
msgid ""
|
78 |
+
"http://mycyberuniverse.com/my_programs/wp-plugin-my-custom-functions.html "
|
79 |
+
msgstr ""
|
80 |
+
|
81 |
+
#. Description of the plugin/theme
|
82 |
+
msgid ""
|
83 |
+
"EASILY and SAFELY add your own functions, snippets or any custom codes "
|
84 |
+
"directly out of your WordPress Dashbord without need of an external editor."
|
85 |
+
msgstr ""
|
86 |
+
"ПРОСТО и БЕЗОПАСНО добавляйте свои собственные функции, сниппеты или любые "
|
87 |
+
"пользовательские коды непосредственно из вашего WordPress Dashboard без "
|
88 |
+
"необходимости во внешнем редакторе."
|
89 |
+
|
90 |
+
#. Author of the plugin/theme
|
91 |
+
msgid "Arthur \"Berserkr\" Gareginyan"
|
92 |
+
msgstr "Артур “Берсерк” Гарегинян"
|
93 |
+
|
94 |
+
#. Author URI of the plugin/theme
|
95 |
+
msgid "http://mycyberuniverse.com/author.html"
|
96 |
+
msgstr ""
|
languages/mcfunctions.pot
ADDED
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#, fuzzy
|
2 |
+
msgid ""
|
3 |
+
msgstr ""
|
4 |
+
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
+
"Project-Id-Version: My Custom Functions\n"
|
6 |
+
"POT-Creation-Date: 2015-08-30 17:32+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 1.8.4\n"
|
14 |
+
"X-Poedit-Basepath: ..\n"
|
15 |
+
"X-Poedit-WPHeader: my-custom-functions.php\n"
|
16 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
+
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
18 |
+
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
19 |
+
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
20 |
+
"X-Poedit-SearchPath-0: .\n"
|
21 |
+
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
+
|
23 |
+
#: inc/settings_page.php:22
|
24 |
+
msgid "Custom functions updated successfully."
|
25 |
+
msgstr ""
|
26 |
+
|
27 |
+
#: inc/settings_page.php:33
|
28 |
+
msgid "Sorry, but your code causes a \"Fatal error\", so it is not applied!"
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
+
#: inc/settings_page.php:34
|
32 |
+
msgid "Please, check the code and try again."
|
33 |
+
msgstr ""
|
34 |
+
|
35 |
+
#. Plugin Name of the plugin/theme
|
36 |
+
#: inc/settings_page.php:44 my-custom-functions.php:68
|
37 |
+
msgid "My Custom Functions"
|
38 |
+
msgstr ""
|
39 |
+
|
40 |
+
#: inc/settings_page.php:47
|
41 |
+
msgid ""
|
42 |
+
"by <a href=\"http://mycyberuniverse.com/author.html\" target=\"_blank\" "
|
43 |
+
"style=\"display:inline; padding:0;\">Arthur \"Berserkr\" Gareginyan</a>"
|
44 |
+
msgstr ""
|
45 |
+
|
46 |
+
#: inc/settings_page.php:56
|
47 |
+
msgid ""
|
48 |
+
"This plugin allows you to EASILY and SAFELY add your own functions, snippets "
|
49 |
+
"or any custom code to your site."
|
50 |
+
msgstr ""
|
51 |
+
|
52 |
+
#: inc/settings_page.php:59
|
53 |
+
msgid ""
|
54 |
+
"To use, enter your custom functions, then click \"Update Custom Functions\". "
|
55 |
+
"It's that simple!"
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
+
#: inc/settings_page.php:61
|
59 |
+
msgid "Update Custom Functions"
|
60 |
+
msgstr ""
|
61 |
+
|
62 |
+
#: my-custom-functions.php:55
|
63 |
+
msgid "Settings"
|
64 |
+
msgstr ""
|
65 |
+
|
66 |
+
#: my-custom-functions.php:68
|
67 |
+
msgid "Custom Functions"
|
68 |
+
msgstr ""
|
69 |
+
|
70 |
+
#. Plugin URI of the plugin/theme
|
71 |
+
msgid ""
|
72 |
+
"http://mycyberuniverse.com/my_programs/wp-plugin-my-custom-functions.html "
|
73 |
+
msgstr ""
|
74 |
+
|
75 |
+
#. Description of the plugin/theme
|
76 |
+
msgid ""
|
77 |
+
"EASILY and SAFELY add your own functions, snippets or any custom codes "
|
78 |
+
"directly out of your WordPress Dashboard without need of an external editor."
|
79 |
+
msgstr ""
|
80 |
+
|
81 |
+
#. Author of the plugin/theme
|
82 |
+
msgid "Arthur \"Berserkr\" Gareginyan"
|
83 |
+
msgstr ""
|
84 |
+
|
85 |
+
#. Author URI of the plugin/theme
|
86 |
+
msgid "http://mycyberuniverse.com/author.html"
|
87 |
+
msgstr ""
|
my-custom-functions.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: My Custom Functions
|
4 |
-
* Plugin URI: http://mycyberuniverse.com/my_programs/wp-plugin-my-custom-functions.html
|
5 |
-
* Description: EASILY and SAFELY add your own functions, snippets or any custom codes directly out of your WordPress
|
6 |
* Author: Arthur "Berserkr" Gareginyan
|
7 |
* Author URI: http://mycyberuniverse.com/author.html
|
8 |
-
* Version: 1.
|
9 |
* License: GPL3
|
10 |
-
* Text Domain:
|
11 |
* Domain Path: /languages/
|
12 |
*
|
13 |
* Copyright 2014-2015 Arthur "Berserkr" Gareginyan (email : arthurgareginyan@gmail.com)
|
@@ -29,6 +29,9 @@
|
|
29 |
*
|
30 |
*/
|
31 |
|
|
|
|
|
|
|
32 |
defined('ABSPATH') or die("Restricted access!");
|
33 |
|
34 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: My Custom Functions
|
4 |
+
* Plugin URI: http://mycyberuniverse.com/my_programs/wp-plugin-my-custom-functions.html
|
5 |
+
* Description: EASILY and SAFELY add your own functions, snippets or any custom codes directly out of your WordPress Dashboard without need of an external editor.
|
6 |
* Author: Arthur "Berserkr" Gareginyan
|
7 |
* Author URI: http://mycyberuniverse.com/author.html
|
8 |
+
* Version: 1.3
|
9 |
* License: GPL3
|
10 |
+
* Text Domain: mcfunctions
|
11 |
* Domain Path: /languages/
|
12 |
*
|
13 |
* Copyright 2014-2015 Arthur "Berserkr" Gareginyan (email : arthurgareginyan@gmail.com)
|
29 |
*
|
30 |
*/
|
31 |
|
32 |
+
/**
|
33 |
+
* Prevent Direct Access
|
34 |
+
*/
|
35 |
defined('ABSPATH') or die("Restricted access!");
|
36 |
|
37 |
/**
|
readme.txt
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
=== My Custom Functions ===
|
2 |
Contributors: Arthur Gareginyan
|
3 |
-
Tags: code, php, function, snippet, custom, execute
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=JG3SB73K86FA8
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.3
|
@@ -8,11 +8,11 @@ Stable tag: 1.2
|
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
11 |
-
EASILY and SAFELY add your own functions, snippets or any custom codes directly out of your WordPress
|
12 |
|
13 |
|
14 |
== Description ==
|
15 |
-
An easy to use WordPress plugin that lets you EASILY and SAFELY add your own functions, snippets or any custom codes for execution in WordPress environment directly out of your WordPress
|
16 |
|
17 |
It’s purpose is to provide a familiar experience to WordPress users. No need any more editing the functions.php file of your theme. Just add your code in the field on the page and this plugin will do the rest for you.
|
18 |
|
@@ -29,11 +29,13 @@ This is a simple and perfect tool to use as your site's functionality plugin.
|
|
29 |
|
30 |
* Safety execution code (Checks the entered code for fatal errors).
|
31 |
* Syntax highlighting (by CodeMirror).
|
32 |
-
* Line numbering.
|
33 |
-
*
|
|
|
34 |
|
35 |
**Coming soon:**
|
36 |
|
|
|
37 |
* (Got more ideas? Tell me!)
|
38 |
|
39 |
For more details please visit - [Dedicated Plugin Page](http://mycyberuniverse.com/my_programs/wp-plugin-my-custom-functions.html)
|
@@ -43,14 +45,24 @@ For more details please visit - [Dedicated Plugin Page](http://mycyberuniverse.c
|
|
43 |
* Your votes really make a difference! Thanks.
|
44 |
|
45 |
== Installation ==
|
46 |
-
Install "My Custom Functions" just as you would any other WP Plugin
|
47 |
|
48 |
-
|
49 |
-
2. Activate the plugin through the "Plugins" menu in WordPress.
|
50 |
-
3. Go to "Appearance" -> "Custom Functions".
|
51 |
-
4. Add your code in the field, then click "Update Custom Functions".
|
52 |
|
53 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
|
55 |
[More help installing Plugins](http://codex.wordpress.org/Managing_Plugins#Installing_Plugins "WordPress Codex: Installing Plugins")
|
56 |
|
@@ -59,10 +71,11 @@ That’s it. You are already getting your functions working.
|
|
59 |
= Will this Plugin work on my WordPress.com website? =
|
60 |
Sorry, this plugin is available for use only on self-hosted (WordPress.org) websites.
|
61 |
|
62 |
-
=
|
63 |
-
|
64 |
-
|
65 |
-
|
|
|
66 |
|
67 |
= Where to report bug if found? =
|
68 |
Please visit [Dedicated Plugin Page](http://mycyberuniverse.com/my_programs/wp-plugin-my-custom-functions.html) and report.
|
@@ -101,6 +114,9 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
|
|
101 |
|
102 |
|
103 |
== Changelog ==
|
|
|
|
|
|
|
104 |
= 1.2 =
|
105 |
* Added the syntax highlighting and line numbering.
|
106 |
= 1.1 =
|
@@ -116,11 +132,13 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
|
|
116 |
|
117 |
|
118 |
== Upgrade Notice ==
|
|
|
|
|
119 |
= 1.2 =
|
120 |
Added the syntax highlighting and line numbering.
|
121 |
= 1.1 =
|
122 |
Fixed positioning of the sidebar at the plugin page.
|
123 |
= 1.0 =
|
124 |
-
Please update to first stable
|
125 |
= 0.2 =
|
126 |
Please update to beta version.
|
1 |
=== My Custom Functions ===
|
2 |
Contributors: Arthur Gareginyan
|
3 |
+
Tags: code, php, function, snippet, custom, execute, edit, editing, editor, functionality plugin, codemirror, syntax highlighting, syntaxhighlighting, syntax highlighter, syntaxhighlighter, syntax,
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=JG3SB73K86FA8
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.3
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
11 |
+
EASILY and SAFELY add your own functions, snippets or any custom codes directly out of your WordPress Dashboard without need of an external editor.
|
12 |
|
13 |
|
14 |
== Description ==
|
15 |
+
An easy to use WordPress plugin that lets you EASILY and SAFELY add your own functions, snippets or any custom codes for execution in WordPress environment directly out of your WordPress Dashboard without any need of an external editor.
|
16 |
|
17 |
It’s purpose is to provide a familiar experience to WordPress users. No need any more editing the functions.php file of your theme. Just add your code in the field on the page and this plugin will do the rest for you.
|
18 |
|
29 |
|
30 |
* Safety execution code (Checks the entered code for fatal errors).
|
31 |
* Syntax highlighting (by CodeMirror).
|
32 |
+
* Line numbering (by CodeMirror).
|
33 |
+
* Input areas allow for tab indentation.
|
34 |
+
* Ready for translation (.pot file included).
|
35 |
|
36 |
**Coming soon:**
|
37 |
|
38 |
+
* Trigger to temporary disable the custom code.
|
39 |
* (Got more ideas? Tell me!)
|
40 |
|
41 |
For more details please visit - [Dedicated Plugin Page](http://mycyberuniverse.com/my_programs/wp-plugin-my-custom-functions.html)
|
45 |
* Your votes really make a difference! Thanks.
|
46 |
|
47 |
== Installation ==
|
48 |
+
Install "My Custom Functions" just as you would any other WP Plugin.
|
49 |
|
50 |
+
Automatically via WordPress:
|
|
|
|
|
|
|
51 |
|
52 |
+
1. Log into WordPress Dashboard of your website.
|
53 |
+
2. Go to "Plugins" —> “add new plugins".
|
54 |
+
3. Find this plugin and click install.
|
55 |
+
4. Activate this plugin through the "Plugins" tab.
|
56 |
+
|
57 |
+
Manual via FTP:
|
58 |
+
|
59 |
+
1. Download a copy (zip file) of this plugin from WordPress.org.
|
60 |
+
2. Unzip the zip file.
|
61 |
+
3. Upload the unzipped directory to your website's plugin directory (/wp-content/plugins/).
|
62 |
+
4. Log into WordPress Dashboard of your website.
|
63 |
+
5. Activate this plugin through the "Plugins" tab.
|
64 |
+
|
65 |
+
After installation, a "Custom Functions” menu item will appear in the “Appearance" section. Click on this in order to view plugin's administration page.
|
66 |
|
67 |
[More help installing Plugins](http://codex.wordpress.org/Managing_Plugins#Installing_Plugins "WordPress Codex: Installing Plugins")
|
68 |
|
71 |
= Will this Plugin work on my WordPress.com website? =
|
72 |
Sorry, this plugin is available for use only on self-hosted (WordPress.org) websites.
|
73 |
|
74 |
+
= How much of PHP code (characters) I can enter in the text field? =
|
75 |
+
I don't limit the number of characters.
|
76 |
+
|
77 |
+
= Can I use this plugin on my language? =
|
78 |
+
Yes. But If your language is not available then you can make one. This plugin is ready for translation. The .pot file is included and placed in "languages" folder. Many of plugin users would be delighted if you shared your translation with the community. Just send the translation files (*.po, *.mo) to me at the arthurgareginyan@gmail.com and I will include the translation within the next plugin update.
|
79 |
|
80 |
= Where to report bug if found? =
|
81 |
Please visit [Dedicated Plugin Page](http://mycyberuniverse.com/my_programs/wp-plugin-my-custom-functions.html) and report.
|
114 |
|
115 |
|
116 |
== Changelog ==
|
117 |
+
= 1.3 =
|
118 |
+
* .pot file included.
|
119 |
+
* Minor fixes.
|
120 |
= 1.2 =
|
121 |
* Added the syntax highlighting and line numbering.
|
122 |
= 1.1 =
|
132 |
|
133 |
|
134 |
== Upgrade Notice ==
|
135 |
+
= 1.3 =
|
136 |
+
Please update to new version!
|
137 |
= 1.2 =
|
138 |
Added the syntax highlighting and line numbering.
|
139 |
= 1.1 =
|
140 |
Fixed positioning of the sidebar at the plugin page.
|
141 |
= 1.0 =
|
142 |
+
Please update to first stable release! Added the check for safety execution code.
|
143 |
= 0.2 =
|
144 |
Please update to beta version.
|