[wp-trac] [WordPress Trac] #63928: Add additional fields to the `/wp-json/wp/v2/comments` endpoints

WordPress Trac noreply at wordpress.org
Mon Sep 8 11:08:36 UTC 2025


#63928: Add additional fields to the `/wp-json/wp/v2/comments` endpoints
--------------------------------------+------------------------------
 Reporter:  hannahtinkler             |       Owner:  hannahtinkler
     Type:  enhancement               |      Status:  assigned
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  REST API                  |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+------------------------------

Comment (by TimothyBlynJacobs):

 Yeah, the PR as is does not follow the WordPress design patterns for the
 REST API. Pascal is spot on here. in his suggestions for a more Core
 RESTful approach.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63928#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list