wordpress-activitypub/includes/activity
André Menrath 7370e97b5a
Add replies collection (#876)
* typo in phpdoc

* add first draft for adding replies collections to posts and comments

* refactoring

* Fix php CodeSniffer violations

* fix typo in php comment

* add draft for testing replies

* replies: test with own comment

* fix basic test for replies collection

* Restrict 'type' parameter for replies to 'post' or 'comment' in REST API

* some cleanups

* prefer ID over URL

* rename to `reply_id` to make clear that it is not the WordPress comment_id

* modularize retrieving of comment link via comment meta

* fix phpcs

* I think we should be more precise with this

and maybe there are other fallbacks coming

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2024-09-25 13:24:35 +02:00
..
extended-object some formatting 2024-07-09 10:15:03 +02:00
class-activity.php Add replies collection (#876) 2024-09-25 13:24:35 +02:00
class-actor.php remove proprietary WebFinger resource 2024-08-20 11:53:27 +02:00
class-base-object.php Add/event objects (#629) 2024-01-18 16:35:52 +01:00