Commit e74d3cf
committed
Use comment object ID after get_comment() call
The get_comment() return value is filtered, so reassign
$comment_id from the comment object to ensure consistency
between the property checks and subsequent function calls.
Also removes a redundant null check on $comment.1 parent bc0918c commit e74d3cf
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2475 | 2475 | | |
2476 | 2476 | | |
2477 | 2477 | | |
2478 | | - | |
| 2478 | + | |
| 2479 | + | |
2479 | 2480 | | |
2480 | 2481 | | |
2481 | 2482 | | |
| |||
0 commit comments