Version Description
- Added compatibility with PHP 7.2.x: "function create_function() is deprecated in PHP 7.2".
=
Download this release
Release Info
Developer | apasionados |
Plugin | Server IP & Memory Usage Display |
Version | 2.1.0 |
Comparing to | |
See all releases |
Code changes from version 2.0.3 to 2.1.0
- readme.txt +8 -4
- server-ip-memory-usage.php +4 -2
readme.txt
CHANGED
@@ -4,8 +4,9 @@ Donate link: http://apasionados.es/
|
|
4 |
Author URI: http://apasionados.es/
|
5 |
Tags: memory, memory-limit, ip, ips, admin, adress, php, server, info
|
6 |
Requires at least: 3.0.1
|
7 |
-
Tested up to: 4.
|
8 |
-
|
|
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -87,6 +88,9 @@ Of course we do. That's why we created it. ;-)
|
|
87 |
|
88 |
== Changelog ==
|
89 |
|
|
|
|
|
|
|
90 |
= 2.0.3 =
|
91 |
* Solved error with memory_get_peak_usage().
|
92 |
|
@@ -129,8 +133,8 @@ Of course we do. That's why we created it. ;-)
|
|
129 |
|
130 |
== Upgrade Notice ==
|
131 |
|
132 |
-
= 2.0
|
133 |
-
*
|
134 |
|
135 |
== Contact ==
|
136 |
|
4 |
Author URI: http://apasionados.es/
|
5 |
Tags: memory, memory-limit, ip, ips, admin, adress, php, server, info
|
6 |
Requires at least: 3.0.1
|
7 |
+
Tested up to: 4.9
|
8 |
+
Requires PHP: 5.3
|
9 |
+
Stable tag: 2.1.0
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
88 |
|
89 |
== Changelog ==
|
90 |
|
91 |
+
= 2.1.0 (03/JAN/2018) =
|
92 |
+
* Added compatibility with PHP 7.2.x: "function create_function() is deprecated in PHP 7.2". Thanks to @pputzer.
|
93 |
+
|
94 |
= 2.0.3 =
|
95 |
* Solved error with memory_get_peak_usage().
|
96 |
|
133 |
|
134 |
== Upgrade Notice ==
|
135 |
|
136 |
+
= 2.1.0 =
|
137 |
+
* Added compatibility with PHP 7.2.x: "function create_function() is deprecated in PHP 7.2".
|
138 |
|
139 |
== Contact ==
|
140 |
|
server-ip-memory-usage.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Server IP & Memory Usage Display
|
4 |
Plugin URI: http://apasionados.es/#utm_source=wpadmin&utm_medium=plugin&utm_campaign=server-ip-memory-usage-plugin
|
5 |
Description: Show the memory limit, current memory usage and IP address in the admin footer.
|
6 |
-
Version: 2.0
|
7 |
Author: Apasionados, Apasionados del Marketing
|
8 |
Author URI: http://apasionados.es
|
9 |
Text Domain: server-ip-memory-usage
|
@@ -98,7 +98,9 @@ if ( is_admin() ) {
|
|
98 |
|
99 |
}
|
100 |
|
101 |
-
add_action( 'plugins_loaded',
|
|
|
|
|
102 |
}
|
103 |
|
104 |
/**
|
3 |
Plugin Name: Server IP & Memory Usage Display
|
4 |
Plugin URI: http://apasionados.es/#utm_source=wpadmin&utm_medium=plugin&utm_campaign=server-ip-memory-usage-plugin
|
5 |
Description: Show the memory limit, current memory usage and IP address in the admin footer.
|
6 |
+
Version: 2.1.0
|
7 |
Author: Apasionados, Apasionados del Marketing
|
8 |
Author URI: http://apasionados.es
|
9 |
Text Domain: server-ip-memory-usage
|
98 |
|
99 |
}
|
100 |
|
101 |
+
add_action( 'plugins_loaded', function() {
|
102 |
+
$memory = new ip_address_memory_usage();
|
103 |
+
} );
|
104 |
}
|
105 |
|
106 |
/**
|