Ticket #2688: wp_error.diff
File wp_error.diff, 702 bytes (added by , 14 years ago) |
---|
-
wp-content/plugins/buddypress/bp-core/bp-core-signup.php
### Eclipse Workspace Patch 1.0 #P borisgloger
391 391 'user_email' => $user_email 392 392 ) ); 393 393 394 if ( !$user_id ) {394 if ( !$user_id OR $user_id instanceof WP_Error ) { 395 395 $errors->add( 'registerfail', sprintf( __('<strong>ERROR</strong>: Couldn’t register you... please contact the <a href="mailto:%s">webmaster</a> !', 'buddypress' ), get_option( 'admin_email' ) ) ); 396 396 return $errors; 397 397 }