説明
Developers rejoice! Automatic Login logs you in automatically on your local development installation if the following conditions are met:
- The
WP_ENVIRONMENT_TYPE
constant is defined as ‘local’. - A user exists with the username ‘admin’ and password ‘password’.
Alternatively, the AUTOMATIC_LOGIN_USER_LOGIN
and AUTOMATIC_LOGIN_USER_PASSWORD
constants can be used to define the login credentials for Automatic Login. Note that Automatic Login does not create a user for you and the user should already exist.
WP 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.
インストール
Starting with Automatic Login on your locally hosted WordPress site consists of the following steps:
- Install and activate the plugin.
- Define the
WP_ENVIRONMENT_TYPE
constant as ‘local’. - Create a user with the user name ‘admin’ and password ‘password’. Note that Automatic Login is intended for local development environments. Do not create these login credentials on publicly accessible sites!
Alternatively, the AUTOMATIC_LOGIN_USER_LOGIN
and AUTOMATIC_LOGIN_USER_PASSWORD
constants can be used to define the login credenitals for Automatic Login. Note that Automatic Login does not create a user for you and the user should already exist.
WP 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
- Visit the Plugins page within your dashboard and select ‘Add New’
- Search for ‘Automatic Login’
- Activate Automatic Login from your Plugins page
Install Automatic Login manually
- Upload the ‘automatic-login’ folder to the /wp-content/plugins/ directory
- Activate the Automatic Login plugin through the ‘Plugins’ menu in WordPress
Automatic Login contains a GitHub Plugin URI
plugin header to support updates via the Git Updater plugin.
評価
貢献者と開発者
変更履歴
1.1.0
Release Date: July 25, 2024
- Add support for the ‘snapshots’ user name in addition to ‘wpsnapshots’.
1.0
Release Date: February 11, 2023
- Initial release.