[wp-trac] [WordPress Trac] #63931: Deleting a parent comment causes the child to move up a level
WordPress Trac
noreply at wordpress.org
Sat Sep 6 23:08:47 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 | Focuses:
---------------------------------------+-----------------------------
Comment (by peterwilsoncc):
There are two things to consider re trashing:
1. the `EMPTY_TRASH_DAYS` constant can be used to disable trash and delete
the comment immediately
2. `wp_scheduled_delete` will delete any comments that have been in the
trash for `EMPTY_TRASH_DAYS` days. The default value is 30.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63931#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list