Opened 10 years ago
Last modified 5 years ago
#28351 new enhancement
New filters in wp-signup.php
Reported by: | UmeshSingla | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0 |
Component: | Login and Registration | Keywords: | has-patch |
Focuses: | multisite | Cc: |
Description
Added two new filters in wp-signup.php
confirm_user_signup
and confirm_blog_signup
, they allow a user to filter the message being printed on signup confirmation after successful user or blog registration.
Currently the wp-signup.php file does not provide enough flexibility to display a custom confirmation message, although it should be a easy thing.
Attachments (6)
Change History (17)
#4
@
10 years ago
- Milestone changed from Awaiting Review to Future Release
- Version changed from trunk to 3.0
#6
@
9 years ago
Updated patch (28351-2.diff).
I've added three more filters to change the username, email and blog name texts.
I honestly think that wp-signup.php should be recoded to make it more extensible. gettext was suggested here: #27227 but I think is not the best way to customize it due to well-known performance issues when using that filter.
#10
@
9 years ago
- Keywords needs-docs added
In addition to updating the @since
versions, all three of the signup_*_text
filters are missing hook documentation.
In the context those three filters are used, I would prefer to evaluate the filters to variables first then use the variables inline – the code will be cleaner and the lines will be shorter. Win/Win.
Added filters to display a custom signup confirmation message for User or Blog registration