[buddypress-trac] [BuddyPress Trac] #5897: bp_blogs_record_post() uses activity meta functions without checking if activity component is active

buddypress-trac noreply at wordpress.org
Tue Sep 23 21:07:47 UTC 2014


#5897: bp_blogs_record_post() uses activity meta functions without checking if
activity component is active
------------------------------+---------------------
 Reporter:  r-a-y             |       Owner:  r-a-y
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  2.1.1
Component:  Blogs             |     Version:  2.1
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by r-a-y):

 * owner:   => r-a-y
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"9038"]:
 {{{
 #!CommitTicketReference repository="" revision="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.
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5897#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list