Skip to:

Opened 3 years ago

Closed 3 years ago

#8587 closed defect (bug) (fixed)

`bp_activity_post_update` should return WP_Error object on failure if user set `error_type` param as `wp_error`

Reported by: oztaser's profile oztaser Owned by: imath's profile imath
Milestone: 10.0.0 Priority: normal
Severity: normal Version:
Component: Activity Keywords: has-patch commit


As titled.

Attachments (1)

8587.patch (2.0 KB) - added by oztaser 3 years ago.

Download all attachments as: .zip

Change History (4)

3 years ago

#1 @oztaser
3 years ago

  • Keywords has-patch added

#2 @imath
3 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 10.0.0

Hi @oztaser :)

Good catch. Thanks a lot for your report and patch. It looks great, I'll commit it asap.

#3 @imath
3 years ago

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

In 13128:

Into bp_activity_post_update() do return a WP Error when requested

Props oztaser

Fixes #8587

Note: See TracTickets for help on using tickets.