Simple History


Simple History shows recent changes made within WordPress, directly on your dashboard or on a separate page.

The plugin works as a log/history/audit log/version history of the most important events that occur in WordPress.

Out of the box Simple History has support for:

  • Posts and pages
    see who added, updated or deleted a post or page
  • Attachments
    see who added, updated or deleted an attachment
  • Taxonomies (Custom taxonomies, categories, tags)
    see who added, updated or deleted an taxonomy
  • Comments
    see who edited, approved or removed a comment
  • Widgets
    get info when someone adds, updates or removes a widget in a sidebar
  • Plugins
    activation and deactivation
  • User profiles
    info about added, updated or removed users
  • User logins
    see when a user login & logout. Also see when a user fails to login (good way to catch brute-force login attempts).
  • Failed user logins
    see when someone has tried to log in, but failed. The log will then include ip address of the possible hacker.
  • Menu edits
  • Option screens
    view details about changes made in the differnt settings sections of WordPress. Things like changes to the site title and the permalink structure will be logged.
  • Privacy page
    when a privacy page is created or set to a new page.
  • Data Export
    see when a privacy data export request is added and when this request is approved by the user, downloaded by an admin, or emailed to the user.
  • User Data Erasure Requests
    see when a user privacy data export request is added and when this request is approved by the user and when the user data is removed.

Support for third party plugins

By default Simple History comes with built in support for the following plugins:

