Opened 3 years ago
Closed 3 months ago
#14406 closed enhancement (fixed)
consistent register link filtering
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.6 |
| Component: | Administration | Version: | |
| Severity: | minor | Keywords: | 3.2-early has-patch commit |
| Cc: |
Description (last modified by wpmuguru)
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)
- Keywords needs-patch 3.2-early added; has-patch needs-refresh removed
- Milestone changed from 3.1 to Future Release
wonderboymusic — 4 months ago
comment:5
wonderboymusic — 4 months ago
- Keywords has-patch added; needs-patch removed
- Milestone changed from Future Release to 3.6
Filter it is
SergeyBiryukov — 4 months ago
comment:6
SergeyBiryukov — 4 months ago
Seems like the filter should be applied to all the three instances. Done in 14406.3.diff.
comment:7
SergeyBiryukov — 4 months ago
Related: #17950
comment:8
SergeyBiryukov — 3 months ago
- Keywords commit added
comment:9
SergeyBiryukov — 3 months ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
In 23558:
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. :-)