Simple History - Version 2.41.0

Version Description

(March 2021) =

  • Fixed: Error when visiting settings screen on PHP 8. Fixes https://wordpress.org/support/topic/simple-history-fatal-error/. #239
Download this release

Release Info

Developer eskapism
Plugin Icon 128x128 Simple History
Version 2.41.0
Comparing to
See all releases

Code changes from version 2.40.0 to 2.41.0

Files changed (3) hide show
  1. inc/SimpleHistory.php +3 -2
  2. index.php +2 -2
  3. readme.txt +8 -2
inc/SimpleHistory.php CHANGED
@@ -1746,8 +1746,9 @@ Because Simple History was only recently installed, this feed does not display m
1746
  $args = [
1747
  'arr_active_tab' => $arr_active_tab,
1748
  ];
1749
-
1750
- call_user_func_array($arr_active_tab['function'], $args);?>
 
1751
 
1752
  </div>
1753
  <?php
1746
  $args = [
1747
  'arr_active_tab' => $arr_active_tab,
1748
  ];
1749
+
1750
+ call_user_func_array($arr_active_tab['function'], array_values($args));
1751
+ ?>
1752
 
1753
  </div>
1754
  <?php
index.php CHANGED
@@ -6,7 +6,7 @@
6
  * Text Domain: simple-history
7
  * Domain Path: /languages
8
  * Description: Plugin that logs various things that occur in WordPress and then presents those events in a very nice GUI.
9
- * Version: 2.40.0
10
  * Author: Pär Thernström
11
  * Author URI: http://simple-history.com/
12
  * License: GPL2
@@ -45,7 +45,7 @@ if ($ok_php_version && $ok_wp_version) {
45
  * @TODO: make activation multi site aware, as in https://github.com/scribu/wp-proper-network-activation
46
  * register_activation_hook( trailingslashit(WP_PLUGIN_DIR) . trailingslashit( plugin_basename(__DIR__) ) . "index.php" , array("SimpleHistory", "on_plugin_activate" ) );
47
  */
48
- define('SIMPLE_HISTORY_VERSION', '2.40.0');
49
  define('SIMPLE_HISTORY_PATH', plugin_dir_path(__FILE__));
50
  define('SIMPLE_HISTORY_BASENAME', plugin_basename(__FILE__));
51
  define('SIMPLE_HISTORY_DIR_URL', plugin_dir_url(__FILE__));
6
  * Text Domain: simple-history
7
  * Domain Path: /languages
8
  * Description: Plugin that logs various things that occur in WordPress and then presents those events in a very nice GUI.
9
+ * Version: 2.41.0
10
  * Author: Pär Thernström
11
  * Author URI: http://simple-history.com/
12
  * License: GPL2
45
  * @TODO: make activation multi site aware, as in https://github.com/scribu/wp-proper-network-activation
46
  * register_activation_hook( trailingslashit(WP_PLUGIN_DIR) . trailingslashit( plugin_basename(__DIR__) ) . "index.php" , array("SimpleHistory", "on_plugin_activate" ) );
47
  */
48
+ define('SIMPLE_HISTORY_VERSION', '2.41.0');
49
  define('SIMPLE_HISTORY_PATH', plugin_dir_path(__FILE__));
50
  define('SIMPLE_HISTORY_BASENAME', plugin_basename(__FILE__));
51
  define('SIMPLE_HISTORY_DIR_URL', plugin_dir_url(__FILE__));
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: history, log, changes, changelog, audit, audit log, event log, user tracki
5
  Requires at least: 5.2
6
  Tested up to: 5.6
7
  Requires PHP: 5.6
8
- Stable tag: 2.40.0
9
 
10
  View changes made by users within WordPress. See who created a page, uploaded an attachment or approved an comment, and more.
11
 
@@ -193,11 +193,17 @@ Events in the log are stored for 60 days by default. Events older than this will
193
 
194
  == Changelog ==
195
 
 
 
 
 
 
 
196
  = 2.40.0 (March 2021) =
197
 
198
  - Changed: IP address is now also shown when a user successfully logs in.
199
  Previously the IP address was only shown for failed login attempts. Note that the IP address/es of all events are always logged and can be seen in the "context data" table that is displayed when you click the date and time of an event.
200
- [#233](https://github.com/bonny/WordPress-Simple-History/issues/233).
201
 
202
  - Added: If multiple IP addresses are detected, for example when a website is running behind a proxy or similar, all IP addresses are now shown for failed and sucessful logins.
203
 
5
  Requires at least: 5.2
6
  Tested up to: 5.6
7
  Requires PHP: 5.6
8
+ Stable tag: 2.41.0
9
 
10
  View changes made by users within WordPress. See who created a page, uploaded an attachment or approved an comment, and more.
11
 
193
 
194
  == Changelog ==
195
 
196
+ = 2.41.0 (March 2021) =
197
+
198
+ - Fixed: Error when visiting settings screen on PHP 8.
199
+ Fixes https://wordpress.org/support/topic/simple-history-fatal-error/.
200
+ [#239](https://github.com/bonny/WordPress-Simple-History/issues/239)
201
+
202
  = 2.40.0 (March 2021) =
203
 
204
  - Changed: IP address is now also shown when a user successfully logs in.
205
  Previously the IP address was only shown for failed login attempts. Note that the IP address/es of all events are always logged and can be seen in the "context data" table that is displayed when you click the date and time of an event.
206
+ [#233](https://github.com/bonny/WordPress-Simple-History/issues/233)
207
 
208
  - Added: If multiple IP addresses are detected, for example when a website is running behind a proxy or similar, all IP addresses are now shown for failed and sucessful logins.
209