Opened 15 years ago
Closed 14 years ago
#2352 closed enhancement (fixed)
[patch] Add global filter for errors return during registration
Reported by: | delayedinsanity | Owned by: | |
---|---|---|---|
Milestone: | 1.5 | Priority: | normal |
Severity: | Version: | ||
Component: | Core | Keywords: | signup, errors, filter |
Cc: |
Description
I'm in the middle of customizing the signup process for a BuddyPress install and wanted to apply my own classes to the error messages returned on required fields, etc.
I was unable to track down a filter that could be used in this situation, so I added one (diff attached). A default filter in bp-core-filters.php could easily be added to re-apply the <div class="error"> however since I'm unfamiliar with your coding standards I've only attached the diff for applying the filter.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Diff for applying a global filter to error messages