Changes between Version 1 and Version 2 of Ticket #54149, comment 9
- Timestamp:
- 11/05/2021 01:42:09 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #54149, comment 9
v1 v2 7 7 - WP_Comment / array - the usual expected value, truthy. 8 8 - Something else from a function filtering it. These break down to: 9 - Code errors returning true, arrays, or objects that are not at all like WP_Comments, these are code errors on the developers that shouldn't need to be cared about9 - Code errors returning true, half-filled arrays or malformed arrays, or objects that are not at all like WP_Comments, these are code errors on the developers that shouldn't need to be cared about 10 10 - Something Comment-like, I've seen plugins return "fake" comments that are just `stdClass` (from before WP_Comment existed) that for all intents and purposes are comment-like enough. 11 11