跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

Magic Emails & Autologin URLs

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Magic Emails & Autologin URLs

由 Brian Henry 開發
下載
  • 詳細資料
  • 使用者評論
  • 開發資訊
技術支援

外掛說明

A new “Email Magic Link” button is added to the standard WordPress and WooCommerce login screens. If there is a user
account for the username filled out, they will receive an email with a link to log them in without a password.

All emails sent from WordPress will contain login codes in links pointing back to the website:

  • Comment reply emails
  • Abandoned cart emails
  • Membership reminder emails
  • etc.

No configuration is required, by default:

  • Autologin URLs work for one week
  • Emails to administrators are excluded
  • Emails on exclusion shortlist are not modified

An API is available for developers to use autologin codes elsewhere in WordPress, e.g. push notifications, and to conditionally disable the plugin’s use. Code is published on GitHub, uses WordPress Plugin Boilerplate, conforms (mostly) to WordPress Coding Standards, and is unit & integration tested.

螢幕擷圖

Example email sent via Comment Reply Email Notification plugin.
Example email sent via Comment Reply Email Notification plugin.
The settings interface.
The settings interface.

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈Magic Emails & Autologin URLs〉的開發相關工作。

參與者
  • Brian Henry

將〈Magic Emails & Autologin URLs〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

2.4.2

  • Fix: fatal error with User Switching plugin – firing wp_login too early

2.4.1

  • Fix fatal error with WooCommerce HPOS meta boxes hook – strict typing issue

2.4.0

  • Add: REST API
  • Add/fix: prefill WooCommerce checkout with user details from The Newsletter Plugin, Klaviyo, Mailpoet
  • Fix: fatal error on first request after WooCommerce is deleted from filesystem
  • Fix: broken WooCommerce orders page
  • Fix: strpos() null error when HTTP_USER_AGENT missing. Thanks @sisaacrussell
  • Improve: logging
  • Improve: don’t add autologin codes to The Newsletter Plugin emails’ URLs

2.3.0

  • Add: “Send magic link email” button on users list table
  • Fix: bug with bh-wp-logger – thanks @Amit-Biswas
  • Add: screenshots to .org plugin page
  • Add: CLI documentation
  • Fix: minor wording
  • Dev: add Playwright tests

2.2.0

  • Add: configurable template for user-edit.php autologin URL
  • Add: user-edit.php autologin URL click to copy to clipboard
  • Fix: “Email Magic Link” on wp-login.php was disabled when Firefox autofilled the username
  • Fix: JS for logs page were excluded from the plugin archive

2.1.1

  • Fix: Default expiry time when omitted in CLI was parsing as 0
  • Add: Warning that logs may contain autologin codes

2.1.0

  • Add: CLI commands wp autologin-urls get-url and wp autologin-urls send-magic-link
  • Fix: Links to /wp-admin were redirecting to wp-login screen because $_COOKIE was not yet set
  • Performance: Return early when no querystring set
  • Fix: wp_safe_redirect() exit() is now conditional

2.0.0

  • Breaking: UI for regex subject filters removed (functionality still exists through filters)
  • Fix: Use correct determine_current_user filter for login
  • Update library: RateLimit library has bugfix to handle false returned from transients for expected array
  • Update library: bh-wp-logger library has performance and feature improvements

1.10.0

  • Add bh_wp_autologin_urls_should_delete_code_after_use filter
  • Improved logging

1.9.0

  • Add: checkbox to enable/disable magic links
  • Add: magic link button on WooCommerce checkout
  • Add: enable overriding the settings page template
  • Improve: logging
  • Dev: use Alley Interactive autoloader

1.8.0

  • Add: ignore requests from bots (check HTTP_USER_AGENT for “bot”)
  • Fix: do not redirect_to wp-login.php, unwrap the inner redirect_to and use that
  • Fix: unprefixed Klaviyo\ApiException.

1.7.1

  • Fix: set content type on HTML emails
  • Fix: do not generate autologin URLs when serving WC_Orders over REST API
  • Improve: hyperlinks in log table

1.7.0

  • Add: Magic-link emails on wp-login.php and WooCommerce login forms
  • Add: Git Updater
  • Improved PHPCS and logging

1.6.3

  • Fix: Catch Klaviyo API errors
  • Language: Include generated .pot file

1.6.2

  • Dependency: updated logger library for performance

1.6.1

  • Fix: Fatal error when Klaviyo querystring was defined but empty
  • Fix: fatal error when plugin_action_links_{} filter called with null as parameter values (Jetpack)
  • Fix: (temp) Error when WooCommerce shuts down due to virtual WC_Customer
  • Fix: error when wp_mail’s $to is an array

1.6.0

  • Add: Settings and logs link on plugin install confirmation page
  • Fix: Prefilling WooCommerce customer data when no WP_User available: missing function parameter, wc_get_orders called too soon

1.5.0

  • Add: Support for using Klaviyo tracking links as autologin links
  • Change: Use library nikolaposa/rate-limit for rate limiting rather than internal code
  • Add: interface for integrations
  • Fix: Return early when user is already logged in
  • Fix: Error when Guzzle not prefixed
  • Dev: Project structure changed

1.4.0

  • Add: On admin UI single order page, add the autologin code to the “Customer payment page” link
  • Security: Exclude emails with multiple recipients

1.3.3

  • Add: Use custom table for storing codes, because transients are too ephemeral
  • Add: Option to bounce users through wp-login.php, to avoid caching issues
  • Add: Logs users in from links in The Newsletter Plugin
  • Add: Logs users in from links in MailPoet
  • Add: Prefill WooCommerce checkout data for mailing list users without accounts
  • Add: More secure verification via hash_equals
  • Add: Rate limiting bad login attempts
  • Add: Logging (mostly off by default)

1.1.2

  • Improved dependency management with Mozart for Composer.

1.1.1

  • Auto-deploying to WordPress.org

1.1.0

  • Rate limiting added for multiple failed login attempts against user accounts and from IPs. This only affects Autologin URLs logins and does not affect other authentication. 2019-September-11.

1.0

  • First release. 2019-September-01.

中繼資料

  • 版本 2.4.2
  • 最後更新 2 年前
  • 啟用安裝數 100+
  • WordPress 版本需求 4.5.0 或更新版本
  • 已測試相容的 WordPress 版本 6.4.12
  • PHP 版本需求 7.4 或更新版本
  • 語言
    English (US)
  • 標籤:
    emaillinksloginnewsletterusers
  • 進階檢視

評分

這個項目尚無任何評論記錄。

撰寫評分

查看全部使用者評論

參與者

  • Brian Henry

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

贊助

想要支援這個外掛的發展嗎?

贊助這個外掛

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • 造訪我們的 Bluesky 帳號
  • 造訪我們的 Mastodon 帳號
  • 造訪我們的 Threads 帳號
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • 造訪我們的 TikTok 帳號
  • Visit our YouTube channel
  • 造訪我們的 Tumblr 帳號
程式碼,如詩
The WordPress® trademark is the intellectual property of the WordPress Foundation.