Skip to:
Content

BuddyPress.org

Opened 3 months ago

Closed 3 months 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 Owned by: imath
Milestone: 10.0.0 Priority: normal
Severity: normal Version:
Component: Activity Keywords: has-patch commit
Cc:

Description

As titled.

Attachments (1)

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

Download all attachments as: .zip

Change History (4)

@oztaser
3 months ago

#1 @oztaser
3 months ago

  • Keywords has-patch added

#2 @imath
3 months 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 months 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.