Docs

Updating the plugin

3 min readUpdated November 19, 2026

Nahnu Login Shield updates like any other WordPress plugin. This page covers how to update safely, and what happens to the early-block file if you use it.

Before you update

  • Make a backup. A backup lets you roll back if something goes wrong.
  • Read the changelog. Each release lists what changed. Pay attention to any note marked as a change that needs action from you. You can read the changelog here, or in the Changelog tab on the plugin’s WordPress.org page.
  • Try it on a staging site first (optional). If your site is busy or you’ve added custom code, test the update on a copy of your site.
  • Keep a way back in. As always with security plugins, keep access to your hosting account or files, in case you need to deactivate the plugin.

Update from the WordPress dashboard

  1. Go to Dashboard → Updates, or Plugins.
  2. Find Nahnu Login Shield. When an update is available, a notice appears.
  3. Click Update now.
  4. Open Settings → Login Shield and check that the Protected badge shows.

Automatic updates

You can switch on automatic updates for Shield on the Plugins screen, using the Enable auto-updates link next to it. We recommend reading the changelog for each release if you do. Auto-updates are best for sites where a short outage would not be a problem.

What happens to your settings

Your settings, event log, lockouts, user two-factor and passkey data, and scheduled tasks stay in place when you update. When a release needs changes to the plugin’s database tables or settings, Shield makes them for you automatically the first time the site loads after the update. You don’t have to do anything, and it works the same after an automatic update.

If you use early blocking

Early blocking is the optional file that turns locked-out visitors away before WordPress loads. From version 1.0.19, Shield refreshes that file for you: the first time the site loads after an update, an installed early-block file is replaced with the new version. Shield never installs the file by itself, only refreshes a copy you installed.

This also happens when you update to 1.0.19 from an older version. There is one case where you still need to act:

  • WordPress can’t write to the mu-plugins folder. A notice appears on the Login Shield settings page. The button can’t work until the folder is writable. Either fix the folder permissions and then click Update mu-plugin, or copy wp-content/plugins/nahnu-login-shield/nahnls-early-block.php to wp-content/mu-plugins/ by hand. The General tab shows these copy instructions.

If you don’t use early blocking, you can skip this section.

Updating from a downloaded file

If you installed the plugin from a downloaded .zip file, you can update the same way.

  1. Go to Plugins → Add New Plugin → Upload Plugin and choose the new .zip file.
  2. WordPress tells you the plugin is already installed. Choose Replace current with uploaded.

Or replace the nahnu-login-shield folder in /wp-content/plugins/ over SFTP. Your settings are stored in the database, so they stay in place.

After the update

  • Open Settings → Login Shield and check that nothing is flagged.
  • Open the Log tab and make sure events are still being recorded.
  • Sign in from a private window to make sure your login page still works.

If something goes wrong

  • You are locked out. See “I locked myself out”.
  • The login page looks wrong, or a form stopped working. Clear your site cache and any CDN cache, then reload.
  • You need to go back. Restore your backup, or install the previous version from the Advanced View section of the plugin’s WordPress.org page, then contact us through the Support page.

Developers

If you use Shield’s functions, hooks, shortcodes or REST routes in your own code, check the changelog before you update. If a release renames or changes any of them, the changelog says so, and the Developer API pages are kept up to date.

Was this helpful?

This website uses cookies to enhance your browsing experience and ensure the site functions properly. By continuing to use this site, you acknowledge and accept our use of cookies.

Accept All Accept Required Only