[wp-trac] [WordPress Trac] #63263: check if exists before accessing object properties of $post->comment_count

WordPress Trac noreply at wordpress.org
Thu Oct 16 11:04:25 UTC 2025


#63263: check if exists before accessing object properties of $post->comment_count
---------------------------------------------+-----------------------------
 Reporter:  Presskopp                        |       Owner:  (none)
     Type:  defect (bug)                     |      Status:  new
 Priority:  normal                           |   Milestone:  Awaiting
                                             |  Review
Component:  General                          |     Version:
 Severity:  normal                           |  Resolution:
 Keywords:  needs-test-info has-screenshots  |     Focuses:
---------------------------------------------+-----------------------------

Comment (by Presskopp):

 related: #64104

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


More information about the wp-trac mailing list