[wp-trac] [WordPress Trac] #48943: `comment_form()` expects optional "email" field to be passed.

WordPress Trac noreply at wordpress.org
Wed Dec 11 21:05:01 UTC 2019


#48943: `comment_form()` expects optional "email" field to be passed.
--------------------------+------------------------------
 Reporter:  Mat Lipe      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Comments      |     Version:  5.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  template
--------------------------+------------------------------

Comment (by Mat Lipe):

 I should point out this only happens when the `fields` is provided as an
 argument without the "email" key. If you do not provided `fields` the
 defaults fill in the "email" key for you and this error does not occur.

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


More information about the wp-trac mailing list