=== Activity Log ===
Contributors: pojo.me, KingYes, ariel.k, maor
Tags: Activity Log, User Activity, User Log, Audit Log, Security, Tracking, WooCommerce, bbPress, GDPR,
Requires at least: 4.4
Tested up to: 6.3
Stable tag: 2.8.8
License: GPLv2 or later

The #1 Activity Log plugin helps you monitor & log all changes and activities on your WordPress site, so you can run more securely and organized. Works simple & completely free!

== Description ==

<strong>A COMPLETE, EASY TO USE & WELL SUPPORTED WORDPRESS ACTIVITY LOG PLUGIN</strong><br />

Want to monitor and track your WordPress website activity? Find out exactly who does what on your WordPress website. the Activity Log plugin is like an airplane's black box that logs every activity in WordPress admin, and lets you see exactly what users are doing on your WordPress website.

* Like, if someone is trying to hack your site.
* Or, when a post was published, and who published it.
* Or, if a plugin/theme was activated/deactivated.
* Log suspicious admin activity.
* Securing your site by tracking log of all user activity?

Useful, right? Trust us, you won't understand how you managed your website without it. The plugin is also lightning fast and works behind the scenes, so it doesn't affect site and admin performance. For optimal performance, we built the plugin so it runs on a separate table in the database.

If you have tens of users or more, you really can’t know who did what. This plugin tries to solve this issue by tracking what users do, and displaying it in an easy to use and easy to filter view on the dashboard of your WordPress site.

<strong>Export to CSV</strong> Export your Activity Log data records to CSV. Developers can easily add support for custom data formats with our new dedicated Export API.

<strong>Data Privacy and GDPR Compliance</strong> We provide the tools to help you be GDPR compliant, including Export/Erasure of data via the WordPress Privacy Tools.

<h3>With the Activity Log you can record:</h3>
* <strong>WordPress</strong> - Core Updates
* <strong>Posts</strong> - Created, Updated, Deleted
* <strong>Pages</strong> - Created, Updated, Deleted
* <strong>Custom Post Type</strong> - Created, Updated, Deleted
* <strong>Tags</strong> - Created, Edited, Deleted
* <strong>Categories</strong> - Created, Edited, Deleted
* <strong>Taxonomies</strong> - Created, Edited, Deleted
* <strong>Comments</strong> - Created, Approved, Unproved, Trashed, Untrashed, Spammed, Unspammed, Deleted
* <strong>Media</strong> - Uploaded, Edited, Deleted
* <strong>Users</strong> - Login, Logout, Login has failed, Update profile, Registered and Deleted
* <strong>Plugins</strong> - Installed, Updated, Activated, Deactivated, Changed
* <strong>Themes</strong> - Installed, Updated, Deleted, Activated, Changed (Editor and Customizer)
* <strong>Widgets</strong> - Added to a sidebar / Deleted from a sidebar, Order widgets
* <strong>Menus</strong> - A menu is being Created, Updated, Deleted
* <strong>Setting</strong> - General, Writing, Reading, Discussion, Media, Permalinks
* <strong>Options</strong> - Can be extend by east filter
* <strong>Export</strong> - User download export file from the site
* <strong>WooCommerce</strong> - Monitor all shop settings and options
* <strong>bbPress</strong> - Forums, Topics, Replies, Taxonomies and other actions
* There's more, but you get the point...

