Server IP & Memory Usage Display - Version 1.1.0

Version Description

  • Changes for compatibility with PHP 7. Changed "function ip_address_memory_usage() {" to "public function __construct() {". Thanks to Sybre Waaijer for the fix.
Download this release

Release Info

Developer apasionados
Plugin Icon 128x128 Server IP & Memory Usage Display
Version 1.1.0
Comparing to
See all releases

Code changes from version 1.0.3 to 1.1.0

Files changed (2) hide show
  1. readme.txt +6 -3
  2. server-ip-memory-usage.php +2 -2
readme.txt CHANGED
@@ -5,7 +5,7 @@ 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.3.0
8
- Stable tag: 1.0.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -80,6 +80,9 @@ Of course we do. That's why we created it. ;-)
80
 
81
  == Changelog ==
82
 
 
 
 
83
  = 1.0.3 =
84
  * Removed call to __construct() which caused problems on some systems: ERROR "Strict Standards: Redefining already defined constructor for class ip_address_memory_usage in /home/---/public_html/wp-content/plugins/server-ip-memory-usage/server-ip-memory-usage.php on line 40)".
85
 
@@ -98,8 +101,8 @@ Of course we do. That's why we created it. ;-)
98
 
99
  == Upgrade Notice ==
100
 
101
- = 1.0.3 =
102
- Stability improvement.
103
 
104
  == Contact ==
105
 
5
  Tags: memory, memory-limit, ip, ips, admin, adress, php, server, info
6
  Requires at least: 3.0.1
7
  Tested up to: 4.3.0
8
+ Stable tag: 1.1.0
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
80
 
81
  == Changelog ==
82
 
83
+ = 1.1.0 =
84
+ * Changes for compatibility with PHP 7. Changed "function ip_address_memory_usage() {" to "public function __construct() {". Thanks to Sybre Waaijer for the fix.
85
+
86
  = 1.0.3 =
87
  * Removed call to __construct() which caused problems on some systems: ERROR "Strict Standards: Redefining already defined constructor for class ip_address_memory_usage in /home/---/public_html/wp-content/plugins/server-ip-memory-usage/server-ip-memory-usage.php on line 40)".
88
 
101
 
102
  == Upgrade Notice ==
103
 
104
+ = 1.1.0 =
105
+ Compatibility with PHP 7.
106
 
107
  == Contact ==
108
 
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: 1.0.3
7
  Author: Apasionados, Apasionados del Marketing
8
  Author URI: http://apasionados.es
9
  Text Domain: server-ip-memory-usage
@@ -32,7 +32,7 @@ if ( is_admin() ) {
32
  var $memory = false;
33
  var $server_ip_address = false;
34
 
35
- function ip_address_memory_usage() {
36
  add_action( 'admin_init', 'ipmem_load_language' );
37
  function ipmem_load_language() {
38
  load_plugin_textdomain( 'server-ip-memory-usage', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' );
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: 1.1.0
7
  Author: Apasionados, Apasionados del Marketing
8
  Author URI: http://apasionados.es
9
  Text Domain: server-ip-memory-usage
32
  var $memory = false;
33
  var $server_ip_address = false;
34
 
35
+ public function __construct() {
36
  add_action( 'admin_init', 'ipmem_load_language' );
37
  function ipmem_load_language() {
38
  load_plugin_textdomain( 'server-ip-memory-usage', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' );