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

WordPress Trac noreply at wordpress.org
Wed Nov 30 04:14:58 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):

 Just a few minor changes in [attachment:38971.6.diff]:

 - retains the `rest_comment_author_data_required` error code
 - changes the callback method name to `check_comment_author_email()` to be
 more explicit
 - minor docblock wording changes

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


More information about the wp-trac mailing list