id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses 54149 Audit `get_comment()` response checks. costdev hellofromTonya "There are currently 164 calls to `get_comment()` across 36 files in the codebase (see attached file), with more pending with at least one upcoming PR. Some of these calls check the response of `get_comment()` in one of the following ways: {{{#!php comment_ID ) {... if ( ! empty( $comment->comment_ID ) {... }}} Some do not check the response at all. A [https://wordpress.slack.com/archives/C02RQBWTW/p1630738445035900 discussion on Slack] between myself and @jrf led to the suggestion that we audit the use of `get_comment()`. @hellofromtonya suggested two alternative checks on the response: {{{#!php