跳至主要內容
WordPress.org

Taiwan 正體中文

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

Plugin Directory

Automatic Login

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

Automatic Login

由 Plugin Pizza 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

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

Quick Start

  1. Install and activate the plugin.
  2. Define the WP_ENVIRONMENT_TYPE constant as local in your wp-config.php file.
  3. Create a user with username admin and password password.
  4. 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.

安裝方式

Starting with Automatic Login on your locally hosted WordPress site consists of the following steps:

  1. Install and activate the plugin.
  2. Define the WP_ENVIRONMENT_TYPE constant as local in your wp-config.php file.
  3. Create a user with username admin and password password.
  4. 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.

Install Automatic Login from within WordPress

  1. Visit the Plugins page within your dashboard and select ‘Add New’
  2. Search for ‘Automatic Login’
  3. Activate Automatic Login from your Plugins page

Install Automatic Login manually

  1. Add the ‘automatic-login’ folder to the /wp-content/plugins/ directory
  2. Activate the Automatic Login plugin through the ‘Plugins’ menu in WordPress

Install Automatic Login as a must-use plugin

Automatic Login also works great as a must-use plugin:

  1. Add the ‘automatic-login.php’ file to the /wp-content/mu-plugins/ directory

Automatic Login contains a GitHub Plugin URI plugin header to support updates via the Git Updater plugin.

使用者評論

Funciona correctamente

jesusjvc 2024 年 10 月 25 日 1 則留言
De ahora en adelante lo usaré en mis instalaciones de WP en local.

Works as expected! Thanks!

Andrew Mead 2024 年 7 月 24 日 1 則留言
I started using this on my local setup where I develop my WordPress plugin. It’s a dream!

I am rejoicing

Benjamin Intal 2024 年 2 月 23 日 1 則留言
I have a feature request, add in your auto-login credentials the username: admin and password: admin
閱讀全部 3 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Automatic Login〉的開發相關工作。

參與者
  • Plugin Pizza
  • Barry Ceelen

將〈Automatic Login〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

3.0.0

Release Date: January 2, 2026

  • Rename the plugin file from plugin.php to automatic-login.php to make it easier to use the plugin as a must-use plugin. Existing users will need to reactivate the plugin: renaming the plugin file will unfortunately automatically deactivate the plugin.

2.0.0

Release Date: July 26, 2024

  • Minor updates.

1.1.0

Release Date: July 25, 2024

  • Add support for the ‘snapshots’ user name in addition to ‘wpsnapshots’.

1.0.0

Release Date: February 11, 2023

  • Initial release.

中繼資料

  • 版本 3.0.0
  • 最後更新 1 個月前
  • 啟用安裝數 少於 10 次
  • WordPress 版本需求 5.5.1 或更新版本
  • 已測試相容的 WordPress 版本 6.9.1
  • 語言
    English (US)
  • 標籤
    adminautologinlocallogin
  • 進階檢視

評分

5 星,滿分為 5 星
  • 3 5-star reviews 5 星 3
  • 0 4-star reviews 4 星 0
  • 0 3-star reviews 3 星 0
  • 0 2-star reviews 2 星 0
  • 0 1-star reviews 1 星 0

新增使用者評論

查看全部使用者評論

參與者

  • Plugin Pizza
  • Barry Ceelen

技術支援

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

檢視技術支援論壇

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

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • Visit our Bluesky account
  • 造訪我們的 Mastodon 帳號
  • Visit our Threads account
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
程式碼,如詩