[wp-trac] [WordPress Trac] #38971: rest_comment_author_required should not allow empty value

WordPress Trac noreply at wordpress.org
Tue Nov 29 18:48:10 UTC 2016


#38971: rest_comment_author_required should not allow empty value
---------------------------------------------+-----------------------
 Reporter:  hnle                             |       Owner:
     Type:  defect (bug)                     |      Status:  new
 Priority:  normal                           |   Milestone:  4.7
Component:  REST API                         |     Version:  trunk
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  rest-api
---------------------------------------------+-----------------------

Comment (by rachelbaker):

 @jnylen0 Thanks for hopping in here.

 I don't think we should honor the `require_name_email` option on comment
 update, that option is intended for comment creation only.  I
 intentionally left that logic out of https://github.com/WP-API/WP-
 API/pull/2861 The discussion setting reads:
 > Comment author must fill out name and email

 After the comment is created, any user with permission to edit the comment
 in wp-admin (or via the XML-RPC endpoint) can remove an offensive comment
 author's name or their email (which would also prevent the associated
 gravatar from displaying).  I don't think we should act any differently.

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


More information about the wp-trac mailing list