Skip to content

Commit

Permalink
Remove TODO for url match task
Browse files Browse the repository at this point in the history
The spamblock plugin will check for it later
  • Loading branch information
onli committed Jun 5, 2024
1 parent 1263be4 commit c078d52
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions comment.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@
} else if (preg_match('@/(\d+)_[^/]*$@', $uri, $matches)) {
$id = (int)$matches[1];
}

// TODO: Check that given $target url matches the $id of this endpoint

if (add_webmention($id, $_REQUEST['source'], $_REQUEST['target'] )) {
log_trackback('WEBMENTION SUCCESS');
Expand Down

0 comments on commit c078d52

Please sign in to comment.