[buddypress-trac] [BuddyPress Trac] #5379: add earlier hook in bp_core_screen_signup() *before* validation checks
buddypress-trac
noreply at wordpress.org
Fri Feb 7 13:46:06 UTC 2014
#5379: add earlier hook in bp_core_screen_signup() *before* validation checks
-------------------------+------------------
Reporter: terraling | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.0
Component: Core | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------
Changes (by boonebgorges):
* milestone: Awaiting Review => 2.0
Comment:
If you want to modify the signup validation that BuddyPress does, I'd
recommend filtering 'bp_core_validate_user_signup', and setting/unsetting
error messages. With the hook you've requested, I imagine you'd have to do
something kinda hackish (like messing with the $_POST global) to work
around our validation.
That said, there are legit reasons for wanting this hook, and it's
harmless to add it. I'm going to tweak the name to fit better with our
naming conventions. Thanks for the suggestion!
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5379#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list