Simple History plus is an upcoming add-on/extension for Simple History that will extend the functionality of the plugin.
It’s not upcoming anymore and it’s not called PLUS:
π Say hi to add-ons for Simple History!
Old progress information follow below:
Table of Contents
Some of the planned features (not set in stone) include:
- More loggers
- More WP-CLI commands
- More settings
- Even more feaures
What would you like to see? Email your thoughts to the developer at par.thernstrom@gmail.com or get in touch on Mastodon at https://mastodon.social/@eskapism.
Completed features
WP-CLI commands
$ wp simple-history search "activated plugin"
$ wp simple-history stats
$ wp simple-history clear
$ wp simple-history get
Show a single history event, using the event id.
Failed login attempts
Settings to limit the number of logged failed attempts. If you login to your website in the morning and find this number of failed login attempts during the night, this setting will be useful for you!
Log Retention
Finally the much requested option “Keep forever” is here! βΎοΈ
Option to store full IP address
Due to GDRP reasons user IP addresses are anonymized by default. But there is now a setting so you can turn on saving of non-anonymized IP addresses. This also give you more accurate google maps locations.
Google Maps API Key
If you enter a API key a map can be shown that displays the location of the IP address used to for example try to login.
After applying a key a nice map is rendered when the IP address is clicked:
Loggers
WP-Mail logger β log emails sent via WP-Mail
The WP Mail Plus Logger catches all emails send using the built in wp_mail() function and adds them to the log. You’ll get a quick preview of sent emails, including subject, recipients, and content. A nice way for developers and other curious users who wants to know what’s being sent from their WordPress sites.
Failed emails are also logged
Using the new wp cli commands you can easy retrieve the email details from the terminal. Here I am using WP-CLI and jq together to show details about a single history event, and to only show the message_interpolated
and event_details
fields.
WP HTTP Requests logger
Logs HTTP API requests made with for example wp_remote_request()
, wp_remote_get()
, wp_remote_post()
or the WP_HTTP class
directly.
This is a great debug tool during development of sites when you need to debug outgoing API requests.
When a lot of requests are being requested to the same base URL, the requests are grouped together. So for example all calls to wp-cron.php
won’t pollute your screen with 16 items, but rather just one where you can choose to show all other requests to the same URL.
WooCommerce logger
The WooCommerce plugin has 5+ million active installations, so this is a feature that will come handy for many users.
Simple History Plus has support for logging most of the changes made in the settings page of WooCommerce.
Misc
- Support for JSON Feed.
Planned features
Loggers
More info to come.