[wp-trac] [WordPress Trac] #38027: Comments feed returns invalid timestamp in http headers when there are no comments
WordPress Trac
noreply at wordpress.org
Fri Oct 14 10:33:17 UTC 2016
#38027: Comments feed returns invalid timestamp in http headers when there are no
comments
---------------------------------------------------+------------------
Reporter: dllh | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7
Component: Comments | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests dev-feedback | Focuses:
---------------------------------------------------+------------------
Comment (by swissspidy):
I named it `_transition_comment_status()` because there's
`_transition_post_status()` already. Looking at the latter, the check in
`_transition_comment_status()` should be more like `'approved' ===
$new_status || 'approved' === $old_status`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38027#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list