Skip to:
Content

BuddyPress.org

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#5897 closed defect (bug) (fixed)

bp_blogs_record_post() uses activity meta functions without checking if activity component is active

Reported by: r-a-y Owned by: r-a-y
Milestone: 2.1.1 Priority: normal
Severity: normal Version: 2.1
Component: Blogs Keywords: has-patch commit
Cc:

Attachments (1)

5897.01.patch (663 bytes) - added by r-a-y 5 years ago.

Download all attachments as: .zip

Change History (4)

@r-a-y
5 years ago

#1 @boonebgorges
5 years ago

  • Keywords commit added

D'oh :)

#2 @r-a-y
5 years ago

  • Owner set to r-a-y
  • Resolution set to fixed
  • Status changed from new to closed

In 9038:

Blogs: Check if activity component is active before using activity meta functions.

Previously, r8944 used some functions to mirror the blog post title to the
activity meta table. However, a check was not made to determine if the
activity component was active. This caused a fatal error for sites that
have the activity component disabled.

Fixes #5897 (2.1-branch).

Anti-props r-a-y.

#3 @r-a-y
5 years ago

In 9039:

Blogs: Check if activity component is active before using activity meta functions.

Previously, r8944 used some functions to mirror the blog post title to the
activity meta table. However, a check was not made to determine if the
activity component was active. This caused a fatal error for sites that
have the activity component disabled.

Fixes #5897 (trunk).

Anti-props r-a-y.

Note: See TracTickets for help on using tickets.