Skip to content
WordPress.org

Беларуская мова

  • Тэмы
  • Плагіны
  • News
  • Падтрымка
  • Пра нас
  • Remembers
  • Blocks
  • Дапаможнік
  • Education
  • Звязацца з намі
  • Спампаваць 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 25 кастрычніка, 2024 1 reply
De ahora en adelante lo usaré en mis instalaciones de WP en local.

Works as expected! Thanks!

Andrew Mead 24 ліпеня, 2024 1 reply
I started using this on my local setup where I develop my WordPress plugin. It’s a dream!

I am rejoicing

Benjamin Intal 23 лютага, 2024 1 reply
I have a feature request, add in your auto-login credentials the username: admin and password: admin
Чытаць усе 3 водгукі

Удзельнікі і распрацоўшчыкі

“Automatic Login” is open source software. The following people have contributed to this plugin.

Удзельнікі
  • 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
  • Апошняе абнаўленне 2 месяцы таму
  • Актыўных установак Менш за 10
  • Версія WordPress 5.5.1 або вышэй
  • Правераны да версіі 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

Add my review

See all reviews

Удзельнікі

  • Plugin Pizza
  • Barry Ceelen

Падтрымка

Ёсць што сказаць? Патрэбна дапамога?

Перайсці да форуму падтрымкі

  • Пра нас
  • Навіны
  • Хостынг
  • Прыватнасць
  • Вітрына
  • Тэмы
  • Плагіны
  • Патэрны
  • Навучанне
  • Падтрымка
  • Распрацоўнікі
  • WordPress.tv ↗
  • Далучыцца
  • Падзеі
  • Падтрымаць ↗
  • Пяць для будучыні
  • WordPress.com ↗
  • Matt
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Беларуская мова

  • Наведайце наш акаўнт у X (былы Twitter)
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Наведаеце нашу старонку на Facebook
  • Наведайце наш Instagram
  • Наведайце нашу старонку ў LinkedIn
  • Visit our TikTok account
  • Наведайце наш YouTube канал
  • Visit our Tumblr account
Код – гэта паэзія.
The WordPress® trademark is the intellectual property of the WordPress Foundation.