WordPress.org

Plugin Directory

Simple History โ€“ Track, Log, and Audit WordPress Changes

Simple History โ€“ Track, Log, and Audit WordPress Changes

Description

“So far the best and most comprehensive logging plugin”@herrschuessler

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

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

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

No coding is required to use the plugin. Just install it and it will start logging events.

โœจ Simple History Features

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

  • User edits โ€“ see when a user is added, updated or removed, and get detailed information about the changes made to the user.

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

Build in logging for third party plugins

Simple History comes with built in support for many plugins:

  • Jetpack โ€“ See what Jetpack modules that are activated and deactivated.

  • Advanced Custom Fields (ACF) โ€“ย See when field groups and fields are created and modified.

  • User Switching โ€“ย See each user switch being made.

  • WP Crontrol โ€“ See when cron events are added, edited, deleted, paused, resumed, and manually ran, and when cron schedules are added and deleted.

  • Enable Media Replace โ€“ See details about the file being replaced and details about the new file.

  • Limit Login Attempts โ€“ See login attempts, lockouts, and configuration changes made in the plugin Limit Login Attempts.

  • Redirection โ€“ See redirects and groups that are created, changed, enabled or disabled and also when the global plugin settings have been modified.

  • Duplicate Post โ€“See when a clone of a post or page is done.

  • Beaver Builder โ€“ See when a Beaver Builder layout or template is saved or when the settings for the plugins are saved.

Is your plugin missing? No problem โ€“ plugin authors can add support for Simple History in their plugins using the logging API.

Plugins that have support for Simple History includes:

What users say ๐Ÿ’ฌ

๐ŸŒŸ 300+ five-star reviews speak to the reliability of this plugin. ๐ŸŒŸ

  • “So far the best and most comprehensive logging plugin”@herrschuessler

  • “The best history plugin Iโ€™ve found” โ€“ Rich Mehta

  • “Custom Logs Are Crazy Awesome!”Ahmad Awais

  • “Amazing activity logging plugin”digidestination

  • “Fantastic plugin I use on all sites”Duncan Michael-MacGregor

  • “Useful Quick View of Activity”Dan O

  • “The best Activity Plugin”Rahim

  • “The best free history plugin ever”abazeed

  • “It is a standard plugin for all of our sites”Mr Tibbs

Getting Started

After installation, Simple History automatically starts logging activities. Access the history log through the dashboard widget or via the ‘Simple History’ page in the dashboard menu.

RSS feed with changes

Using the optional password protected RSS feed you can keep track of the changes made on your website using your favorite RSS reader.

Comes with WP-CLI commands

For those of you who like to work with the command line there are also some WP-CLI commands available.

  • wp simple-history list โ€“ List the latest logged events.

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 ‘naughty-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:

`php

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!");

}
?>
`

See the documentation for examples on how to log your own events and how to query the log, and more.

๐Ÿ”† Extend the plugin functionality with Add-ons

Powerful add-ons are available to extend the functionality of Simple History even further:

WooCommerce Logger
Enhance your site’s tracking with comprehensive logs for WooCommerce orders, products, settings, and coupons.

Extended Settings
Extend the settings of Simple History with more options and settings.

Developer tools (coming soon)
Log sent emails, HTTP API requests, cron jobs, and more.

๐Ÿ’š Sponsor this project

If you like this plugin please consider donating to support the development. The plugin has been free for the last 10 years and will continue to be free.

Notworthy sponsors

Screenshots

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

FAQ

Is the plugin free?

Yes! It has been free for the last 10 years and will continue to be free. There are some add-ons that you can buy to support the development of this plugin and get some extra features. View add-ons.

How do I view the log?

You can view the log on the dashboard or on a separate page in the admin area.

Can I see the log in the front end?

No, the log is only available in the admin area.

Do I need to have coding skills to use the plugin?

No, you don’t need to write any code to use the plugin.
Just install the plugin and it will start collecting data.

Where is the log stored?

The log is stored in the database used by WordPress.

Can I export the log?

Yes, you can export the log to a CSV or JSON file.

Is my theme supported?

Yes, the plugin works with all themes.

Is my plugin supported?

