Version Description
- Fixed the bug due to which the the "Warning: Constants may only evaluate to scalar values in " warnings are displayed.
Download this release
Release Info
Developer | Arthur Gareginyan |
Plugin | My Custom Functions |
Version | 4.1.1 |
Comparing to | |
See all releases |
Code changes from version 4.1 to 4.1.1
- inc/php/page.php +2 -2
- inc/php/version.php +7 -1
- my-custom-functions.php +2 -2
- readme.txt +4 -1
inc/php/page.php
CHANGED
@@ -15,8 +15,8 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
15 |
function MCFunctions_render_submenu_page() {
|
16 |
|
17 |
// Call messages
|
18 |
-
MCFunctions_hello_message();
|
19 |
-
MCFunctions_error_message();
|
20 |
MCFunctions_successfull_message();
|
21 |
MCFunctions_parsing_error_message();
|
22 |
|
15 |
function MCFunctions_render_submenu_page() {
|
16 |
|
17 |
// Call messages
|
18 |
+
//MCFunctions_hello_message();
|
19 |
+
//MCFunctions_error_message();
|
20 |
MCFunctions_successfull_message();
|
21 |
MCFunctions_parsing_error_message();
|
22 |
|
inc/php/version.php
CHANGED
@@ -71,4 +71,10 @@ function MCFunctions_plugin_version_number() {
|
|
71 |
}
|
72 |
|
73 |
}
|
74 |
-
MCFunctions_plugin_version_number();
|
|
|
|
|
|
|
|
|
|
|
|
71 |
}
|
72 |
|
73 |
}
|
74 |
+
//MCFunctions_plugin_version_number();
|
75 |
+
|
76 |
+
// TEMPORARY FIX
|
77 |
+
function MCFunctions_plugin_temp_fix() {
|
78 |
+
delete_option( MCFUNC_SETTINGS . '_service_info' );
|
79 |
+
}
|
80 |
+
MCFunctions_plugin_temp_fix();
|
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 Dashboard without need of an external editor.
|
6 |
* Author: Arthur Gareginyan
|
7 |
* Author URI: http://www.arthurgareginyan.com
|
8 |
-
* Version: 4.1
|
9 |
* License: GPL3
|
10 |
* Text Domain: my-custom-functions
|
11 |
* Domain Path: /languages/
|
@@ -66,7 +66,7 @@ defined( 'MCFUNC_SLUG' ) or define( 'MCFUNC_SLUG', 'my-custom-functions' );
|
|
66 |
defined( 'MCFUNC_PREFIX' ) or define( 'MCFUNC_PREFIX', 'MCFunctions' );
|
67 |
defined( 'MCFUNC_SETTINGS' ) or define( 'MCFUNC_SETTINGS', 'anarcho_cfunctions' );
|
68 |
defined( 'MCFUNC_NAME' ) or define( 'MCFUNC_NAME', 'My Custom Functions' );
|
69 |
-
defined( 'MCFUNC_VERSION' ) or define( 'MCFUNC_VERSION',
|
70 |
|
71 |
/**
|
72 |
* Load the plugin modules
|
5 |
* Description: Easily and safely add your custom functions (PHP code) directly out of your WordPress Dashboard without need of an external editor.
|
6 |
* Author: Arthur Gareginyan
|
7 |
* Author URI: http://www.arthurgareginyan.com
|
8 |
+
* Version: 4.1.1
|
9 |
* License: GPL3
|
10 |
* Text Domain: my-custom-functions
|
11 |
* Domain Path: /languages/
|
66 |
defined( 'MCFUNC_PREFIX' ) or define( 'MCFUNC_PREFIX', 'MCFunctions' );
|
67 |
defined( 'MCFUNC_SETTINGS' ) or define( 'MCFUNC_SETTINGS', 'anarcho_cfunctions' );
|
68 |
defined( 'MCFUNC_NAME' ) or define( 'MCFUNC_NAME', 'My Custom Functions' );
|
69 |
+
defined( 'MCFUNC_VERSION' ) or define( 'MCFUNC_VERSION', '4.1.1' );
|
70 |
|
71 |
/**
|
72 |
* Load the plugin modules
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: code, php, function, snippet, custom, execute, edit, editing, editor, func
|
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.7
|
7 |
-
Stable tag: 4.1
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -175,6 +175,9 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
|
|
175 |
|
176 |
== Changelog ==
|
177 |
|
|
|
|
|
|
|
178 |
= 4.1 =
|
179 |
* Added new constants: "_SLUG", "_PREFIX", "_SETTINGS" and "_NAME".
|
180 |
* Value of the "_VERSION" constant replaced with information from the plugin header data.
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.7
|
7 |
+
Stable tag: 4.1.1
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
175 |
|
176 |
== Changelog ==
|
177 |
|
178 |
+
= 4.1.1 =
|
179 |
+
* Fixed the bug due to which the the "Warning: Constants may only evaluate to scalar values in " warnings are displayed.
|
180 |
+
|
181 |
= 4.1 =
|
182 |
* Added new constants: "_SLUG", "_PREFIX", "_SETTINGS" and "_NAME".
|
183 |
* Value of the "_VERSION" constant replaced with information from the plugin header data.
|