Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 14 years ago

#2352 closed enhancement (fixed)

[patch] Add global filter for errors return during registration

Reported by: delayedinsanity's profile 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)

bp-core-signup.diff (726 bytes) - added by delayedinsanity 15 years ago.
Diff for applying a global filter to error messages

Download all attachments as: .zip

Change History (3)

@delayedinsanity
15 years ago

Diff for applying a global filter to error messages

#1 @paulhastings0
14 years ago

  • Summary changed from Add global filter for errors return during registration to [patch] Add global filter for errors return during registration

#2 @boonebgorges
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3356]) Filters the error message div returned during registration. Fixes #2352. Props delayedinsanity

Note: See TracTickets for help on using tickets.