[wp-trac] [WordPress Trac] #63263: check if exists before accessing object properties of $post->comment_count
WordPress Trac
noreply at wordpress.org
Thu Oct 23 17:51:47 UTC 2025
#63263: check if exists before accessing object properties of $post->comment_count
-------------------------------------------------+-------------------------
Reporter: Presskopp | Owner:
| westonruter
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.9
Component: General | Version: 2.8
Severity: normal | Resolution:
Keywords: needs-test-info has-screenshots | Focuses:
has-patch has-unit-tests commit |
-------------------------------------------------+-------------------------
Changes (by johnjamesjacoby):
* keywords: needs-test-info has-screenshots has-patch has-unit-tests =>
needs-test-info has-screenshots has-patch has-unit-tests commit
Comment:
PR looks OK to me.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63263#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list