[wp-trac] [WordPress Trac] #41775: REST API: Add filter to allow creation of custom comment type

WordPress Trac noreply at wordpress.org
Tue Jun 18 18:20:41 UTC 2019


#41775: REST API: Add filter to allow creation of custom comment type
-------------------------+---------------------
 Reporter:  langan       |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:
Component:  REST API     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  close        |     Focuses:
-------------------------+---------------------
Changes (by TimothyBlynJacobs):

 * keywords:   => close
 * milestone:  Awaiting Review =>


Comment:

 Hi @langan,

 I'm sorry for the delay in your ticket receiving a response.

 At the moment, the recommended path forward from #38820 is to use a custom
 endpoint for custom comment types until #35214 lands and we can support
 custom comment types natively.

 Adding the filter here may make it difficult to support custom comment
 types in the future properly, since custom comment types will likely have
 different schema and permission requirements.

 Unfortunately, the REST API controllers are currently a bit difficult to
 extend/reuse which is something I'm hoping to look at soon. The way to
 keep track of that would be in the REST API meetings in Make Slack.

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


More information about the wp-trac mailing list