[wp-trac] [WordPress Trac] #54149: Audit `get_comment()` response checks.
WordPress Trac
noreply at wordpress.org
Tue Nov 16 19:49:39 UTC 2021
#54149: Audit `get_comment()` response checks.
----------------------------+-------------------------------
Reporter: costdev | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 5.9
Component: Comments | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: coding-standards
----------------------------+-------------------------------
Comment (by costdev):
If we do decide to change the guard, at least it'll be easier to
find/replace in the patch now that they're consistently set to `(!)
$comment instanceof WP_Comment`. Hopefully we'll confirm the path forward
soon and get this committed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54149#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list