[buddypress-trac] [BuddyPress Trac] #6007: Potential improvement to bp-members-classes.php and add_backcompat()

buddypress-trac noreply at wordpress.org
Tue Nov 25 22:06:20 UTC 2014


#6007: Potential improvement to bp-members-classes.php and add_backcompat()
----------------------------------------+------------------
 Reporter:  Judder                      |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  2.2
Component:  Core                        |     Version:  2.1
 Severity:  normal                      |  Resolution:
 Keywords:  good-first-bug needs-patch  |
----------------------------------------+------------------

Comment (by boonebgorges):

 Replying to [comment:4 r-a-y]:
 > Mamaduka - thanks for the patch, but what is suggested above is we use
 WP's native registration errors instead of creating our own, custom error
 message.

 I think that this is what the patch does. `$user_id` in this case is the
 `WP_Error` object created by WP. We're just returning it untouched.

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


More information about the buddypress-trac mailing list