WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 2 months ago

#41663 new feature request

Hooks for the back to login link in the footer of wp-login.php

Reported by: Fleuv Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.8.1
Component: Login and Registration Keywords: 2nd-opinion
Focuses: Cc:

Description

In the following pull request: https://github.com/WordPress/WordPress/pull/306/files I introduced 3 new filters to the login footer area. With these filters you can customize the back to login link to your needs.

Attachments (1)

filter_back_to_blog_link.diff (1.7 KB) - added by Fleuv 3 years ago.
This patch works with the trunk, but requires a tiny bit of testing. Almost 100% sure that this will work smoothly.

Download all attachments as: .zip

Change History (2)

@Fleuv
3 years ago

This patch works with the trunk, but requires a tiny bit of testing. Almost 100% sure that this will work smoothly.

#1 @sabernhardt
2 months ago

  • Keywords 2nd-opinion added

Since WordPress 5.7, the login_site_html_link filter can replace the link and its text, still within the backtoblog paragraph.

ticket:35449, changeset:50117, dev note

It's not the same approach, but I think this ticket could be closed as fixed.

Note: See TracTickets for help on using tickets.