[buddypress-trac] [BuddyPress Trac] #5789: Buddypress doesn't send password when admin register new user on MU
buddypress-trac
noreply at wordpress.org
Fri Aug 1 02:07:28 UTC 2014
#5789: Buddypress doesn't send password when admin register new user on MU
--------------------------+------------------------------
Reporter: godavid33 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by godavid33):
And it's actually a super easy fix. I unfortunately don't understand how
to create a patch, but if in /bp-core-filters.php you change line 261 such
that:
{{{
line 261:
- return str_replace( 'PASSWORD', __( '[User Set]', 'buddypress' ),
$welcome_email );
+ return str_replace( 'PASSWORD', __( $password, 'buddypress' ),
$welcome_email );
line 263:
- add_filter( 'update_welcome_user_email',
'bp_core_filter_user_welcome_email' );
+ add_filter( 'update_welcome_user_email',
'bp_core_filter_user_welcome_email', 10, 4 );
}}}
Everything works hunky dory (though would also be nice if that post-
activation page made a mention to check your email but that's probably
customizable with filters since Buddypress is so awesome :] ). As an
additional note, might be useful to check to make sure it's multi-site
and/or to test this on single site. Not sure if it would change anything
there.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5789#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list