[buddypress-trac] [BuddyPress Trac] #6068: Use standard event names instead of "bp_before_registration_submit_buttons" to make registration work with plugins

buddypress-trac noreply at wordpress.org
Mon Dec 15 18:25:34 UTC 2014


#6068: Use standard event names instead of "bp_before_registration_submit_buttons"
to make registration work with plugins
--------------------------+------------------------------
 Reporter:  elrata_       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by boonebgorges):

 > I mean, because having to live for ever like this is kind of a PITA.
 Tons of plugins will simply not work because of this. And if there is no
 good reason to keep it, it's probably easier to fix the created plugins
 for BP than to teach all plguins, created now and in the future a user
 might want to use, to work with BP.

 We have a strong committment to backward compatibility. Breaking thousands
 of existing sites for the sake of a slightly improved developer experience
 is not how we operate. That being said, if there were a way to fix this
 without breaking things (which there might be), it's something I'd be glad
 to look at.

 > It does an "add_action()" with 'bp_signup_validate' as "event".

 I see where you're hooking to BP actions, but it's not obvious at a glance
 which piece of functionality you're reproducing in the wp-recaptcha
 plugin. The only other hook that gets the `check_recaptcha_generic`
 callback is `lostpassword_post`, which clearly is not a registration-
 specific hook. How does the plugin validate WP registrations via wp-
 signup.php?

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6068#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list