[buddypress-trac] [BuddyPress Trac] #8174: Registration process is generating an error when the xProfile component is not active

buddypress-trac noreply at wordpress.org
Fri Dec 6 19:19:48 UTC 2019


#8174: Registration process is generating an error when the xProfile component is
not active
--------------------------+---------------------
 Reporter:  imath         |       Owner:  imath
     Type:  defect (bug)  |      Status:  closed
 Priority:  highest       |   Milestone:  5.1.0
Component:  Registration  |     Version:  5.0.0
 Severity:  critical      |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by imath):

 * owner:  (none) => imath
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"12504" 12504]:
 {{{
 #!CommitTicketReference repository="" revision="12504"
 Make sure users can register when the xProfile component is not active

 In version 5.0.0, we've introduced an improvement to use the display name
 as the salutation in signup emails (see [12349]). To do so we rely on an
 xProfile's component function. When this component is not active, the
 function is also not available causing a fatal error and preventing the
 activation email to be sent. To fix this issue we are now checking the
 component is active before using the function to return the display name.

 Fixes #8174 (Branch 5.0)
 }}}

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


More information about the buddypress-trac mailing list