The plugin comes with built in support for many plugins and support for Simple History can be added to any plugin using the Logging API.

Will my website slow down because of this plugin?

No, the plugin is very lightweight and will not slow down your website.

Who can view the log?

How much information that is shown in the log depends on the user role of the user viewing the log. Admins can see everything, while editors can only see events related to posts and pages.

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 hooks documentation for more info.

For how long are the history kept?

By default, logs are stored for 60 days. This duration can be adjusted in the settings.

This can be modified using the filter simple_history/db_purge_days_interval or using the Simple History Extended Settings add-on.

Can I track changes made by specific users?

Yes, Simple History allows you to filter the history by user names, making it easy to monitor individual activities.

Reviews

May 17, 2024
As its name suggests, it’s very simple, but it’s a wealth of information that we’re delighted to have and that deserves to be integrated into WP. Thanks to the author for his work.
April 12, 2024
me muestra todo, incluso, el IP real (paso pro cloudflare) del usuario que se logueo, ademas muestra si se modifica , incluso el menu, que era un problema q tenia, doy 5 estrellas. solo un pequeรฑo detalle, quisiera que cuanto tenga un wordpress multisite, aparezcan los logs de todos los sitios en la seccion network.
January 7, 2024 3 replies
Hi,about 3 months ago, I was able to see the traffic of a specific page in this plugin, and now I don’t know. The user interface was completely changed. I also set to see as many records as possible, and now that I have logged into the site, I can see that only the last 2 months are being recorded. I have automatic plugin updates enabled in the background due to security updates. Lukas
Read all 384 reviews

Contributors & Developers

“Simple History โ€“ Track, Log, and Audit WordPress Changes” is open source software. The following people have contributed to this plugin.

Contributors

“Simple History โ€“ Track, Log, and Audit WordPress Changes” has been translated into 16 locales. Thank you to the translators for their contributions.

Translate “Simple History โ€“ Track, Log, and Audit WordPress Changes” into your language.

Interested in development?

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

Changelog

4.15.1 (April 2024)

This release contains a new feature that logs when scheduled blog posts or site pages automatically publish themselves at any time in the future. It also contains the regular bug fixes and improvements. View the release post.

Added

  • Log when post status changes from future to publish, i.e. when scheduled blog posts or site pages automatically publish themselves at any time in the future. #343

Fixed

  • Log theme file edits and plugin file edits again. #437
  • Show previous featured image when removing a featured image from a post. Before this change the fields was empty. So confusing.
  • Cleanup the edited post event output by remove context keys post_author/user_login, post_author/user_email, post_author/display_name from post edited events, because author change is already shown as plain text. The context keys are still available to see in the context data table.

Updated

  • Update WordPress Coding Standards to latest version. #436

4.15.0 (April 2024)

Was never released. Skipped to 4.15.1. Something went wrong with tagging.

4.14.0 (April 2024)

๐Ÿ•ต๏ธโ€โ™€๏ธ This version introduces a new Detective Mode. Many users use Simple History to catch changes made by users and plugins, but sometimes it can be hard to tell exactly what plugin that was responsible for a specific action. Detective Mode has been created to help users find the responsible plugin, hook, URL, or function used to trigger a specific action. View screenshots and more information.

  • Add Detective Mode, a new feature aimed to help users find what plugin or theme is causing a specific event or action to be logged or happen. Great for debugging. This new feature can be enabled in the settings. Read more. Useful for admins, developers, forensics detectives, security experts, and more.
  • Add support for searching for localized logger message strings. #277
  • Add fix for SQL MAX_JOIN_SIZE related error message, that could happen on low end hosting providers or shared hosting providers. #435
  • Remove check for older PHP versions in helpers::json_encode. (PHP 7.4 is since long the minimum requirement for Simple History and for WordPress itself.)
  • Tested on WordPress 6.5.

4.13.0 (March 2024)

๐Ÿš€ Introducing the WooCommerce Logger Add-On: Enhance your site’s tracking with comprehensive logs for WooCommerce orders, products, settings, and coupons. Learn more in our release post.

View the release post to see screenshots of the new features.

Changelog for previous versions.