[buddypress-trac] [BuddyPress] #4720: Function bp_activity_delete() is being called on Add New Post in the Dashboard

buddypress-trac noreply at wordpress.org
Fri Dec 14 19:53:28 UTC 2012


#4720: Function bp_activity_delete()  is being called on Add New Post in the
Dashboard
--------------------------+------------------------------
 Reporter:  gagan0123     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Activity      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by boonebgorges):

 I can confirm that this is happening. It's because of an annoying check
 done in `bp_blogs_record_post()`.

 Fixing this issue is potentially problematic, though, as it's likely to
 break other stuff if done wrong. What is this "breaking" in your plugin?
 You can work around it by just checking the arguments passed to the
 bp_before_activity_delete hook to make sure that the activity item
 actually exists.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4720#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list