| @@ -32,19 +32,8 @@ | ||
| 32 | 32 | return false; |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | - * Get the ActivityPub ID of a Comment by the WordPress Comment ID. | |
| 37 | - * | |
| 38 | - * @param int|\WP_Comment $id The WordPress Comment ID or object. | |
| 39 | - * | |
| 40 | - * @return string The ActivityPub ID (a URL) of the Comment. | |
| 41 | - */ | |
| 42 | -function get_comment_id( $id ) { | |
| 43 | - return Comment::generate_id( $id ); | |
| 44 | -} | |
| 45 | - | |
| 46 | -/** | |
| 47 | 36 | * Get the comment from an ActivityPub Object ID. |
| 48 | 37 | * |
| 49 | 38 | * @param string $id ActivityPub object ID (usually a URL) to check. |
| 50 | 39 | * |