Automattic / Automattic/wordpress-activitypub

Feature Request: add addressing/visiblity to locally created comments

Open
#1,962 7 comments 0 reactions 0 assignees View on GitHub
Feature Request
Dominant language
PHP
Stars
579
Forks
92
Avg merge
13h 5m
Merged PRs (30d)
85

Description

### What

Having more control for locally made comments.

1. Whether a comment should get federated at all
2. Set audience (addressing)

### Why

The "Polls For ActivityPub" plugin, allows local WordPress users to vote even if for example only the Blog-Actor is active. But then all votes which are stored as a custom comment_type get federated.

Meanwhile I use a hack to set comment_meta->protocol to 'activitypub', but this is no clean solution.

Also I cannot just press "Reply in the Fediverse" and select something like "mentioned users only".

### How

Provide a filters/hooks.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating the code paths for locally created comments, the comment_meta protocol handling, and the “Reply in the Fediverse” flow. Done means providing documented filters or hooks that control whether comments federate and let callers set their audience.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.