[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:45:08 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
-------------------------------------------------+-------------------------

Comment (by rachelbaker):

 In [changeset:"39446"]:
 {{{
 #!CommitTicketReference repository="" revision="39446"
 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.

 Merges [39444] into the 4.7 branch.
 Props flixos90, hnle, dd32, rachelbaker, jnylen0, ChopinBach, joehoyle,
 pento.

 Fixes #38971 for 4.7.
 }}}

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


More information about the wp-trac mailing list