[wp-trac] [WordPress Trac] #23428: comments_open causes PHP notice in certain cases
WordPress Trac
noreply at wordpress.org
Sun Feb 10 15:53:36 UTC 2013
#23428: comments_open causes PHP notice in certain cases
------------------------------+------------------------------
Reporter: willnorris | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Warnings/Notices | Version: 2.5
Severity: normal | Resolution:
Keywords: has-patch |
------------------------------+------------------------------
Changes (by SergeyBiryukov):
* version: trunk => 2.5
* component: Comments => Warnings/Notices
Comment:
`pings_open()` has the similar code: [[BR]]
http://core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/comment-
template.php#L789
Seems like the notice is appropriate in the case if a non-existant post,
not sure if we should hide it. Related: [comment:ticket:17299:6].
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23428#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list