WordPress.org

Support

Support » Plugins and Hacks » Hacks » Need to Remove Login and Lost Password Links from beneath "Register" form

Need to Remove Login and Lost Password Links from beneath "Register" form

Viewing 3 replies - 1 through 3 (of 3 total)
  • Unfortunately there isn’t a filter that will let you actually remove the markup there. You can see on wp-login.php on lines 705-707 that those links are hard coded into the markup.

    Why bother hiding links to wp-login.php that appear on wp-login.php? The page has been found. The only difference between the linked pages and the logon page is the “action” parameter, they all originate from the same file. Every WP hacker in the world knows how to manipulate the “action” parameters.

    Thanks, Nickohrn. I had a feeling that was the case. WordPress really should make this an option. Some may want their register form to be accessible without their login being accessible.

    Bc, I realize that it is the same PHP file, but even with the correct action, it is inaccessible without a certain query string. It made me feel better to remove it. Plus, it doesn’t make sense to leave links that can’t be used on the page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Need to Remove Login and Lost Password Links from beneath "Register" form’ is closed to new replies.