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

WordPress Trac noreply at wordpress.org
Tue Apr 15 20:12:47 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-testing-info has-screenshots  |     Focuses:
------------------------------------------------+--------------------------

Comment (by indirabiswas27):

 I have carefully followed all the steps outlined, but I was only presented
 with the default 404 Not Found page, and no warnings appeared.

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


More information about the wp-trac mailing list