[wp-trac] [WordPress Trac] #63931: Deleting a parent comment causes the child to move up a level
WordPress Trac
noreply at wordpress.org
Thu Sep 11 13:18:20 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 kimjiwoon):
Currently, when a **post** is moved to the trash in WordPress, all
connected **comments** are deleted along with it. Likewise, when the post
is restored, all comments are restored together.
However, in **ActivityPub**, every comment (reply) is an independent
object with its own `inReplyTo` property. This does not align with the
traditional WordPress behavior.
In a federated environment, replies received from a **remote actor** are
fundamentally objects originating from another instance. They cannot
simply be deleted locally. The only options for moderation are to **hide**
them or **block the actor**.
In a federated WordPress context, comments should not be bound exclusively
to a local `wp_post`. Much like email, they should be capable of being
sent outward or attached to a remote URL. This means that even if the
original post does not exist locally, it should still be possible to post
a reply based on the URL.
---
https://github.com/Automattic/wordpress-activitypub/pull/1996
Add image attachment support to federated comments
https://github.com/Automattic/wordpress-activitypub/issues/2091
Idea to Completely Deprecate the WordPress Comments Field
https://github.com/Automattic/wordpress-activitypub/issues/2065
Federated comments become orphans when the original post is deleted
https://github.com/Automattic/wordpress-activitypub/issues/2073
Proposal: Comment-to-Comment Federation in WordPress ActivityPub
https://github.com/Automattic/wordpress-activitypub/issues/1833
Edge Case Test: Federated Reply Block Does Not Sync as Comment
https://github.com/Automattic/wordpress-activitypub/issues/2130
A Proposed Database Schema for WordPress ActivityPub Integration
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63931#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list