Title: [Plugin: Password Protected] Can Break Theme Customizer
Last modified: August 20, 2016

---

# [Plugin: Password Protected] Can Break Theme Customizer

 *  Resolved [Jason LeMahieu (MadtownLems)](https://wordpress.org/support/users/madtownlems/)
 * (@madtownlems)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-password-protected-can-break-theme-customizer/)
 * When Password Protected is enabled, the Theme Customizer fails to let you preview
   your changes unless you have also already authenticated against your new password.
 * While this isn’t necessarily a huge deal, it actually raises the question of 
   if the plugin should even require Site Administrators (and Network Administrators)
   to enter the site password in order to view it.
 * My suggestion would be to allow Site Admins and Network Admins to be able to 
   view the site regardless, but display a reminder that the site is locked to most
   people. For example, this is a screenshot of what a network/site admin sees when
   viewing one of our sites when a Site Offline message plugin we wrote is in use:
   [http://i.imgur.com/eyOjM.png](http://i.imgur.com/eyOjM.png)
 * I do know that you wanted to keep your plugin relatively lightweight, so I could
   easily see why you wouldn’t want this whole message/reminder stuff, but I do 
   think the behavior of requiring Site Admins and Network Admins to log in is kind
   of awkward (especially when they can’t find the password in the dashboard or 
   even database), and the breaking of Theme Customizations is just a side effect
   of that.
 * Note that while the Theme Customizer isn’t too heavily used right now, I think
   it will be picking up steam as more developers move away from Settings pages 
   to using the Customizer screen instead.
 * As always, thanks for your input and continued support 🙂
 * [http://wordpress.org/extend/plugins/password-protected/](http://wordpress.org/extend/plugins/password-protected/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Ben Huson](https://wordpress.org/support/users/husobj/)
 * (@husobj)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-password-protected-can-break-theme-customizer/#post-3089706)
 * I am keen to keep the plugin lightweight but that does seem sensible.
    I’ll have
   a think about wether this is the best default behaviour or wether it would be
   best implemented via a filter or something.
 *  Thread Starter [Jason LeMahieu (MadtownLems)](https://wordpress.org/support/users/madtownlems/)
 * (@madtownlems)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-password-protected-can-break-theme-customizer/#post-3089708)
 * Have you thought about keeping Password Protected super lightweight, but also
   have a Password Protected Expansion Pack or something, that adds a customizable
   message and some other random but useful stuff?
 *  [Ben Huson](https://wordpress.org/support/users/husobj/)
 * (@husobj)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-password-protected-can-break-theme-customizer/#post-3089927)
 * I think I may add the ability for admins to view the site by default in a future
   version.
    I’ve added an issue for it here: [https://github.com/benhuson/password-protected/issues/17](https://github.com/benhuson/password-protected/issues/17)
 * Personally I do not have the time to build an Expansion Pack but anyone could
   build an add-on plugin if they need to extend the functionality. I am happy to
   add extra hooks/filters if needed.
 * Ben
 *  [Ben Huson](https://wordpress.org/support/users/husobj/)
 * (@husobj)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-password-protected-can-break-theme-customizer/#post-3089929)
 * Version 1.4 (just released) includes a checkbox to allow admins to access site
   without password which also works round the Theme Customizer issue.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: Password Protected] Can Break Theme Customizer’ is closed to
new replies.

 * ![](https://ps.w.org/password-protected/assets/icon-128x128.gif?rev=2824217)
 * [Password Protected — Lock Entire Site, Pages, Posts, Categories, and Partial Content](https://wordpress.org/plugins/password-protected/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/password-protected/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/password-protected/)
 * [Active Topics](https://wordpress.org/support/plugin/password-protected/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/password-protected/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/password-protected/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Ben Huson](https://wordpress.org/support/users/husobj/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-password-protected-can-break-theme-customizer/#post-3089929)
 * Status: resolved