[buddypress-trac] [BuddyPress Trac] #5789: Buddypress doesn't send password when admin register new user on MU
buddypress-trac
noreply at wordpress.org
Wed Aug 13 17:05:42 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: 2.1
Component: Core | Version: 1.2
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------
Comment (by godavid33):
Oh, I had left a part out of it is why!
{{{
line 250:
-function bp_core_filter_user_welcome_email( $welcome_email ) {
+function bp_core_filter_user_welcome_email( $welcome_email, $user_id,
$password, $meta ) {
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 );
}}}
now it's working again
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5789#comment:15>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list