[wp-trac] [WordPress Trac] #64240: Nested notes are not deleted or trashed when parent note is

WordPress Trac noreply at wordpress.org
Thu Nov 20 13:58:52 UTC 2025


#64240: Nested notes are not deleted or trashed when parent note is
-------------------------------------------------+-------------------------
 Reporter:  adamsilverstein                      |       Owner:
                                                 |  adamsilverstein
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.9
Component:  Notes                                |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests commit      |     Focuses:
  dev-reviewed                                   |
-------------------------------------------------+-------------------------

Comment (by wildworks):

 In [changeset:"61274" 61274]:
 {{{
 #!CommitTicketReference repository="" revision="61274"
 Notes: trash (or delete) child notes when parent is deleted.

 Ensure that when a top level note is trashed (or deleted), all of its
 replies (children) are also trashed or deleted. If EMPTY_TRASH_DAYS is 0,
 notes are deleted immediately; otherwise they are marked as trash for
 later cleanup.

 Reviewed by wildworks.
 Merges [61248] to the 6.9 branch.

 Props adamsilverstein, desrosj, wildworks, mamaduka, karthickmurugan,
 jeffpaul, shailu25.
 See #64240.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64240#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list