[wp-trac] [WordPress Trac] #54159: comments_open() & pings_open() trigger PHP Notice when called on a page without a $post

WordPress Trac noreply at wordpress.org
Thu Oct 21 22:19:09 UTC 2021


#54159: comments_open() & pings_open() trigger PHP Notice when called on a page
without a $post
-------------------------------------+---------------------
 Reporter:  dd32                     |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  5.9
Component:  Comments                 |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+---------------------
Changes (by audrasjb):

 * keywords:  has-patch => has-patch needs-refresh


Comment:

 The patch doesn't apply anymore against trunk

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


More information about the wp-trac mailing list