WordPress.org

China 简体中文

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

Plugin Directory

Login alert by e-mail

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

该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Login alert by e-mail

作者:Rui Cruz
下载
  • 详情
  • 评价
  • 开发进展
支持

描述

TLDR:
This is a plugin for WordPress websites that sends email notifications to the website admin for successful and failed login attempts. The email includes details like the username, IP address, and browser information.

Geek description:
This WordPress plugin sends email notifications upon successful and failed logins to the website’s admin. The plugin functions by hooking into the ‘wp_login’ and ‘wp_login_failed’ WordPress actions, and triggering the ‘send_login_notification’ and ‘send_login_failed_notification’ functions respectively.

The ‘send_login_notification’ function sends an email to the admin email address specified in the ‘admin_email’ option. The email includes details such as the successful login username, IP address, and browser information. The ‘send_login_failed_notification’ function sends a similar email to the admin, but for failed login attempts.

The plugin uses the wp_mail function to send the emails, and the messages are formatted as HTML for easy readability. The plugin ensures that the data being displayed, such as the username and IP address, is escaped using PHP’s built-in escape functions. This is done to prevent potential security vulnerabilities, such as XSS (Cross-Site Scripting).

In summary, this plugin provides an easy way for website administrators to stay informed of user login activity on their site, while also ensuring that sensitive information is displayed securely.

常见问题

Will I get many e-mails?

The frequency of emails you receive will depend on the login activity on your website. For every successful or failed login, an email notification will be sent to the website administrator. If you have a high volume of login activity, you may receive a higher volume of emails. You can adjust the notification settings in the code or turn off the plugin if desired.

Is the email format easily readable?

Yes, the emails are formatted as HTML for easy readability.

Who receives the emails?

The emails are sent to the admin email address specified in the ‘admin_email’ option.

Is sensitive information displayed securely?

Yes, the plugin uses PHP’s built-in escape functions to secure sensitive information, such as the username and IP address, to prevent potential security vulnerabilities.

评价

此插件暂无评价。

贡献者及开发者

「Login alert by e-mail」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • Rui Cruz

「Login alert by e-mail」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Login alert by e-mail」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.0

Initial version released

额外信息

  • 版本 1.0
  • 最后更新:3 年前
  • 活跃安装数量 不到10
  • WordPress 版本 5.0 或更高版本
  • 已测试的最高版本为 6.1.9
  • PHP 版本 7.0 或更高版本
  • 语言

    English (US) 和 Portuguese (Portugal).

    翻译成简体中文

  • 标签
    alertemailloginLogin Alert
  • 高级视图

评级

尚未提交反馈。

添加我的评价

查看全部评论

贡献者

  • Rui Cruz

支持

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

查看支持论坛

捐助

您愿意支持这个插件的发展吗?

捐助此插件

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

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