[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 19:13:23 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:  2.0
Component:  Core            |     Version:  1.7
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------
Changes (by boonebgorges):

 * milestone:  Awaiting Review => 2.0


Comment:

 This looks correct to me. My guess is that the `is_admin()` check was
 removed from the global scope, with the intention of moving it into the
 function scope as in 5466.patch, but it was forgotten about. Thanks for
 the research and the patch.

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


More information about the buddypress-trac mailing list