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

WordPress Trac noreply at wordpress.org
Wed Sep 10 22:01:24 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:  needs-patch has-test-info close  |     Focuses:
---------------------------------------------+-----------------------------
Changes (by peterwilsoncc):

 * keywords:  needs-patch has-test-info => needs-patch has-test-info close


Comment:

 I've been considering this over the last few days and come to the view
 that replacing deleted comments with a placeholder message is best left to
 a plugin.

 My concern is that such a change would mean that WordPress no longer
 respects the site owner's decision to delete objects from the database.
 Once a comment has been published, even if accidentally, the comment would
 need to stay in the database in order for WordPress to know that the
 comment has been moderated.

 If a site owner installs a plugin to enable such a feature, they've
 demonstrated a clear intent to retain the objects in the database in some
 form. Without the plugin, WordPress can not be sure of their intent.

 I've added the close keyword to allow for second a second opinion.

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


More information about the wp-trac mailing list