[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 22:45:12 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 commit fixed-major  |     Focuses:
                                                |  administration
------------------------------------------------+--------------------------
Changes (by SergeyBiryukov):

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


Comment:

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

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

 Follow-up to [48050].

 Props regan.khadgi.
 Merges [48958] to the 5.5 branch.
 Fixes #51263.
 }}}

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


More information about the wp-trac mailing list