[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 17:51:12 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        |   Keywords:
--------------------------+-----------------------------
 Hi!

 I'm using buddypress 2.1 and several captcha plugins doesn't work. For
 example wp-recaptcha:

    https://wordpress.org/plugins/wp-recaptcha/

 But the reason it is not working seems to be just because the callbacks
 are being added to different events. The registration form event is called
 differently when using Buddypress and this seems to break the captcha
 there (it works fine with the comments).

 I did a simple patch, as a proof of concept, to wp-recaptcha to use the
 buddypress event names, and it works fine. You can see the patch here:

 https://github.com/rata/wp-recaptcha-
 bp/commit/00c8a2441a2287f3b84303d0bbdc16551c55e5ad

 (I also added the captcha to the lost password form, but ignore that)

 Is it possible to use the standard wp event names, so plugins using the
 "add_action()" function work fine with Buddypress too ?




 Thanks a lot,
 Rodrigo

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


More information about the buddypress-trac mailing list