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

WordPress Trac noreply at wordpress.org
Sat Jun 22 09:51:54 UTC 2019


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

 * milestone:  Awaiting Review => 5.3


Comment:

 Thanks @birgire! This looks good.

 In [attachment:"41846.diff"] I just made a few small whitespace CS fixes
 to the unit test and added the ticket number to the @ticket annotation in
 the docblock.

 I'm going to go ahead and milestone this for the next release.

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


More information about the wp-trac mailing list