Make WordPress Core

Opened 8 years ago

Last modified 8 years ago

#39929 new enhancement

Improve ability to customize "nav" links below login form.

Reported by: dcavins's profile dcavins Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.8
Component: Login and Registration Keywords:
Focuses: template Cc:

Description

In adding a Single Sign-On option to a site, I ran into trouble while trying to add a link to the login form. Flexibility could be introduced by adding an action inside each p.nav in wp-login.php, but there's already duplicated code. So, I've added a function that builds the output and allows plugins to add new links or change the existing links.

Thanks for considering my request.

Attachments (2)

39929.1.diff (5.0 KB) - added by dcavins 8 years ago.
Add wp_login_form_nav_links().
wp-login-form-links-filter.png (20.9 KB) - added by dcavins 8 years ago.
Sample usage: adding an alternative login method.

Download all attachments as: .zip

Change History (4)

@dcavins
8 years ago

Add wp_login_form_nav_links().

@dcavins
8 years ago

Sample usage: adding an alternative login method.

#1 @dcavins
8 years ago

  • Summary changed from improve customizability of "nav" links below login form. to Improve customizability of "nav" links below login form.

#2 @dcavins
8 years ago

  • Summary changed from Improve customizability of "nav" links below login form. to Improve ability to customize "nav" links below login form.
Note: See TracTickets for help on using tickets.