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

WordPress Trac noreply at wordpress.org
Wed Dec 11 22:12:21 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
-------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

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

 Follow-up to [46090].

 Props mat-lipe.
 Fixes #48943.
 }}}

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


More information about the wp-trac mailing list