WordPress.org

Ready to get started?Download WordPress

Forums

Password Protected
[resolved] Whole site not protected (3 posts)

  1. gmisura
    Member
    Posted 2 years ago #

    Using v1.1 of Password Protected plugin, it is working for the "blog" site, but anything in wp-admin is not protected. Is that intentional? Can I make it protect everything?

    http://wordpress.org/extend/plugins/password-protected/

  2. gmisura
    Member
    Posted 2 years ago #

    I added

    add_action( 'login_head', array($this, 'maybe_show_login' ), 1);

    to

    wp-content/plugins/password-protected/password-protected.php

    right after

    add_action( 'template_redirect', array( $this, 'maybe_show_login' ), 1 );

    Though I think that is causing the login/register page to require 2 attempts.

  3. Ben Huson
    Member
    Plugin Author

    Posted 2 years ago #

    The admin is not protected as you already require a username and password to login so seems a bit pointless.

    I suppose it would be possible to protect the admin login pages if you really wanted to to, then you would have to enter your Password Protected password to se ethe username/password admin login, then login. Have added it as a possible issue for the future:
    https://github.com/benhuson/password-protected/issues/7

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic