[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:09:29 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  |
------------------------------+---------------------

Comment (by r-a-y):

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

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


More information about the buddypress-trac mailing list