Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi. I’m not currently seeing that.
    Have you changed anything?

    Thread Starter thennig

    (@thennig)

    This has not yet changed. Please help asap. I can send a screen shot if it is helpful. It is on the log in page, in small blue letters, under the log in box.

    I see it. I’m not sure which file it is off the top of my head, but you could probably just swap out the login page file with a clean copy from whichever version of WP you’re running.

    OK, I’ve narrowed down the circumstances under which it is displayed for me.

    It only shows the first time I visit the page, on subsequent refreshes it does’t show until I either clear my browser cookies, or quit and re-open my browser.

    Are you using the Password Protected plugin as-it-comes, or have you copied a version of the Password Protected login template into your theme?

    The link appears to display directly after the form tag where the ‘password_protected_after_login_form’ action is triggered. See line 121 of the template file:
    https://github.com/benhuson/password-protected/blob/master/theme/password-protected-login.php#L121

    Please could you try editing the plugin file /theme/password-protected-login.php (or the copy in your theme folder if you copied one to there). Remove the following line and see if the issue still persists:

    <?php do_action( 'password_protected_after_login_form' ); ?>

    If that fixes it then there must be some code elsewhere in your site hooking into the password_protected_after_login_form to output that link.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Porn Site on Login Page’ is closed to new replies.