[buddypress-trac] [BuddyPress Trac] #5333: new_blog_post activity items not deleted when blog post is deleted

buddypress-trac noreply at wordpress.org
Sun Jan 26 18:22:06 UTC 2014


#5333: new_blog_post activity items not deleted when blog post is deleted
--------------------------+--------------------
 Reporter:  henry.wright  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.0
Component:  Activity      |     Version:  1.9.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------

Comment (by henry.wright):

 Hi Paul

 My patch doesn't take into account the published-to-draft status
 transition so it was never a great approach.

 Your patch got me thinking of all possible eventualities. Aside from
 ''delete'', it seems all of the following status transitions can occur:

 Published - > Future
 Published - > Draft - covered in
 [https://buddypress.trac.wordpress.org/attachment/ticket/5333/5333-1.patch
 5333-1]
 Published - > Pending
 Published - > Private
 Published - > Trash - covered in
 [https://buddypress.trac.wordpress.org/attachment/ticket/5333/5333-1.patch
 5333-1]

 http://codex.wordpress.org/Post_Status

 1. Is it worth modifying your patch to take all these possibilities into
 account?
 2. Should the same housekeeping be done for blog post '''comments'''?

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


More information about the buddypress-trac mailing list