[buddypress-trac] [BuddyPress Trac] #6912: BP Email prevents the activation email to be resent by the admin / BP Email fails when used in an Administration screen
buddypress-trac
noreply at wordpress.org
Mon Feb 15 19:12:42 UTC 2016
#6912: BP Email prevents the activation email to be resent by the admin / BP Email
fails when used in an Administration screen
--------------------------------------+---------------------
Reporter: imath | Owner: imath
Type: defect (bug) | Status: closed
Priority: high | Milestone: 2.5
Component: General - Administration | Version:
Severity: blocker | Resolution: fixed
Keywords: commit |
--------------------------------------+---------------------
Changes (by imath):
* owner: => imath
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"10594"]:
{{{
#!CommitTicketReference repository="" revision="10594"
Make sure the BuddyPress Email template can be loaded within the WordPress
Administration.
`bp_locate_template()` is only loading templates if `WP_USE_THEMES` is
defined or if an Ajax request is done, which is not the case inside a
regular Administration page. As the email template is a required parameter
for the BP_Email class, this was preventing any email to be sent from the
WordPress Administration (eg: the activation email using the "resend"
action from the Signups screen).
To fix this we are introducing a new filter the BP_Email class is using to
get the email template.
Fixes #6912
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6912#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list