[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 09:57:45 UTC 2014


#5379: add earlier hook in bp_core_screen_signup() *before* validation checks
-------------------------+-----------------------------
 Reporter:  terraling    |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Core         |    Version:
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 There is an existing action hook called bp_signup_validate in
 bp_core_screen_signup() which comes *after* all of the WP and BP
 validation checks.

 Can we please insert

 {{{
 do_action( 'bp_signup_prevalidate' );
 }}}

 in bp_core_screen_signup() at line 82 of bp-member-screens.php to allow
 intervention *before* the validation checks?

 (My use case is to improve the mobile experience by making it possible to
 bypass requiring the user to enter the password twice. Leaving
 #submit_password_confirm hidden and empty on the client also makes for a
 nice honeypot.)

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5379>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list