[buddypress-trac] [BuddyPress Trac] #5466: bp_core_filter_user_welcome_email() should not run in the admin

buddypress-trac noreply at wordpress.org
Mon Mar 17 13:24:35 UTC 2014


#5466: bp_core_filter_user_welcome_email() should not run in the admin
----------------------------+-----------------------------
 Reporter:  SergeyBiryukov  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Core            |    Version:  1.7
 Severity:  normal          |   Keywords:  has-patch
----------------------------+-----------------------------
 The function was introduced in [2773] and moved to a separate file in
 [2832].

 The function description says that it will not fire when a user is
 registered by the site admin:
 [source:tags/1.9.2/bp-core/bp-core-filters.php#L196]

 However, that is no longer true since [6439], where the `is_admin()` check
 was removed (without any clarification in the commit message). See the
 [https://wordpress.org/support/topic/welcome-user-email-does-not-contain-
 password support thread] that led to this ticket.

 The same applies to `bp_core_filter_blog_welcome_email()`.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5466>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list