[wp-trac] [WordPress Trac] #41846: Avoid PHP notice in get_comment_reply_link() for null comment

WordPress Trac noreply at wordpress.org
Sun Sep 10 10:46:20 UTC 2017


#41846: Avoid PHP notice in get_comment_reply_link() for null comment
--------------------------------------+------------------------------
 Reporter:  birgire                   |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Comments                  |     Version:  2.7
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------
Changes (by birgire):

 * keywords:   => has-patch has-unit-tests


Comment:

 In [ticket:41846.patch] we added a comment validation, similar to the
 existing one for the post validation.

 Including is a test.

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


More information about the wp-trac mailing list