Opened 15 years ago
Closed 12 years ago
#14406 closed enhancement (fixed)
consistent register link filtering
Reported by: | wpmuguru | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | minor | Version: | |
Component: | Administration | Keywords: | 3.2-early has-patch commit |
Focuses: | Cc: |
Description (last modified by )
The register link is filtered in the meta widget, but not in the login form. If someone builds a custom signup page process, they have to catch the $_GET['action'] == 'register'
which isn't very elegant or consistent.
The attached patch uses the wp_register function in wp-login.php to provide consistent filtering of the registration link.
Attachments (3)
Change History (12)
#4
@
14 years ago
- Keywords needs-patch 3.2-early added; has-patch needs-refresh removed
- Milestone changed from 3.1 to Future Release
#5
@
12 years ago
- Keywords has-patch added; needs-patch removed
- Milestone changed from Future Release to 3.6
Filter it is
#6
@
12 years ago
Seems like the filter should be applied to all the three instances. Done in 14406.3.diff.
Note: See
TracTickets for help on using
tickets.
Can't that lead to the site admin link being displayed. Perhaps the 'register' filter should be applied directly. wp_register() is pretty lame, anyway. It applies the same filter for two different links. :-)