[wp-trac] [WordPress Trac] #41821: REST API: Add support for threaded comments

WordPress Trac noreply at wordpress.org
Thu Sep 7 06:39:30 UTC 2017


#41821: REST API: Add support for threaded comments
-------------------------+----------------------------
 Reporter:  rmccue       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Future Release
Component:  REST API     |    Version:  4.7
 Severity:  normal       |   Keywords:  needs-patch
  Focuses:               |
-------------------------+----------------------------
 (I don't think we have a tracking ticket for this already.)

 We should add support for threading comments, particularly in "flat" mode.
 Flat mode would allow threading in frontend code relatively easily.

 The only issue with this is that it will overflow `per_page`. We
 intentionally treat this as an indicator and occasionally have less items
 already (if they're filtered inside the `get_items()` loop, e.g.), so I
 don't think this is a huge issue. In addition, threaded mode should be
 opt-in in any case.

 Previously: https://github.com/WP-API/WP-API/issues/1612

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41821>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list