[buddypress-trac] [BuddyPress Trac] #6915: BP Email template: the unsubscribe link & the account activation email
buddypress-trac
noreply at wordpress.org
Tue Feb 16 15:41:16 UTC 2016
#6915: BP Email template: the unsubscribe link & the account activation email
--------------------------+------------------
Reporter: imath | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.5
Component: API | Version:
Severity: normal | Resolution:
Keywords: dev-feedback |
--------------------------+------------------
Comment (by DJPaul):
`unsubscribe` will be empty if the recipient can't be found by
`get_user_by( 'email', ... )`. There's no support for using tokens in a
conditional.
We could set the default value for this to wp-login.php, so at the very
least, people arrive at the log-in form, which is better than a broken
link, because they get a message telling them to activate their account
first.
Until if/when we have a "real" unsubscribe link that doesn't require you
to be logged in, this is probably the easiest and least messy solution I
can think of. What do you think?
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6915#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list