

The login page: the badge plus a faint watermark of the environment name, so you know which copy you're signing in to.
Webknit Environment Indicator puts a clear, colored badge on every copy of your site that isn’t production:
WP_ENVIRONMENT_TYPE setting.localhost, 127.0.0.1, or a domain ending in .local, .test, .localhost, .example or .invalid.Developers can override the result with the webknit_environment_indicator_environment filter.
When you clone a site, its database (and this plugin’s settings) goes with it. To stop a “Staging” setting from ending up on your live site after a push to production, settings are stored separately for each site URL. Settings saved for a different URL are never applied; the settings page shows a URL mismatch warning and asks you to configure the site again.