Version Description
- Added check for PHP version of the server. Plugins works with PHP 5.3 or greater. If PHP version is less than 5.3 the plugin is not activated.
Download this release
Release Info
Developer | apasionados |
Plugin | Server IP & Memory Usage Display |
Version | 1.4.0 |
Comparing to | |
See all releases |
Code changes from version 1.3.3 to 1.4.0
- lang/server-ip-memory-usage-es_ES.mo +0 -0
- lang/server-ip-memory-usage-es_ES.po +29 -6
- lang/server-ip-memory-usage.pot +68 -0
- readme.txt +14 -4
- server-ip-memory-usage.php +19 -2
lang/server-ip-memory-usage-es_ES.mo
CHANGED
Binary file
|
lang/server-ip-memory-usage-es_ES.po
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: ip-address-memory-usage\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: Ramon <marketing@apasionados.es>\n"
|
7 |
"Language-Team: Apasionados <info@apasionados.es>\n"
|
8 |
"Language: es_ES\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.
|
13 |
"X-Poedit-KeywordsList: __;_;gettext;gettext_noop;_e\n"
|
14 |
"X-Poedit-Basepath: .\n"
|
15 |
"X-Poedit-SearchPath-0: .\n"
|
@@ -32,14 +32,37 @@ msgstr ""
|
|
32 |
msgid "N/A"
|
33 |
msgstr "N/D"
|
34 |
|
35 |
-
#: ../server-ip-memory-usage.php:
|
36 |
msgid "Memory"
|
37 |
msgstr "Memoria"
|
38 |
|
39 |
-
#: ../server-ip-memory-usage.php:
|
40 |
msgid "of"
|
41 |
msgstr "de"
|
42 |
|
43 |
-
#: ../server-ip-memory-usage.php:
|
44 |
msgid "WP LIMIT"
|
45 |
msgstr "LÍMITE WP"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: ip-address-memory-usage\n"
|
4 |
+
"POT-Creation-Date: 2016-12-27 11:04+0100\n"
|
5 |
+
"PO-Revision-Date: 2016-12-27 11:04+0100\n"
|
6 |
"Last-Translator: Ramon <marketing@apasionados.es>\n"
|
7 |
"Language-Team: Apasionados <info@apasionados.es>\n"
|
8 |
"Language: es_ES\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.11\n"
|
13 |
"X-Poedit-KeywordsList: __;_;gettext;gettext_noop;_e\n"
|
14 |
"X-Poedit-Basepath: .\n"
|
15 |
"X-Poedit-SearchPath-0: .\n"
|
32 |
msgid "N/A"
|
33 |
msgstr "N/D"
|
34 |
|
35 |
+
#: ../server-ip-memory-usage.php:92
|
36 |
msgid "Memory"
|
37 |
msgstr "Memoria"
|
38 |
|
39 |
+
#: ../server-ip-memory-usage.php:92
|
40 |
msgid "of"
|
41 |
msgstr "de"
|
42 |
|
43 |
+
#: ../server-ip-memory-usage.php:92
|
44 |
msgid "WP LIMIT"
|
45 |
msgstr "LÍMITE WP"
|
46 |
+
|
47 |
+
#: ../server-ip-memory-usage.php:112
|
48 |
+
msgid "Could not activate plugin: PHP version error"
|
49 |
+
msgstr "No se ha podido activar el plugin: Error de versión PHP"
|
50 |
+
|
51 |
+
#: ../server-ip-memory-usage.php:112
|
52 |
+
msgid "You are using PHP version"
|
53 |
+
msgstr "Estás usando la versión de PHP"
|
54 |
+
|
55 |
+
#: ../server-ip-memory-usage.php:112
|
56 |
+
msgid "This plugin has been tested with PHP versions 5.3 and greater."
|
57 |
+
msgstr "Este plugin ha sido probado versiones de PHP 5.3 y superiores."
|
58 |
+
|
59 |
+
#: ../server-ip-memory-usage.php:112
|
60 |
+
msgid ""
|
61 |
+
"WordPress itself <a href=\"https://wordpress.org/about/requirements/\" "
|
62 |
+
"target=\"_blank\">recommends using PHP version 7 or greater</a>. Please "
|
63 |
+
"upgrade your PHP version or contact your Server administrator."
|
64 |
+
msgstr ""
|
65 |
+
"WordPress <a href=\"https://wordpress.org/about/requirements/\" target="
|
66 |
+
"\"_blank\">recomienda el uso de PHP versión 7 o superior</a> . Por favor, "
|
67 |
+
"actualiza tu versión de PHP o ponte en contacto con el administrador del "
|
68 |
+
"servidor."
|
lang/server-ip-memory-usage.pot
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#, fuzzy
|
2 |
+
msgid ""
|
3 |
+
msgstr ""
|
4 |
+
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
+
"Project-Id-Version: Server IP & Memory Usage Display\n"
|
6 |
+
"POT-Creation-Date: 2016-12-27 11:05+0100\n"
|
7 |
+
"PO-Revision-Date: 2016-12-27 11:05+0100\n"
|
8 |
+
"Last-Translator: Ramon <marketing@apasionados.es>\n"
|
9 |
+
"Language-Team: Ramon <marketing@apasionados.es>\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.11\n"
|
14 |
+
"X-Poedit-Basepath: ..\n"
|
15 |
+
"X-Poedit-WPHeader: server-ip-memory-usage.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 |
+
#. Plugin Name of the plugin/theme
|
24 |
+
#: server-ip-memory-usage.php:26
|
25 |
+
msgid "Server IP & Memory Usage Display"
|
26 |
+
msgstr ""
|
27 |
+
|
28 |
+
#. Description of the plugin/theme
|
29 |
+
#: server-ip-memory-usage.php:26
|
30 |
+
msgid ""
|
31 |
+
"Show the memory limit, current memory usage and IP address in the admin "
|
32 |
+
"footer."
|
33 |
+
msgstr ""
|
34 |
+
|
35 |
+
#: server-ip-memory-usage.php:82
|
36 |
+
msgid "N/A"
|
37 |
+
msgstr ""
|
38 |
+
|
39 |
+
#: server-ip-memory-usage.php:92
|
40 |
+
msgid "Memory"
|
41 |
+
msgstr ""
|
42 |
+
|
43 |
+
#: server-ip-memory-usage.php:92
|
44 |
+
msgid "of"
|
45 |
+
msgstr ""
|
46 |
+
|
47 |
+
#: server-ip-memory-usage.php:92
|
48 |
+
msgid "WP LIMIT"
|
49 |
+
msgstr ""
|
50 |
+
|
51 |
+
#: server-ip-memory-usage.php:112
|
52 |
+
msgid "Could not activate plugin: PHP version error"
|
53 |
+
msgstr ""
|
54 |
+
|
55 |
+
#: server-ip-memory-usage.php:112
|
56 |
+
msgid "You are using PHP version"
|
57 |
+
msgstr ""
|
58 |
+
|
59 |
+
#: server-ip-memory-usage.php:112
|
60 |
+
msgid "This plugin has been tested with PHP versions 5.3 and greater."
|
61 |
+
msgstr ""
|
62 |
+
|
63 |
+
#: server-ip-memory-usage.php:112
|
64 |
+
msgid ""
|
65 |
+
"WordPress itself <a href=\"https://wordpress.org/about/requirements/\" "
|
66 |
+
"target=\"_blank\">recommends using PHP version 7 or greater</a>. Please "
|
67 |
+
"upgrade your PHP version or contact your Server administrator."
|
68 |
+
msgstr ""
|
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.7
|
8 |
-
Stable tag: 1.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -35,6 +35,10 @@ We had been using the WordPress plugin [WP-Memory-Usage](http://wordpress.org/pl
|
|
35 |
|
36 |
This is why we decided to create a new plugin that solves these two explained needs: IP address display and ability to translate.
|
37 |
|
|
|
|
|
|
|
|
|
38 |
= Server IP & Memory Usage Display Plugin in your Language! =
|
39 |
This first release is avaliable in English and Spanish. In the "lang" folder we have included the necessarry files to translate this plugin.
|
40 |
|
@@ -57,6 +61,8 @@ You can access the description of the plugin in Spanish at: [Server IP & Memory
|
|
57 |
|
58 |
Please note that the plugin should not be used together with other plugins with similar funcionalities like: [WP-Memory-Usage](http://wordpress.org/plugins/wp-memory-usage/ "WP-Memory-Usage").
|
59 |
|
|
|
|
|
60 |
== Frequently Asked Questions ==
|
61 |
|
62 |
= Why did you make this plugin? =
|
@@ -71,15 +77,19 @@ You can simply activate, deactivate or delete it in your plugin management secti
|
|
71 |
|
72 |
= Are there any known incompatibilities? =
|
73 |
The plugin should not be used together with other plugins with similar funcionalities like: [WP-Memory-Usage](http://wordpress.org/plugins/wp-memory-usage/ "WP-Memory-Usage").
|
|
|
74 |
|
75 |
= Are there any server requirements? =
|
76 |
-
The PHP version should be at least 5.3
|
77 |
|
78 |
= Do you make use of Server IP & Memory Usage Display yourself? =
|
79 |
Of course we do. That's why we created it. ;-)
|
80 |
|
81 |
== Changelog ==
|
82 |
|
|
|
|
|
|
|
83 |
= 1.3.3 =
|
84 |
* Added support for IP address with IIS using $_SERVER['LOCAL_ADDR'].
|
85 |
|
@@ -107,8 +117,8 @@ Of course we do. That's why we created it. ;-)
|
|
107 |
|
108 |
== Upgrade Notice ==
|
109 |
|
110 |
-
= 1.
|
111 |
-
* Added
|
112 |
|
113 |
== Contact ==
|
114 |
|
5 |
Tags: memory, memory-limit, ip, ips, admin, adress, php, server, info
|
6 |
Requires at least: 3.0.1
|
7 |
Tested up to: 4.7
|
8 |
+
Stable tag: 1.4.0
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
35 |
|
36 |
This is why we decided to create a new plugin that solves these two explained needs: IP address display and ability to translate.
|
37 |
|
38 |
+
= System requirements =
|
39 |
+
|
40 |
+
PHP version 5.3 or greater.
|
41 |
+
|
42 |
= Server IP & Memory Usage Display Plugin in your Language! =
|
43 |
This first release is avaliable in English and Spanish. In the "lang" folder we have included the necessarry files to translate this plugin.
|
44 |
|
61 |
|
62 |
Please note that the plugin should not be used together with other plugins with similar funcionalities like: [WP-Memory-Usage](http://wordpress.org/plugins/wp-memory-usage/ "WP-Memory-Usage").
|
63 |
|
64 |
+
Please use with *WordPress MultiSite* at your own risk, as it has not been tested.
|
65 |
+
|
66 |
== Frequently Asked Questions ==
|
67 |
|
68 |
= Why did you make this plugin? =
|
77 |
|
78 |
= Are there any known incompatibilities? =
|
79 |
The plugin should not be used together with other plugins with similar funcionalities like: [WP-Memory-Usage](http://wordpress.org/plugins/wp-memory-usage/ "WP-Memory-Usage").
|
80 |
+
Please use with *WordPress MultiSite* at your own risk, as it has not been tested.
|
81 |
|
82 |
= Are there any server requirements? =
|
83 |
+
The PHP version should be at least 5.3. If PHP version is lower than 5.3 there is an error message shown and plugin is not activated.
|
84 |
|
85 |
= Do you make use of Server IP & Memory Usage Display yourself? =
|
86 |
Of course we do. That's why we created it. ;-)
|
87 |
|
88 |
== Changelog ==
|
89 |
|
90 |
+
= 1.4.0 =
|
91 |
+
* Added check for PHP version of the server. Plugins works with PHP 5.3 or greater. If PHP version is less than 5.3 the plugin is not activated.
|
92 |
+
|
93 |
= 1.3.3 =
|
94 |
* Added support for IP address with IIS using $_SERVER['LOCAL_ADDR'].
|
95 |
|
117 |
|
118 |
== Upgrade Notice ==
|
119 |
|
120 |
+
= 1.4.0 =
|
121 |
+
* Added check for PHP version of the server. Plugins works with PHP 5.3 or greater.
|
122 |
|
123 |
== Contact ==
|
124 |
|
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.
|
7 |
Author: Apasionados, Apasionados del Marketing
|
8 |
Author URI: http://apasionados.es
|
9 |
Text Domain: server-ip-memory-usage
|
@@ -96,4 +96,21 @@ if ( is_admin() ) {
|
|
96 |
}
|
97 |
|
98 |
add_action( 'plugins_loaded', create_function('', '$memory = new ip_address_memory_usage();') );
|
99 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.4.0
|
7 |
Author: Apasionados, Apasionados del Marketing
|
8 |
Author URI: http://apasionados.es
|
9 |
Text Domain: server-ip-memory-usage
|
96 |
}
|
97 |
|
98 |
add_action( 'plugins_loaded', create_function('', '$memory = new ip_address_memory_usage();') );
|
99 |
+
}
|
100 |
+
|
101 |
+
/**
|
102 |
+
* Do some check on plugin activation
|
103 |
+
* @return void
|
104 |
+
*/
|
105 |
+
function server_ip_memory_usage_activation() {
|
106 |
+
if ( version_compare( PHP_VERSION, '5.3', '<' ) ) {
|
107 |
+
deactivate_plugins( plugin_basename( __FILE__ ) );
|
108 |
+
load_plugin_textdomain( 'server-ip-memory-usage', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' );
|
109 |
+
$plugin_data = get_plugin_data( __FILE__ );
|
110 |
+
$plugin_version = $plugin_data['Version'];
|
111 |
+
$plugin_name = $plugin_data['Name'];
|
112 |
+
wp_die( '<h1>' . __('Could not activate plugin: PHP version error', 'server-ip-memory-usage' ) . '</h1><h2>PLUGIN: <i>' . $plugin_name . ' ' . $plugin_version . '</i></h2><p><strong>' . __('You are using PHP version', 'server-ip-memory-usage' ) . ' ' . PHP_VERSION . '</strong>. ' . __( 'This plugin has been tested with PHP versions 5.3 and greater.', 'server-ip-memory-usage' ) . '</p><p>' . __('WordPress itself <a href="https://wordpress.org/about/requirements/" target="_blank">recommends using PHP version 7 or greater</a>. Please upgrade your PHP version or contact your Server administrator.', 'server-ip-memory-usage' ) . '</p>', __('Could not activate plugin: PHP version error', 'server-ip-memory-usage' ), array( 'back_link' => true ) );
|
113 |
+
|
114 |
+
}
|
115 |
+
}
|
116 |
+
register_activation_hook( __FILE__, 'server_ip_memory_usage_activation' );
|