<h4>What people are saying</h4>
* <em>“Best 10 Free WordPress Plugins of the Month – July 2014: Keeping tabs on what your users do with their access to the Dashboard”</em> - [ManageWp.com](https://managewp.com/best-free-wordpress-plugins-july-2014)
* <em>“Thanks to this step, we’ve discovered that our site was undergoing a brute force attack”</em> - [artdriver.com](http://www.artdriver.com/wordpress-site-hacked-solution-time/)
* <em>“Optimized code - The plugin itself is blazing fast and leaves almost no footprint on the server.”</em> - [freshtechtips.com](http://www.freshtechtips.com/2014/01/best-audit-trail-plugins-for-wordpress.html)
* <em>“The plugin successful for activity log for WordPress.”</em> - [wp-tricks.co.il](http://www.wp-tricks.co.il/2013/08/%D7%99%D7%95%D7%9E%D7%9F-%D7%A4%D7%A2%D7%99%D7%9C%D7%95%D7%AA-%D7%9C%D7%95%D7%95%D7%A8%D7%93%D7%A4%D7%A8%D7%A1-aryo-activity-log/)
* <em>“This is a pretty simple yet quite effective plugin for keeping track of what your admins and users do on your sites.”</em> - [shadowdragonunlimited.com](http://shadowdragonunlimited.com/plugin-of-the-week-9302013-aryo-activity-log/plugin-of-the-week/)
* <em>“Activity Log lets you track a huge range of activities. Overall, very easy to use and setup.”</em> - [elegantthemes.com](https://www.elegantthemes.com/blog/tips-tricks/5-best-ways-to-monitor-wordpress-activity-via-the-dashboard)


<h4>Translators:</h4>
* German (de_DE) - [Robert Harm](http://www.mapsmarker.com/)
* Dutch (nl_NL) - [Tom Aalbers](http://www.dtaalbers.com/)
* Serbo-Croatian (sr_RS) - [Borisa Djuraskovic](http://www.webhostinghub.com/)
* Danish (da_DK) - [Morten Dalgaard Johansen](http://www.iosoftgame.com/)
* Hebrew (he_IL) + RTL Support - [Pojo.me](http://pojo.me/)
* Armenia (hy_AM) - Hayk Jomardyan
* Brazilian Portuguese (pt_BR) - [Criação de Sites](http://www.techload.com.br/criacao-de-sites-ribeirao-preto)
* Turkish (tr_TR) - [Ahmet Kolcu](http://ahmetkolcu.org)
* Persian (fa_IR) - [Promising](http://vwp.ir/)
* Russian (ru_RU) - Oleg Reznikov
* Polish (pl_PL) - Maciej Gryniuk
* Czech (cs_CZ) - Martin Kokeš
* Finnish (fi) - Nazq

The plugin does not require any kind of setup. It works out of the box (and that’s another reason people love it).

We’re planning to add a lot more features in the upcoming releases. If you think we’re missing something big time, please post your suggestions in the plugin’s forum.

<h4>Contributions:</h4>
Would you like to like to contribute to Activity Log? You are more than welcome to submit your pull requests on the [GitHub repo](https://github.com/pojome/activity-log). Also, if you have any notes about the code, please open a ticket on the issue tracker.

== Installation ==

1. Upload plugin files to your plugins folder, or install using WordPress' built-in Add New Plugin installer
1. Activate the plugin
1. Go to the plugin page (under Dashboard > Activity Log)

== Screenshots ==

1. The log viewer page
2. The settings page
3. Screen Options

== Frequently Asked Questions ==

= Requirements =
* __Requires PHP5__ for list management functionality.

= What is the plugin license? =

* This plugin is released under a GPL license.

= Can I export logs? =

* You can easily export logs with Activity Log. We also support exporting filtered results. Filter by the time the action took place, roles, users, options, action type, and more.

== Changelog ==

= 2.8.8 - 2023-08-20 =
* Tweak: Added aal_export_csv_separator filter to change the separator in CSV export ([Topic](https://wordpress.org/support/topic/change-separator-in-class-aal-exporter-csv-php/))
* Tweak: Added Visitor IP Detected to prevent IP manipulations in log

= 2.8.7 - 2023-07-30 =
* Tweak: Remove Elementor Promotion from Activity Log plugin
* Tweak: Added support for non-standard WordPress loading ([Topic](https://wordpress.org/support/topic/plugin-breaks-site-migration/))
* Fix: Logs kept for longer than settings ([Topic](https://wordpress.org/support/topic/logs-kept-for-longer-than-settings/), [#178](https://github.com/pojome/activity-log/issues/178))

= 2.8.6 - 2023-05-08 =
* Tweak: Improved database performance for new installations by adding indexes
* Fix: Added compatibility for PHP 8.1 ([#180](https://github.com/pojome/activity-log/issues/180))

= 2.8.5 - 2022-11-21 =
* Tweak: Now the date/time format is displayed according to the site settings ([Topic](https://wordpress.org/support/topic/date-format-question-2/))
* Fix: Added compatibility for PHP 8.1 ([Topic](https://wordpress.org/support/topic/deprecated-filter_sanitize_string-preg_match-and-strtolower-in-php-8-1/))
* Fix: Add input sanitization to avoid security issues

= 2.8.4 - 2022-09-04 =
* Tweak: Added Activity Log setting to records log
* Tweak: Added encoded value in CSV file ([#165](https://github.com/pojome/activity-log/issues/165))

= 2.8.3 - 2022-03-09 =
* Tweak: Run Clear old items from DB once daily to avoid unexpected errors ([#156](https://github.com/pojome/activity-log/issues/156))

= 2.8.2 - 2022-01-25 =
* Fix: Auto-updates of core, plugins and themes are not registered to the log ([#155](https://github.com/pojome/activity-log/issues/155), props [@nicomollet](https://github.com/nicomollet))

= 2.8.1 - 2021-12-01 =
* Fix: Activity log database table not being dropped after deleting the plugin in multisite installation

= 2.8.0 - 2021-11-17 =
* New: Added Privacy Settings to records log
* New: Added Site Language to records log
* New: Added a filter link to Topic, IP, Date, User and Action in the log table screen
* Tweak: Aligned Topics to be in plural instead of singular
* Fix: Filter by users dropdown on activity page threw a timeout error in some cases ([#141](https://github.com/pojome/activity-log/issues/141))
* Fix: CSV Export issue with comma separated values ([Topic](https://wordpress.org/support/topic/csv-export-and-comma-seperated-values/))

= 2.7.0 - 2021-05-06 =
* New: Added an option to skip or keep the failed login logs for better optimization ([#125](https://github.com/pojome/activity-log/issues/125))
* Tweak: Improved the activity log table with clear labels and re-order columns for better UX
* Tweak: Changed the wrong_password action to failed_login in User topic
* Tweak: Changed the added action to uploaded in Attachment topic
* Tweak: Changed the created action to registered in User topic
* Fix: Add input sanitization to avoid security issues

= 2.6.1 - 2021-02-15 =
* Fix: Conflict with WooCommerce while you using new block editor

= 2.6.0 - 2020-10-19 =
* Tweak: Added support for CloudFlare and CloudFlare Enterprise client IP header ([#133](https://github.com/pojome/activity-log/issues/133))
* Tweak: Added browser confirmation to Reset Database option
* Tweak: Notification tab is now deprecated for new installations
* Tweak: Added support for displaying custom role activity log ([#78](https://github.com/pojome/activity-log/issues/78), [#135](https://github.com/pojome/activity-log/issues/135), [Topic](https://wordpress.org/support/topic/only-shows-logs-for-admin/), [Topic](https://wordpress.org/support/topic/no-logs-for-most-created-roles/))
* Fix: Show user data on log-out action ([#126](https://github.com/pojome/activity-log/issues/126), [Topic](https://wordpress.org/support/topic/logout-hook-event/))
* Fix: Removed unused help context in admin to resolve deprecated WP error ([Topic](https://wordpress.org/support/topic/deprecated-function-in-debug-log/))
* Fix: PHP Notices are thrown when Debug mode is active ([Topic](https://wordpress.org/support/topic/php-errors-infomational/))
* Fix: Resolve jQuery Deprecation Notice and compatibility with WordPress 5.6+ ([Topic](https://wordpress.org/support/topic/jquery-deprecation-notice-jquery-fn-size/))

= 2.5.2 =
* Fix: Conflict with Elementor and WordPress Widgets

= 2.5.1 =
* Fix! - PHP < 5.4 compatibility ([Topic](https://wordpress.org/support/topic/crashed-site-now-wont-activate/))

= 2.5.0 =
* New! Added log to Export Personal Data tool for better GDPR Compliance ([Topic](https://wordpress.org/support/topic/activity-log-gdpr-compliance/))

= 2.4.1 =
* Fix! - Escape title before saving to database

= 2.4.0 =
* New! Export your Activity Log data records to CSV ([#70](https://github.com/pojome/activity-log/issues/70))

= 2.3.6 =
* Fix! - Admin table filters

= 2.3.5 =
* Fix! - Added comparability for WordPress 4.8.2 & 4.7.6

= 2.3.4 =
* Tweak! - Change Guest user to "N/A"

= 2.3.3 =
* Fixed! - Minor XSS vulnerability, credit to [Han Sahin](https://sumofpwn.nl/)

= 2.3.2 =
* Fixed! - Minor XSS vulnerability, credit to [Han Sahin](https://sumofpwn.nl/)

= 2.3.1 =
* Tweak! - Added seconds in time column
* Tweak! - Rearrange filters in list table

= 2.3.0 =
* Tweak! - All translates moved to [GlotPress](https://translate.wordpress.org/projects/wp-plugins/aryo-activity-log)
* Tweak! - Added restore status for Posts ([#46](https://github.com/pojome/activity-log/issues/46))
* Tweak! - A11y changes for WordPress 4.4 which requires `h1` tags ([#84](https://github.com/pojome/activity-log/issues/84))
* Tweak! - Allow some ajax requests just for admin

= 2.2.12 =
* Tested up to WordPress v4.5

= 2.2.11 =
* Tweak! - Temporarily remove Freemius SDK from the plugin

= 2.2.10 =
* Tweak! Update Freemius SDK
* Tested up to WordPress v4.4.2

= 2.2.9 =
* Tweak! Update Freemius SDK

= 2.2.8 =
* Tweak! Update Freemius SDK

= 2.2.7 =
* Added! - Freemius Insights platform to improve plugin UX
* Tweak! Update translate: Russian (ru_RU) - Thanks to Oleg Reznikov
* Tested up to WordPress v4.4

= 2.2.6 =
* Tweak! - Added sort by IP address ([#77](https://github.com/pojome/activity-log/issues/77))
* Tweak! - Added more actions/types in notification

= 2.2.5 =
* New! - Added translate: Finnish (fi) - Thanks to Nazq ([topic](https://wordpress.org/support/topic/finnish-translation-1))
* Tweak! - Better actions label in list table
* Fixed! - Notice php warring in MU delete site
* Tested up to WordPress v4.3

= 2.2.4 =
* New! - Added translate: Czech (cs_CZ) - Thanks to Martin Kokeš ([#76](https://github.com/pojome/activity-log/pull/76))

= 2.2.3 =
* Tweak! - Added more filters in table list columns

= 2.2.2 =
* Fixed! some PHP strict standards (PHP v5.4+)

= 2.2.1 =
* Fixes from prev release

= 2.2.0 =
* New! - Adds search box, to allow users to search the description field.
* New! - Allows users to now filter by action
* New! - Added translate: Polish (pl_PL) - Thanks to Maciej Gryniuk
* Tweak! - SQL Optimizations for larger sites

= 2.1.16 =
* New! Added translate: Russian (ru_RU) - Thanks to Oleg Reznikov
* Fixes Undefined property with some 3td party themes/plugins
* Tested up to WordPress v4.2

= 2.1.15 =
* Tested up to WordPress v4.1
* Change plugin name to "Activity Log"

= 2.1.14 =
* New! Added translate: Persian (fa_IR) - Thanks to [Promising](http://vwp.ir/)

= 2.1.13 =
* New! Added filter by User Roles ([#67](https://github.com/pojome/activity-log/issues/67))

= 2.1.12 =
* New! Added translate: Turkish (tr_TR) - Thanks to [Ahmet Kolcu](http://ahmetkolcu.org/)

= 2.1.11 =
* Fixed! Compatible for old WP version

= 2.1.10 =
* New! Now tracking when menus created and deleted
* New! Added translate: Portuguese (pt_BR) - Thanks to [Criação de Sites](http://www.techload.com.br/criacao-de-sites-ribeirao-preto)

= 2.1.9 =
* New! Store all WooCommerce settings ([#62](https://github.com/pojome/activity-log/issues/62))
* Tested up to WordPress v4.0

= 2.1.8 =
* New! Now tracking when plugins installed and updated ([#59](https://github.com/pojome/activity-log/pull/59) and [#43](https://github.com/pojome/activity-log/issues/43))

= 2.1.7 =
* New! Now tracking when user download export file from the site ([#58](https://github.com/pojome/activity-log/issues/58) and [#63](https://github.com/pojome/activity-log/pull/63))

= 2.1.6 =
* Tested up to WordPress v3.9.2

= 2.1.5 =
* New! Now tracking when theme installed, updated, deleted ([#44](https://github.com/pojome/activity-log/issues/44))

= 2.1.4 =
* Fixed! Store real IP address in Proxy too ([#53](https://github.com/pojome/activity-log/issues/53))

= 2.1.3 =
* New! Added translate: Dutch (nl_NL) - Thanks to [Tom Aalbers](http://www.dtaalbers.com/) ([#55](https://github.com/pojome/activity-log/issues/55))

= 2.1.2 =
* Tweak! Update translate: Hebrew (he_IL)

= 2.1.1 =
* New! Track about WordPress core update (manual or auto-updated) ([#41](https://github.com/pojome/activity-log/issues/41))
* New! Track post comments (created, approved, unproved, trashed, untrashed, spammed, unspammed, deleted) ([#42](https://github.com/pojome/activity-log/issues/42))

= 2.1.0 =
* New! Personally-tailored notifications that can be triggered by various types of events, users and action type (currently only email notifications are supported)
* Bug fixes, stability improvements
* Fixed an error that occurred on PHP 5.5

= 2.0.7 =
* Tested up to WordPress v3.9.0

= 2.0.6 =
* Fixed! Random fatal error ([topic](https://github.com/pojome/activity-log/issues/32))

= 2.0.5 =
* New! Register `aal_init_caps` filter.
* Tweak! Change all methods to non-static.
* Tweak! Some improved coding standards and PHPDoc.
* Tweak! Split `AAL_Hooks` class to multiple classes.
* New! Added translate: Armenia (hy_AM) - Thanks to Hayk Jomardyan.

= 2.0.4 =
* Tweak! Don't allowed to access in direct files.
* New! Added translate: Danish (da_DK) - Thanks to [Morten Dalgaard Johansen](http://www.iosoftgame.com/)

= 2.0.3 =
* New! Record when widgets change orders.

= 2.0.2 =
* New! Save more Options:
* General
* Writing
* Reading
* Discussion
* Media
* Permalinks

= 2.0.1 =
* New! filter for disable erase all the log
* Bugs fixed

= 2.0.0 =
* Added Screen Options
* New! Ability to select a number of activity items per page
* New! Columns are now sortable
* Added filter by date - All Time, Today, Yesterday, Week, Month
* Added Avatar to author
* Added role for author
* Added log for activeted theme
* Re-order Culoumns
* Compatible up to 3.8.1
* Settings page is now accessible directly from Activity Log's menu
* Keep your log for any time your wants
* Delete Log Activities from Database.
* Bugs fixed


= 1.0.8 =
* Added translate: Serbo-Croatian (sr_RS) - Thanks to [Borisa Djuraskovic](http://www.webhostinghub.com/).

= 1.0.7 =
* Added 'view_all_aryo_activity_log' user capability ([topic](http://wordpress.org/support/topic/capability-to-access-the-activity-log)).

= 1.0.6 =
* Added WooCommerce integration (very basic).
* Added Settings link in plugins page.

= 1.0.5 =
* Fix - Make sure no save double lines (menu taxonomy / post).

= 1.0.4 =
* Added Taxonomy type (created, updated, deleted).

= 1.0.3 =
* Added Multisite compatibility.
* Added Options hooks (limit list, you can extend by simple filter).
* Added Menu hooks.
* Tweak - Ensure no duplicate logs..

= 1.0.2 =
* Forget remove old .pot file

= 1.0.1 =
* Added translate: German (de_DE) - Thanks to [Robert Harm](http://www.mapsmarker.com/)
* Added translate: Hebrew (he_IL)
* Plugin name instead of file name on activation/deactivation
* <strong>New Hooks:</strong>
* A widget is being deleted from a sidebar
* A plugin is being changed
* Theme Customizer (Thanks to Ohad Raz)

= 1.0 =
* Blastoff!
