LinkSentry – Broken Content Reporter
LinkSentry is a lightweight WordPress plugin that allows your blog readers to easily report broken content. Whether it's a broken download link, a dead external link, or a missing image, LinkSentry makes it simple for visitors to notify you.
Features:
- Shortcode
[linksentry]and Gutenberg block "Report Issue (LinkSentry)" - Accessible modal dialog with keyboard navigation and ARIA labels
- Issue type selection (Download, Link, Image, Other)
- Optional message and email fields
- Stores reports as a custom post type with metadata
- Per-IP throttling to prevent spam
- Nonce verification and honeypot field for security
- Optional email notifications to site administrators
- Lightweight: assets only load where the shortcode/block is used
- Fully internationalized (ready for translation)
Security:
- Nonce verification on all submissions
- Honeypot anti-spam field
- Input sanitization and output escaping
- Per-IP rate limiting via WordPress transients
- IP addresses are hashed before storage
Admin Features:
- View all reports in the WordPress admin
- Custom columns: Issue Type, Page URL, Message, Submitted date
- Settings page under Settings → LinkSentry
- Configure notification email, enable/disable notifications, throttle window
- Customizable button and form labels
Shortcode Usage
The [linksentry] shortcode can be used anywhere in your posts, pages, or widgets.
Basic usage:
[linksentry]
With button style options:
[linksentry buttonStyle="button"]
[linksentry buttonStyle="text-link"]
[linksentry buttonStyle="large-box"]
With custom info text (for large-box style):
[linksentry buttonStyle="large-box" infoText="Found an issue? Let us know!"]
Available button styles:
* button – Default button style with icon (default)
* text-link – Text link with icon, underline on hover
* large-box – Full-width gray box with info text and button
