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

WordPress Trac noreply at wordpress.org
Wed Dec 11 22:13:46 UTC 2019


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

Comment (by SergeyBiryukov):

 In [changeset:"46886" 46886]:
 {{{
 #!CommitTicketReference repository="" revision="46886"
 Comments: Avoid a PHP notice in `comment_form()` if the `email` field is
 not set.

 Follow-up to [46090].

 Props mat-lipe.
 Merges [46885] to the 5.3 branch.
 Fixes #48943.
 }}}

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


More information about the wp-trac mailing list