The Jetpack plugin is a plugin from Automattic (the company behind the service) that lets you supercharge your website by adding a lot of extra functions.
In Simple History you will see what Jetpack modules that are activated and deactivated.
(The creator of Simple History recommends this plugin and its brute force attack protection functions btw. It’s a really good way to block unwanted login attempts from malicious botnets and distributed attacks.

Advanced Custom Fields (ACF)
ACF adds fields to your posts and pages.
Simple History will log changes made to the field groups and the fields inside field groups. Your will see when both field groups and fields are created and modified.

User Switching
The User Switching plugin allows you to quickly swap between user accounts in WordPress at the click of a button.
Simple History will log each user switch being made.

WP Crontrol
The WP Crontrol plugin enables you to view and control what’s happening in the WP-Cron system.
Simple History will log when cron events are added, edited, deleted, and manually ran, and when cron schedules are added and deleted.

Enable Media Replace
The Enable Media Replace plugin allows you to replace a file in your media library by uploading a new file in its place.
Simple history will log details about the file being replaced and details about the new file.

Limit Login Attempts
The plugin Limit Login Attempts is old
and has not been updated for 4 years. However it still has +1 million installs, so many users will benefit from
Simple History logging login attempts, lockouts, and configuration changes made in the plugin Limit Login Attempts.

The redirection plugin manages url redirections, using a nice GUI.
Simple History will log redirects and groups that are created, changed, enabled or disabled and also when the global plugin settings have been modified.

Duplicate Post
The plugin Duplicate Post allows users to
clone posts of any type.
Simple History will log when a clone of a post or page is done.

Beaver Builder
The plugin Beaver Build is a page builder for WordPress that adds a flexible drag and drop page builder to the front end of your WordPress website.
Simple History will log when a Beaver Builder layout or template is saved or when the settings for the plugins are saved.

RSS feed with changes

There is also a RSS feed of changes available, so you can keep track of the changes made via your favorite RSS reader on your phone, on your iPad, or on your computer.

It’s a plugin that is good to have on websites where several people are
involved in editing the content.

The plugin works fine on multisite installations of WordPress too.

Example scenarios

Keep track of what other people are doing:
“Has someone done anything today? Ah, Sarah uploaded
the new press release and created an article for it. Great! Now I don’t have to do that.”

Or for debug purposes:
“The site feels slow since yesterday. Has anyone done anything special? … Ah, Steven activated ‘naughy-plugin-x’,
that must be it.”

API so you can add your own events to the audit log

If you are a theme or plugin developer and would like to add your own things/events to Simple History you can do that by using the function SimpleLogger() like this:


if ( function_exists("SimpleLogger") ) {

        // Most basic example: just add some information to the log
        SimpleLogger()->info("This is a message sent to the log");

        // A bit more advanced: log events with different severities
        SimpleLogger()->info("User admin edited page 'About our company'");
        SimpleLogger()->warning("User 'Jessie' deleted user 'Kim'");
        SimpleLogger()->debug("Ok, cron job is running!");


Check out the examples-folder for more examples.


So far Simple History is translated to:

  • Swedish
  • German
  • Polish
  • Danish
  • Dutch
  • Finnish
  • French
  • Russian

I’m looking for translations of Simple History in more languages! If you want to translate Simple History
to your language then read about how this is done over at the Polyglots handbook.

Contribute at GitHub

Development of this plugin takes place at GitHub. Please join in with feature requests, bug reports, or even pull requests!



  • The log view + it also shows the filter function in use - the log only shows event that are of type post and pages and media (i.e. images & other uploads), and only events initiated by a specific user.

  • The Post Quick Diff feature will make it quick and easy for a user of a site to see what updates other users have done to posts and pages.

  • When users are created or changed you can see details on what have changed.

  • Events have context with extra details - Each logged event can include useful rich formatted extra information. For example: a plugin install can contain author info and a the url to the plugin, and an uploaded image can contain a thumbnail of the image.

  • Click on the IP address of an entry to view the location of for example a failed login attempt.

  • See even more details about a logged event (by clicking on the date and time of the event).

  • A chart with some quick statistics is available, so you can see the number of events that has been logged each day. A simple way to see any uncommon activity, for example an increased number of logins or similar.


Can I add my own events to the log?

Yes. See the examples file.

Is it possible to exclude users from the log?

Yes, you exclude users by role or email using the filter simple_history/log/do_log.
See the examples file.

For how long are events stored?

Events in the log are stored for 60 days by default. Events older than this will be removed.


Novambor 6, 2021
Really nice and useful for take down what is happening in the admin area. I am only concern about the size of the log and how this may harm the speed of the website but if that is manageable it is a must have plugin if you have more than one people doing thing in your website (like an eshop or a news website)
Novambor 2, 2021
I was able to stop spammer/hackers using this plug in!
Oktubor 29, 2021
One of the ways we use this is when we grant site access to support personnel. Now we have a way of knowing exactly what they did and have a written record. Essential. Thank you!
Read all 327 reviews

Contributors & Developers

“Simple History” is open source software. The following people have contributed to this plugin.


“Simple History” has been translated into 15 locales. Thank you to the translators for their contributions.

Translate “Simple History” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


2.43.0 (October 2021)

  • Fixed: PHP notices on menu save when there are ACF fields attached (#235)

  • Fixed: array_map and reset cause warning in PHP 8 (#263)

2.42.0 (April 2021)

  • Fixed: Quick diff table had to wrong sizes of the table cells. (#246)

2.41.2 (March 2021)

  • Fixed: Error when running on PHP version 7.2 or lower.

2.41.1 (March 2021)

  • Fixed: Get information for correct IP Address when multiple IP addresses are shown.

2.41.0 (March 2021)

  • Fixed: Error when visiting settings screen on PHP 8.

2.40.0 (March 2021)

  • Changed: IP address is now also shown when a user successfully logs in.
    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.

  • 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.

  • Added: Filter simple_history/row_header_output/display_ip_address that can be used to control when the IP address/es should be visible in the main log. By default sucessful and failed logins are shown.

  • Added: Show message when failing to get IP address due to for example ad blocker. is for example blocked in the EasyList filter list that for example Chrome extension uBlock Origin uses.

  • Added: Filter simple_history/row_header_output/template that controls the output of the header row in the main event log.

2.39.0 (January 2021)

  • Added: Logging of events that a user performs via the WP Crontrol plugin (requires WP Crontrol version 1.9.0 or later). Simple History will log when cron events are added, edited, deleted, and manually ran, and when cron schedules are added and deleted. Props

2.38.0 (November 2020)

  • Changed: It’s now possible to log things before the after_setup_theme hook by using the SimpleLogger() function. Before this change calling SimpleLogger() before after_setup_theme, or on after_setup_theme with a prio smaller than 10, would result in a fatal error (Fatal error: Uncaught Error: Class 'SimpleLogger' not found). Props

  • Changed: More custom post types that use the block editor (“Gutenberg”) should now have their changes logged. Props

2.37.2 (September 2020)

  • Fixed: Even more code that was to new for PHP 5.6 (I do have some tests, I just didn’t look at them ¯\_(ツ)_/¯.)

2.37.1 (September 2020)

  • Fixed: Some code was to new for PHP 5.6.

2.37 (September 2020)

  • Added: Enabling or disabling plugin auto-updates is now logged.
  • Added: Function sh_d() that echoes any number of variables to the screen.
  • Fixed: User logouts did show “other” instead of username of user logging out. Fixes #206,,
  • Updated: lots of code to be formatted more according to PSR12.

2.36 (August 2020)

  • Fix plus and minus icons in quick diff.
  • Add filter for Post Logger context. (
  • Add link to my GitHub sponsors page in the sidebar.
  • Misc code cleanups and smaller fixes.

2.35.1 (August 2020)

Minor update to correct readme.

2.35 (August 2020)

You can now sponsor the developer of this plugin at GitHub.


  • Fix PHP Warning when bulk editing items in the Redirection plugin. Fixes, (


  • Welcome text updated to be more correct. (

2.34 (June 2020)


  • Use flexbox for history page layout, so if all dropins are disabled then the content area
    spans the entire 100 % width (#199).

  • Adjust style of pagination to match WordPress core pagination.

2.33.2 (January 2020)

  • Fix history displaying blank white space on smaller screens. Fixes

2.33.1 (January 2020)

  • Was just an internal test version.

2.33 (November 2019)

  • Better compatibility with the Gutenberg Block editor.
  • Correct URL redirected to after clearing log. Fixes #123.
  • Fix history log on dashboard leaving lots of white space and sometimes overlapping other dashboard widgets.
    Fixes,, and
  • Fix join parameter order for PHP 7.4.
  • Update donate link. It’s now
    If you like the plugin please consider donate.
    A very small amount makes me much more happy than nothing at all! 😉

2.32 (August 2019)

  • Fix error in Beaver Builder logger. Fixes
  • Add filter simple_history/admin_location that makes is possible to move the main page from the dashboard menu to any other menu page, for example the Tools menu. Fixes Example usage of filter:

    // Move Simple History log sub page from the "Dashboard" menu to the "Tools" menu.
    add_filter('simple_history/admin_location', function ($location) {
    $location = 'tools';
    return $location;

  • Make it easier to extend SimplePostLogger by making $old_post_data protected instead of private.

  • Try to use taxonomy name instead of taxonomy slug when showing term additions or modifications. Fixes
  • Fix notice error when showing the log entry for a term that was deleted.
  • Remove unused old function testlog_old().
  • Move helper functions to own file.
  • Move debug code into own dropin.
  • Bump required PHP version to 5.6.20 (same version that WordPress itself requires).

2.31 (May 2019)

2.30 (April 2019)

  • Add better Gutenberg compatibility.
  • Don’t log WooCommerce scheduled actions. Fixes
  • Store if post password has been set, unset, or changed.
  • Store if a log entry comes from the REST API. Stored in the event context as _rest_api_request.
  • Check that logger messages exists and is array before trying to use.
  • Bump required version in readme to 5.4. It’s just to difficult to keep the plugin compatible with PHP less than PHP version 5.4.
  • Updates to some translation strings.

2.29.2 (January 2019)

  • Fix for (the still great) plugin Advanced Custom Fields 5.7.10 that removed the function _acf_get_field_by_id that this plugin used. Fixes

2.29.1 (December 2018)

  • Fix another PHP 7.3 warning. Should fix

2.29 (December 2018)

  • Make log welcome message translateable.
  • Add two filters to make it more ease to control via filters if a logger and the combination logger + message should be logged. – "simple_history/log/do_log/{$this->slug}" controls if any messages for a specific logger should be logged. Simply return false to this filter to disable all logging to that logger. – "simple_history/log/do_log/{$this->slug}/{$message_key}" controls if a specific message for a specific logger should be logged. Simply return false to this filter to disable all logging to that logger. – Code examples for the two filters above:

    // Disable logging of any user message, i.e. any message from the logger SimpleUserLogger.
    add_filter( ‘simple_history/log/do_log/SimpleUserLogger’, ‘__return_false’ );

        // Disable logging of updated posts, i.e. the message "post_updated" from the logger SimplePostLogger.
        add_filter( 'simple_history/log/do_log/SimplePostLogger/post_updated', '__return_false' );

  • add_filter(‘simple_history/log/do_log/SimpleUserLogger’, ‘__return_false’);

  • Fix notice in Redirection plugin logger due because redirection plugin can have multiple target types. Props @MaximVanhove.
  • Fix warning because of missing logging messages in the categories/tags logger. Props @JeroenSormani.
  • Fix warning in the next version of PHP, PHP 7.3.

2.28.1 (September 2018)

  • Remove a debug message that was left in the code.

2.28 (September 2018)

  • Always show time and sometimes date before each event, in addition to the relative date. Fixes
  • Use WordPress own function (wp_privacy_anonymize_ip, available since WordPress version 4.9.6) to anonymize IP addresses, instead of our own class.
  • Update timeago.js

2.27 (August 2018)

  • Fix notice errors when syncing an ACF field group. Fixes
  • Fix notice error when trying to read plugin info for a plugin that no longer exists or has changed name. Fixes
  • Always load the SimpleLogger logger. Fixes
  • Make more texts translatable.
  • Show plugin slug instead of name when translations are updated and a plugin name is not provided by the upgrader. This can happen when a plugin is using an external update service, like EDD.
  • Group translation updates in the log. Useful because sometimes you update a lot of translations at the same time and the log is full of just those messages.

2.26.1 (July 2018)

  • Fix 5.3 compatibility.

2.26 (July 2018)

  • Add support for the Jetpack plugin. To begin with, activation and deactivation of Jetpack modules is logged.
  • Add logging of translation updates, so now you can see when a plugin or a theme has gotten new translations. Fixes
  • Fix notice in Advanced Custom Fields logger when saving an ACF options page.

2.25 (July 2018)

  • Add wp_cron_current_filter to event context when something is logged during a cron job. This can help debugging thing like posts being added or deleted by some plugin and you’re trying to figure out which plugin it is.
  • Fix for event details not always being shown.
  • Fix for sometimes missing user name and user email in export file.

2.24 (July 2018)

  • Added user login and user email to CSV export file.
  • Fix notice in postlogger when a post was deleted from the trash.
  • Clear database in smaller steps. Fixes
  • Fix notice in ACF logger due to misspelled variable. Fixes

2.23.1 (May 2018)

  • Remove some debug messages that was outputed to the error log. Fixes
  • Fix error beacuse function ucwords() does not allow a second argument on PHP versions before 5.4.32. Fixes,
  • Added new function sh_ucwords() that works like ucwords() but it also works on PHP 5.3.

2.23 (May 2018)

  • Add logging of privacy and GDPR related functions in WordPress. Some of the new privacy related features in WordPress 4.9.6 that are logged: – Privacy policy page is created or changed to a new page. – Privacy data export is requested for a user and when this request is confirmed by the user and when the data for the request is downloaded by an admin or emailed to the user. – Erase Personal Data: Request is added for user to have their personal data erased, user confirms the data removal and when the deletion of user data is done.
  • Fix error when categories changes was shown in the log. Fixes
  • Fix error when a ACF Field Group was saved.
  • Fix error when the IP address anonymization function tried to anonymize an empty IP adress. Could happen when for example running wp cron locally on your server.
  • Fix error when calling the REST API with an API endpoint with a closure as the callback. Fixes
  • Rewrote logger loading method so now it’s possible to name your loggers in a WordPress codings standard compatible way. Also: made a bit more code more WordPress-ish.
  • The post types in the skip_posttypes filter are now also applied to deleted posts.
  • Add function sh_get_callable_name() that returns a human readable name for a callback.

2.22.1 (May 2018)

  • Fix for some REST API Routes not working, for example when using WPCF7. Should fix and similar.

2.22 (May 2018)

  • IP addresses are now anonymized by default. This is mainly done because of the General Data Protection Regulation (GDPR)
    Both IPv4 and IPv6 addresses will be anonymized and the IP addresses are anonymized to their network ID.
    So for example the IPv4 address is anonymized to and
    the IPv6 address 2a03:2880:2110:df07:face:b00c::1 is anonymized by default to 2610:28:3090:3001::.

  • Added filter simple_history/privacy/anonymize_ip_address than can be used to disable ip address anonymization.

  • Added function sh_error_log() to easily log variables to the error log. Probably only of interest to developers.

  • Fixed logging for plugin Redirection. The logging of URL redirects and so on stopped working some while back because the Redirection plugin started using the WP REST API. But now it’s working again!

2.21.1 (May 2018)

  • Make sure support for Advanced Custom Fields is activated for all users – and not only for the developer of the plugin 😉

2.21 (May 2018)

  • Added support for Advanced Custom Fields (ACF): when a ACF Field or ACF Field Group is created or modified or deleted you will now get more details in the activity feed.
  • Changes to taxonomies/categories/tags now include a link to the modified term and to the category that the term belongs to.
  • The post types in the skip_posttypes filter are now also applied to trashed and untrashed posts (not only post edits, as before).
  • Don’t log Jetpack sitemap updates. (Don’t log updates to posttypes jp_sitemap, jp_sitemap_master and jp_img_sitemap, i.e. the post types used by Jetpack’s Sitemap function.) Should fix
  • Don’t log the taxonomies post_translations or term_translations, that are used by Polylang to store translation mappings. That contained md5-hashed strings and was not of any benefit (a separate logger for Polylang will come soon anyway).
  • Fix notice in theme logger because did not check if $_POST['sidebar'] was set. Fixes
  • Fix thumbnail title missing notice in post logger.
  • Fix PHP warning when a plugin was checked by WordPress for an update, but your WordPress install did not have the plugin folder for that plugin.
  • Fix unexpected single-quotations included in file name in Internet Explorer 11 (and possibly other versions) when exporting CSV/JSON file.
  • Fix filter/search log by specific users not working. Fixes
  • Fix a notice in SimpleOptionsLogger.
  • Better CSS styling on dashboard.
  • Add filter simple_history/post_logger/post_updated/context that can be used to modify the context added by SimplePostLogger.
  • Add filter simple_history/post_logger/post_updated/ok_to_log that can be used to skip logging a post update.
  • Add filter simple_history/categories_logger/skip_taxonomies that can be used to modify what taxonomies to skip when logging updates to taxonomy terms.

2.20 (November 2017)

  • Add logging of post thumbnails.
  • Use medium size of image attachments when showing uploaded files in the log. Previously a custom size was used, a size that most sites did not have and instead the full size image would be outputed = waste of bandwidth.
  • Make image previews smaller because many uploaded images could make the log a bit to long and not so quick to overview.
  • Update Select2 to latest version. Fixes
  • Show a message if user is running to old WordPress version, and don’t continue running the code of this plugin.
    Should fix stuff like
  • Fix an error with PHP 7.1.

2.19 (November 2017)

  • Add filter simple_history/user_can_clear_log. Return false from this filter to disable the “Clear blog” button.
  • Remove static keyword from some methods in SimpleLogger, so now calls like SimpleLogger()->critical('Doh!'); works.
  • Don’t show link to WordPress updates if user is not allowed to view the updates page.
  • Fix notice error in SimpleOptionsLogger.
  • Fix for fatal errors when using the lost password form in Membership 2. Fixes
  • Code (a little bit) better formatted according to WordPress coding standard.

2.18 (August 2017)

  • Set from_term_description correctly, fixes
  • Add filter simple_history/post_logger/skip_posttypes.
  • Don’t log post type jetpack_migation because for some users that post type filled the log. Fixes

2.17 (June 2017)

  • Fix search date range inputs not showing correctly.
  • Change the message for when a plugin is deactivated due to an error. Now the plugin slug is included, so you know exactly what plugin has been deactivated. Also the reason for the deactivation is included (one of “Invalid plugin path”, “Plugin file does not exist”, or “The plugin does not have a valid header.”).
  • Added more filters to log message. Now filter simple_history_log_debug exists, together with filters for all other 7 log levels. So you can use simple_history_log_{loglevel} where {loglevel} is any of emergency, alert, critical, error, warning, notice, info or debug.
  • Add support for logging the changing of “locale” on a user profile, something that was added in WordPress 4.7.
  • Add sidebar box with link to the settings page.
  • Don’t log when old posts are deleted from the trash during cron job wp_scheduled_delete.
  • HHVM is not used for any tests any longer because PHP 7 and Travis not supporting it or something. I dunno. Something like that.
  • When “development debug mode” is activated also log current filters.
  • Show an admin warning if a logger slug is longer than 30 chars.
  • Fix fatal error when calling log() method with null as context argument.

2.16 (May 2017)

  • Added WP-CLI command for Simple History. Now you can write wp simple-history list to see the latest entries from the history log. For now list is the only available command. Let me know if you need more commands!
  • Added support for logging edits to theme files and plugin files. When a file is edited you will also get a quick diff on the changes,
    so you can see what CSS styles a client changed or what PHP changes they made in a plugin file.
  • Removed the edit file logger from the plugin logger, because it did not always work (checked wrong wp path). Intead the new Theme and plugins logger mentioned above will take care of this.

2.15 (May 2017)

  • Use thumbnail version of PDF preview instead of full size image.
  • Remove Google Maps image when clicking IP address of failed login and similar, because Google Maps must be used with API key.
    Hostname, Network, City, Region and Country is still shown.
  • Fix notice in available updates logger.
  • Fix notice in redirection logger.

2.14.1 (April 2017)

  • Fix for users running on older PHP versions.

2.14 (April 2017)

  • Added support for plugin Duplicate Post.
    Now when a user clones a post or page you will se this in the history log, with links to both the original post and the new copy.
  • Removed log level info from title in RSS feed
  • Make date dropdown less “jumpy” when loading page (due to select element switching to Select2)
  • Only add filters for plugin Limit Login Attempts if plugin is active. This fixes problem with Limit Login Attempts Reloaded and possibly other forks of the plugin.
  • Debug page now displays installed plugins.

2.13 (November 2016)

  • Added filter simple_history_log that is a simplified way to add message to the log, without the need to check for the existance of Simple History or its SimpleLogger function. Use it like this: apply_filters("simple_history_log", "This is a logged message"); See the examples file for more examples.
  • IP info now displays a popup with map + geolocation info for users using HTTPS again. Thanks to the great for letting all users use their service 🙂
  • Fix notice warning for missing $data_parent_row

2.12 (September 2016)

  • You can show a different number of log items in the log on the dashboard and on the dedicated history page. By default the dashboard will show 5 items and the page will show 30.
  • On multisites the user search filter now only search users in the current site.
  • The statistics chart using Chart.js now uses the namespace window.Simple_History_Chart instead of window.Chart, decreasing the risk that two versions of the Chart.js library overwriting each others. Fixes (Note to future me: this was fixed by renaming the window.chart variable to window.chart.Simple_history_chart in the line window.Chart = module.exports = Chart;)
  • If spam comments are logged they are now included in the log. Change made to make sql query shorter and easier. Should not actually show any spam comments anyway because we don’t log them since version 2.5.5 anyway. If you want to revert this behavior for some reason you can use the filter simple_history/comments_logger/include_spam.

2.11 (September 2016)

  • Added support for plugin Redirection.
    Redirects and groups that are created, changed, enabled and disabled will be logged. Also when the plugin global settings are changed that will be logged.
  • Fix possible notice error from User logger.
  • “View changelog” link now works on multisite.

2.10 (September 2016)

  • Available updates to plugins, themes, and WordPress itself is now logged.
    Pretty great if you subscribe to the RSS feed to get the changes on a site. No need to manually check the updates-page to see if there are any updates.
  • Changed to logic used to determine if a post edit should be logged or not. Version 2.9 used a version that started to log a bit to much for some plugins. This should fix the problems with the Nextgen Gallery, All-In-One Events Calendar, and Membership 2 plugins. If you still have problems with a plugin that is causing to many events to be logged, please let me know!

2.9.1 (August 2016)

  • Fixed an issue where the logged time was off by some hours, due to timezone being manually set elsewhere.
    Should fix and
  • Fixed Nextgen Gallery and Nextgen Gallery Plus logging lots and lots of event when viewing posts with galleries. The posts was actually updated, so this plugin did nothing wrong. But it was indeed a bit annoying and most likely something you didn’t want in your log. Fixes

2.9 (August 2016)

  • Added custom date ranges to the dates filter. Just select “Custom date range…” in the dates dropdown and you can choose to see the log between any two exact dates.
  • The values in the statistics graph can now be clicked and when clicked the log is filtered to only show logged events from that day. Very convenient if you have a larger number of events logged for one day and quickly want to find out what exactly was logged that day.
  • Dates filter no longer accepts multi values. It was indeed a bit confusing that you could select both “Last 7 days” and “Last 3 days”.
  • Fix for empty previous plugin version (the {plugin_prev_version} placeholder) when updating plugins.
  • Post and pages updates done in the WordPress apps for Ios and Android should be logged again.

2.8 (August 2016)

  • Theme installs are now logged
  • …and so are theme updates
  • …and theme deletions. Awesome!
  • Support for plugin Limit Login Attempts.
    Failed login attempts, lockouts and configuration changes will be logged.
  • Correct message is now used when a plugin update fails, i.e. the message for key plugin_update_failed.
  • The original untranslated strings for plugin name and so on are stored when storing info for plugin installs and updates and similar.
  • Default number of events to show is now 10 instead of 5.

2.7.5 (August 2016)

  • User logins using e-mail are now logged correctly. Previously the user would be logged in successfully but the log said that they failed.
  • Security fix: only users with list_users capability can view the users filter and use the autocomplete api for users.
    Previously the autocomplete function could be used by all logged in users.
  • Add labels to search filters. (I do really hate label-less forms so it’s kinda very strange that this was not in place before.)
  • Misc other internal fixes

2.7.4 (July 2016)

  • Log a warning message if a plugin gets disabled automatically by WordPress because of any of these errors: “Plugin file does not exist.”, “Invalid plugin path.”, “The plugin does not have a valid header.”
  • Fix warning error if on_wp_login() was called without second argument.
  • Fix options diff not being shown correctly.
  • Fix notice if no message key did exist for a log message.

2.7.3 (June 2016)

  • Removed the usage of the mb_* functions and mbstring is no longer a requirement.
  • Added a new debug tab to the settings page. On the debug page you can see stuff like how large your database is and how many rows that are stored in the database. Also, a list of all loggers are listed there together with some useful (for developers anyway) information.

2.7.2 (June 2016)

  • Fixed message about mbstring required not being echo’ed.
  • Fixed notice errors for users not allowed to view the log.

2.7.1 (June 2016)

  • Added: Add shortcut to history in Admin bar for current site and in Network Admin Bar for each site where plugin is installed. Can be disabled using filters simple_history/add_admin_bar_menu_item and simple_history/add_admin_bar_network_menu_item.
  • Added: Add check that ´mbstring´ is enabled and show a warning if it’s not.
  • Changed: Changes to “Front Page Displays” in “Reading Settings” now show the name of the old and new page (before only id was logged).
  • Changed: Changes to “Default Post Category” and “Default Mail Category” in “Writing Settings” now show the name of the old and new category (before only id was logged).
  • Fixed: When changing “Front Page Displays” in “Reading Settings” the option “rewrite_rules” also got logged.
  • Fixed: Changes in Permalink Settings were not logged correctly.
  • Fixed: Actions done with WP-CLI was not correctly attributed. Now the log should say “WP-CLI” intead of “Other” for actions done in WP CLI.

2.7 (May 2016)

  • Added: When a user is created or edited the log now shows what fields have changed and from what old value to what new value. A much requested feature!
  • Fixed: If you edited your own profile the log would say that you edited “their profile”. Now it says that you edited “your profile” instead.
  • Changed: Post diffs could get very tall. Now they are max approx 8 rows by default, but if you hover the diff (or give it focus with your keyboard) you get a scrollbar and can scroll the contents. Fixes and
  • Fixed: Maybe fix a notice varning if a transient was missing a name or value.

2.6 (May 2016)

  • Added: A nice little graph in the sidebar that displays the number of logged events per day the last 28 days. Graph is powered by Chart.js.
  • Added: Function get_num_events_last_n_days()
  • Added: Function get_num_events_per_day_last_n_days()
  • Changed: Switched to transients from cache at some places, because more people will benefit from transients instead of cache (that requires object cache to be installed).
  • Changed: New constant SETTINGS_GENERAL_OPTION_GROUP. Fixes
  • Fixed: Long log messages with no spaces would get cut of. Now all the message is shown, but with one or several line breaks. Fixes
  • Fixed: Some small CSS modification to make the page less “jumpy” while loading (for example setting a default height to the select2 input box).

2.5.5 (April 2016)

  • Changed: The logger for Enable Media Replace required the capability edit_files to view the logged events, but since this also made it impossible to view events if the constant DISALLOW_FILE_EDIT was true. Now Enable Media Replace requires the capability upload_files instead. Makes more sense. Fixes
  • Changed: No longer log spam trackbacks or comments. Before this version these where logged, but not shown.
  • Fixed: Translations was not loaded for Select2. Fixes
  • Fixed: LogQuery date_to-argument was using date_from.
  • Changed: The changelog for 2015 and earlier are now moved to

2.5.4 (March 2016)

  • Added: Support for new key in info array from logger: “name_via”. Set this value in a logger and the string will be shown next to the date of the logged event. Useful when logging actions from third party plugins, or any kind of other logging that is not from WordPress core.
  • Added: Method getInfoValueByKey added to the SimpleLogger class, for easier retrieval of values from the info array of a logger.
  • Fixed: Themes could no be deleted. Fixes and
  • Fixed: Notice error when generating permalink for event.
  • Fixed: Removed a console.log().
  • Changed: Check that array key is integer or string. Hopefully fixes

2.5.3 (February 2016)

  • Fixed: Old entries was not correctly removed. Fixes

2.5.2 (February 2016)

  • Added: The GUI log now updates the relative “fuzzy” timestamps in real time. This means that if you keep the log opened, the relative date for each event, for example “2 minutes ago” or “2 hours ago”, will always be up to date (hah!). Keep the log opened for 5 minutes and you will see that the event that previously said “2 minutes ago” now says “7 minutes ago”. Fixes and is implemented using the great timeago jquery plugin.
  • Added: Filter simple_history/user_logger/plain_text_output_use_you. Works the same way as the simple_history/header_initiator_use_you filter, but for the rich text part when a user has edited their profile.
  • Fixed: Logger slugs that contained for example backslashes (becuase they where namespaced) would not show up in the log. Now logger slugs are escaped. Fixes
  • Changed: Actions and things that only is needed in admin area are now only called if is_admin(). Fixes

2.5.1 (February 2016)

  • Fixed: No longer assume that the ajaxurl don’t already contains query params. Should fix problems with third party plugins like WPML.
  • Fixed: Notice if context key did not exist. Should fix
  • Fixed: Name and title on dashboard and settings page were not translateable. Fixes
  • Fixed: Typo when user resets password.
  • Added: Filter simple_history/row_header_date_output.
  • Added: Filter simple_history/log/inserted.
  • Added: Filter simple_history/row_header_date_output.