[wp-trac] [WordPress Trac] #53008: Creating an anonymous comment with custom fields via REST API

WordPress Trac noreply at wordpress.org
Mon Apr 12 08:04:40 UTC 2021


#53008: Creating an anonymous comment with custom fields via REST API
--------------------------+------------------------------
 Reporter:  dawgawel      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  4.7
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  rest-api
--------------------------+------------------------------

Comment (by dawgawel):

 Hi @TimothyBlynJacobs, thanks for a quick response :)

 While I still think that permission for creating comments with meta, when
 `rest_allow_anonymous_comments` is enabled, is a more intuitive behavior,
 I totally understand that underlying architecture may not allow such
 implementation or make it complicated/unsecure.

 I'll implement creation logic with `register_rest_field` then. Thank you.

 You can close the ticket (I'm not sure which resolution status you'd like
 to select).

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


More information about the wp-trac mailing list