[wp-trac] [WordPress Trac] #63931: Deleting a parent comment causes the child to move up a level

WordPress Trac noreply at wordpress.org
Fri Sep 12 10:06:40 UTC 2025


#63931: Deleting a parent comment causes the child to move up a level
---------------------------------------+-----------------------------
 Reporter:  oglekler                   |       Owner:  (none)
     Type:  enhancement                |      Status:  new
 Priority:  normal                     |   Milestone:  Future Release
Component:  Comments                   |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-test-info 2nd-opinion  |     Focuses:
---------------------------------------+-----------------------------

Comment (by yashjawale):

 From my testing, no warning is shown currently while deleting a comment
 with children.

 Also, I can see two different behaviors...

 If we are just sending the parent comment to trash, its children too are
 not shown in frontend (although the comments screen in dashboard shows the
 child comments normally).

 But if I clear the trashed comments (i.e. delete permanently), THEN the
 child comments get moved up, which contradicts the behavior shown by trash
 action.

 imo user might expect child comments to get deleted too, as that is what
 trash option implied on the frontend before deleting the comment
 permanently.

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


More information about the wp-trac mailing list