Skip to content

Repository files navigation

Activity Log

A WordPress plugin that logs user and system actions: post edits, login attempts, plugin activations, option changes, REST API calls, WP-CLI commands, and more. Each log entry records who made the change, when, from which IP, and through which request source (WP Admin, REST API, WP-CLI, WP-Cron, XML-RPC, or WP Abilities).

Events are stored in a dedicated database table, separate from core WordPress tables.

Requirements

  • WordPress 6.2 or later
  • PHP 7.4 or later

Install

Install from the WordPress.org plugin directory, or search "Activity Log" under Plugins > Add New in the WordPress dashboard.

This repository is the development source. If you want to run a released version, use the WordPress.org zip.

Develop from source

Clone the repository into your wp-content/plugins/ directory. The folder name should be aryo-activity-log to match the plugin slug.

cd /path/to/wp-content/plugins
git clone https://github.com/elementor/activity-log.git aryo-activity-log
cd aryo-activity-log

Install PHP dev dependencies (PHPUnit, PHPCS):

composer install

Install JS dependencies and build the admin UI:

npm ci
npm run build

npm start runs a watch build for development. npm run package creates a distributable plugin directory, and npm run package:zip wraps it in a zip.

Tests and lint

See tests/README.md for the full PHPUnit setup (WordPress test harness, database, troubleshooting).

composer test     # PHPUnit
composer lint     # PHPCS (WordPress coding standards)

CI runs on every push and pull request:

  • PHPUnit across PHP 7.4, 8.0, 8.1, 8.2, 8.3 and recent WordPress versions (MySQL 5.7)
  • PHPCS on PHP 7.4
  • JS build verification on pull requests

Changelog

Recent release notes are in readme.txt. The complete version history is in changelog.txt.

Contributing

Open issues and pull requests on the GitHub repo. Release notes go in readme.txt and changelog.txt.

Report security vulnerabilities through the Patchstack Vulnerability Disclosure Program.

License

GPLv2 or later.

About

Get aware of any activities that are taking place on your dashboard! Imagine it like a black-box for your WordPress site.

Topics

Resources

Stars

188 stars

Watchers

14 watching

Forks

Releases

Packages

Used by

Contributors

Languages