[wp-trac] [WordPress Trac] #33154: Issues with Editing Comments where the post ID is zero or post is deleted

WordPress Trac noreply at wordpress.org
Wed Aug 12 00:07:56 UTC 2015


#33154: Issues with Editing Comments where the post ID is zero or post is deleted
-----------------------------+-----------------------------
 Reporter:  johnnietb        |       Owner:  pento
     Type:  defect (bug)     |      Status:  assigned
 Priority:  normal           |   Milestone:  4.2.5
Component:  Role/Capability  |     Version:  4.2.3
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  administration
-----------------------------+-----------------------------

Comment (by pento):

 [attachment:33154.diff] fixes this, as well as a warning caused by trying
 to edit an orphan comment.

 Checking `edit_post` without a post ID is not fixed, I'm not sure that it
 should be.

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


More information about the wp-trac mailing list