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

WordPress Trac noreply at wordpress.org
Sat Nov 15 13:42:49 UTC 2025


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

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

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

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

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


More information about the wp-trac mailing list