10up / 10up-experience

The 10up Experience plugin configures WordPress to better protect and inform clients, aligned to 10up’s best practices.
GNU General Public License v2.0
129 stars 27 forks source link

Adds environment type indicator to admin bar #165

Open psorensen opened 1 month ago

psorensen commented 1 month ago

Description of the Change

This adds a display to the admin bar to indicate the current environment type based on the WP_ENVIRONMENT_TYPE config variable. Most useful for increasing awareness and preventing inadvertent changes to production environment. Inspired by Display Environment Type plugin.

image image image

Closes #147

How to test the Change

Configure different environment types and observe that changes to indicator match.

Changelog Entry

Added - New feature Changed - Existing functionality Deprecated - Soon-to-be removed feature Removed - Feature Fixed - Bug fix Security - Vulnerability Added indicator to admin bar to denote current environment type.

Credits

Props @username, @username2, ... @psorensen @rickalee

Checklist: