EMW Monitor Activity Log

外掛說明

EMW Monitor Activity Log helps site owners audit important events in the WordPress admin area.

The plugin logs:

  • User authentication events (login, failed login, logout, password reset).
  • User profile and role changes.
  • Post, page, and media actions.
  • Comments activity.
  • Plugin and theme activation/deactivation events.
  • Key admin option and menu updates.

You can view logs from a searchable admin table with filters.

螢幕擷圖

安裝方式

  1. Upload the plugin folder to /wp-content/plugins/.
  2. Activate the plugin from the Plugins screen.
  3. Open EMW Dashboard to review logs and security overview.

常見問題集

Does this plugin log front-end visitor activity?

No. The current version focuses on WordPress user/admin activity and system changes.

Can I delete old logs?

Yes. Use the bulk delete action in the log viewer table.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈EMW Monitor Activity Log〉的開發相關工作。

參與者

將〈EMW Monitor Activity Log〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.4.0

  • Added brute-force login lockout: configurable max attempts, sliding attempt window, and lockout duration, with an optional per-username scope.
  • Added a new Firewall admin page (hero, KPI summary, active lockouts panel, and Block/Allow list management) styled to match the existing dashboard design system.
  • Allow-listed IPs now bypass both the login block list and brute-force lockout checks.
  • Fixed the Cron Events “Run Now” action to only execute hooks that are actually scheduled, using their real recorded arguments, instead of trusting request-supplied hook names and arguments.
  • Fixed a UTC/local timezone mismatch in the “Export Today” log export.
  • Fixed LIKE-wildcard characters in log search being treated literally instead of escaped.
  • Added an explicit capability check to the log viewer’s bulk-delete action (defense in depth).
  • Added a composite database index for common log-filtering queries, applied automatically via a version-gated schema upgrade.

1.3.3

  • Fixed text domain loading to use the init hook, resolving a deprecation notice introduced in WordPress 6.7.
  • Replaced _get_cron_array() (private WP function) with get_option('cron') in the Cron Events page for forward compatibility.
  • Replaced current_time('mysql') with gmdate('Y-m-d H:i:s') for log insertion to ensure consistent UTC storage.
  • Replaced current_time('mysql', 1) with gmdate('Y-m-d H:i:s') across all dashboard date-threshold queries.
  • Replaced deprecated current_time('timestamp') with time() in the admin export handler.
  • Replaced direct _column_headers assignment with set_column_headers() in the log table for forward compatibility.
  • Replaced jQuery(document).ready() inline script with an IIFE pattern for compatibility with the WP 7.0 React-based admin.
  • Removed unused EMWMAL_Logger instantiation from the loader init method.
  • Updated plugin headers: Requires at least set to 6.7, added Tested up to: 7.0.
  • Applied WordPress and PHP coding standards (WPCS/PHPCS) fixes across all plugin files.

1.3.2

  • Added date range, username/email, and user role filters in Log Viewer.
  • Added custom date-range CSV export for activity logs.
  • Added a system status summary for logging, retention, notification email health, and next digest run.
  • Added an admin warning when digest notifications are enabled without a valid email recipient.

1.3.1

  • Updated the admin “What changed” notice to read release details from the changelog, including missed versions after upgrade.
  • Fixed log level filtering/export compatibility by normalizing stored and queried level values.
  • Aligned release metadata with the current codebase and documented the PHP 8.0 minimum requirement.

1.3.0

  • Added export presets (Security Audit, Login Failures, Compliance Report) in Log Viewer.
  • Added subtle motion polish: KPI count-up animation, new-event row highlights, and smooth state transitions.
  • Improved admin notices UI/UX, including better dismiss button alignment.
  • Continued Cron Events and dashboard usability refinements.

1.2.0

  • Added admin IP whitelist restriction with settings to restrict wp-admin access to allowed IPs.
  • Enhanced dashboard UI/UX and improved addon card experience.
  • Improved addon slider behavior for responsive 3/2/1 column display.
  • Kept advanced security and alert features available in the main plugin.

1.1.0

  • Added tabbed settings UI (General and Advanced).
  • Added advanced logging controls (global toggle, minimum level, message length, excluded log types, error email alerts).
  • Improved dashboard UX with KPI cards, refined security overview panel, and better quick actions.
  • Redesigned Available Addon Plugins section with status badges and feature highlights.
  • Fixed dashboard asset loading hook and improved admin-side script behavior.

1.0.0

  • Initial release.