跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

CodeCave Admin Security Auditor

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

CodeCave Admin Security Auditor

作者:CodeCave
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

CodeCave Admin Security Auditor is a lightweight plugin that helps you monitor user activity by tracking and displaying the last login time for each user in your WordPress site.

Features:

  • Automatically tracks the last login time for all users
  • Displays last login information in the WordPress admin users table
  • Sortable last login column for easy user management
  • Shows “Never” for users who haven’t logged in since plugin installation
  • Timezone-aware display (uses your WordPress timezone settings)
  • Clean uninstall – removes all data when plugin is deleted
  • Translation ready
  • No configuration needed – works out of the box

Use Cases:

  • Monitor user engagement and activity
  • Identify inactive user accounts
  • Security auditing and compliance
  • User account cleanup and maintenance
  • Track user adoption of your WordPress site

Privacy and Data:

This plugin stores the last login timestamp as user metadata in your WordPress database. No data is sent to external servers. When you uninstall the plugin, all stored data is automatically removed.

Developer Notes

Accessing Last Login Data Programmatically:

You can retrieve the last login timestamp for a user:

$auditor = CodeCave_Admin_Security_Auditor::get_instance();
$last_login = $auditor->get_last_login( $user_id );

if ( $last_login ) {
    echo 'Last login: ' . date( 'Y-m-d H:i:s', $last_login );
} else {
    echo 'Never logged in';
}

Hooks and Filters:

The plugin uses standard WordPress hooks and does not currently provide custom hooks. This may be added in future versions based on user feedback.

安装

  1. Upload the codecave-admin-security-auditor folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Navigate to Users > All Users to see the Last Login column

That’s it! The plugin will automatically start tracking user logins.

常见问题

Does this plugin track login attempts or just successful logins?

The plugin only tracks successful logins. Failed login attempts are not recorded.

Will this plugin show login times for users who logged in before activation?

No, the plugin only tracks logins that occur after it has been activated. Existing users will show “Never” until they log in again.

Can I export the last login data?

The data is stored as WordPress user metadata and can be accessed programmatically or through database exports. Future versions may include export functionality.

Does this plugin work with custom login pages?

Yes, the plugin uses WordPress core hooks and will work with any login method that triggers the standard WordPress authentication process.

Will this plugin slow down my site?

No, the plugin is extremely lightweight and only updates a single database field when a user logs in. There is no impact on frontend performance.

Is this plugin GDPR compliant?

The plugin stores minimal data (a timestamp) for legitimate purposes (user management and security). However, you should review your own privacy policy and data retention practices to ensure GDPR compliance for your specific use case.

Can I customize the date format?

The current version uses WordPress timezone settings. Future versions may include format customization options.

评价

此插件暂无评价。

贡献者及开发者

「CodeCave Admin Security Auditor」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • CodeCave

帮助将「CodeCave Admin Security Auditor」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.2.4

  • Test

1.2.3

  • Test

1.2.2

  • Test latest + assets

1.2.1

  • Testing workflow updates.

1.2.0

  • Minor bump.

1.0.2

  • Second bump.

1.0.1

  • Bump version for automatic update prevent test.

1.0.0

  • Initial release
  • Track last login time for all users
  • Display last login in users table
  • Sortable last login column
  • Timezone-aware display
  • Clean uninstall

额外信息

  • 版本 1.2.4
  • 最后更新:6 月前
  • 活跃安装数量 不到10
  • WordPress 版本 5.8 或更高版本
  • 已测试的最高版本为 6.8.5
  • PHP 版本 7.4 或更高版本
  • 语言
    English (US)
  • 标签
    adminlast loginloginsecurityusers
  • 高级视图

评级

尚未提交反馈。

Your review

查看全部评论

贡献者

  • CodeCave

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.