Skip to:
Content

BuddyPress.org

Opened 5 years ago

Closed 5 years ago

#8126 closed defect (bug) (fixed)

`bp_send_email()` forms `WP_Error` object incorrectly

Reported by: boonebgorges's profile boonebgorges Owned by: djpaul's profile DJPaul
Milestone: 5.0.0 Priority: normal
Severity: normal Version: 2.5.0
Component: Emails Keywords:
Cc:

Description

See https://buddypress.trac.wordpress.org/browser/tags/4.3.0/src/bp-core/bp-core-functions.php?marks=3228#L3210. There is no __CLASS__ or $this at this point, since it's not in a class context.

Change History (1)

#1 @boonebgorges
5 years ago

  • Resolution set to fixed
  • Status changed from new to closed

In 12427:

Don't pass class-related variables to WP_Error object in bp_send_email().

Fixes #8126.

Note: See TracTickets for help on using tickets.