[WordPress] 外掛分享: Automatic Login

首頁外掛目錄 › Automatic Login
WordPress 外掛 Automatic Login 的封面圖片
全新外掛
安裝啟用
★★★★★
5/5 分(3 則評價)
74 天前
最後更新
問題解決
WordPress 5.5.1+ v3.0.0 上架:2023-02-13

內容簡介

開發人員們,請注意!如果符合以下條件,Automatic Login WordPress 外掛將會在本地開發環境下自動登入:

已定義 WP_ENVIRONMENT_TYPE 常數且值為「local」。
存在一位使用者名稱為「admin」且密碼為「password」的使用者。

或者,您也可以使用 AUTOMATIC_LOGIN_USER_LOGIN 和 AUTOMATIC_LOGIN_USER_PASSWORD 常數來定義 Automatic Login 的登入資訊。請注意,Automatic Login 不會建立新的使用者,所以使用者必須事先存在。

WP Snapshots

如果您在使用 10up 的 WP Snapshots 專案分享工具,則「wpsnapshots」使用者名稱將會自動被識別。

錯誤報告

如果您想要回報 Automatic Login 的錯誤或提出功能建議,建議至 Automatic Login 的 GitHub 儲存庫 中進行。

外掛標籤

開發者團隊

⬇ 下載最新版 (v3.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Automatic Login」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Developers rejoice! Skip the login screen during local development. Automatic Login logs you in automatically on your local development environment.
Quick Start

Install and activate the plugin.
Define the WP_ENVIRONMENT_TYPE constant as local in your wp-config.php file.
Create a user with username admin and password password.
That’s it—you’ll be logged in automatically!

Log in as another user
By default, Automatic Login uses the admin user. Add the following constants to your wp-config.php file to log in as another user:
define( 'AUTOMATIC_LOGIN_USER_LOGIN', 'your-username-here' );
define( 'AUTOMATIC_LOGIN_USER_PASSWORD', 'your-password-here' );

Note: Automatic Login does not create users. The user must already exist.
10up snapshots
The snapshots and wpsnapshots user names are automatically recognized for folks using 10up’s Snapshots project sharing tool.
Bug reports
Do you want to report a bug or suggest a feature for Automatic Login? Best to do so in the Automatic Login repository on GitHub.
You might also like

Admin Bar Site ID
Display the current site ID in the WordPress admin bar on multisite networks.
Uncomment
Your one-stop shop to completely disable comments and remove all comment functionality.
Lorem Ipsum Autocomplete
Quickly insert lorem ipsum dummy text or placeholder images into WordPress posts and pages via autocompletion.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon