[wp-trac] [WordPress Trac] #33638: Comment template functions should accept full comment object
WordPress Trac
noreply at wordpress.org
Thu Sep 10 03:11:11 UTC 2015
#33638: Comment template functions should accept full comment object
----------------------------+---------------------
Reporter: wonderboymusic | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.4
Component: Comments | Version:
Severity: normal | Resolution: fixed
Keywords: | Focuses:
----------------------------+---------------------
Comment (by wonderboymusic):
In [changeset:"33986"]:
{{{
#!CommitTicketReference repository="" revision="33986"
After the `global` churn in [33964], also set `$post` to `null` at the end
of `WP_Comments_List_Table::single_row()` to ensure that an orphaned
comment doesn't inherit the previous row's `$post` context.
See #33638.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33638#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list