[wp-trac] [WordPress Trac] #51263: PHP warning when editing comments in the administration comment edit screen

WordPress Trac noreply at wordpress.org
Tue Sep 8 13:39:56 UTC 2020


#51263: PHP warning when editing comments in the administration comment edit screen
-----------------------------+-----------------------------
 Reporter:  regan.khadgi     |       Owner:  SergeyBiryukov
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  5.5.2
Component:  Comments         |     Version:  5.5
 Severity:  normal           |  Resolution:  fixed
 Keywords:  has-screenshots  |     Focuses:  administration
-----------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48958" 48958]:
 {{{
 #!CommitTicketReference repository="" revision="48958"
 Comments: Check if a valid comment ID was passed when editing a comment.

 This avoids a PHP notice after submitting the Edit Comment form.

 Props regan.khadgi.
 Fixes #51263.
 }}}

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


More information about the wp-trac mailing list