[wp-trac] [WordPress Trac] #64152: REST comments endpoint does not return children for notes
WordPress Trac
noreply at wordpress.org
Sat Oct 25 19:47:23 UTC 2025
#64152: REST comments endpoint does not return children for notes
-----------------------------+-----------------------------
Reporter: adamsilverstein | Owner: adamsilverstein
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.9
Component: REST API | Version: trunk
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
When requesting the notes comment type from the
WP_REST_Comments_Controller, children are not returned. This works
correctly with regular comment types.
I have PR prepped with tests to correct this - the fix was to updated the
`get_children()` call to include the parent comment's type.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64152>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list