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

WordPress Trac noreply at wordpress.org
Fri Dec 2 22:43:04 UTC 2016


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

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39444"]:
 {{{
 #!CommitTicketReference repository="" revision="39444"
 REST API: Fix bug where comment author and author email could be an empty
 string when creating a comment.

 If the `require_name_email` option is true, creating a comment with an
 empty string for the author name or email should not be accepted.  Both
 values can be an empty string on update.

 Props flixos90, hnle, dd32, rachelbaker, jnylen0, ChopinBach, joehoyle,
 pento.

 Fixes #38971.
 }}}

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


More information about the wp-trac mailing list