Webmention changelog
By Matthias Pfefferle, on WordPress.org since 2014. 1,000+ active installs.
87 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.
-
- Exclude links from Webmentions with the nomention CSS class (filterable with webmention_nomention_class) or rel="nomention", with a “Don’t send a Webmention” option in the link settings of the editor and a pre-publish hint for posts whose links are not annotated yet
- Fall back to the site name, icon and URL when a Webmention has no author name, photo or URL
- Only load webmention.css on pages where Webmention markup renders
- Prefix the webmention_canonical_url post meta with an underscore, so it no longer shows up in the Custom Fields UI; existing meta is migrated
- Find links in blocks and shortcodes: the content is rendered before the links are extracted, so Webmentions are sent for them too
- Make the default help text of the Webmention form editable with a “Use default text” button
And 3 more notes.
-
- Security: Move the debug helpers to local/, with WP_DEBUG on they turned off reject_unsafe_urls for every outbound request on the site and let MF2::is_url() accept every well-formed URL
- Integrate with the ActivityPub reactions block: it shows all Webmention types and replaces the Webmention facepile where it is used
- Use SVG icons from @wordpress/icons instead of emojis for the comment types
- Replace the deprecated wp_no_robots() with the wp_robots filter
- Update dependencies
-
- Security: Fix a stored XSS reachable from unauthenticated Webmentions where the parsed entry name (from og:title) was stored in the comment without sanitizing, unlike content and summary
- Security: Escape the parsed source URL in the comment walker, it was printed into an href without esc_url()
- Fix PHP 8.5 deprecations in the bundled mf2 parser
- Update dependencies
-
- Keep the Webmention form’s URL hint below the input when themes constrain the field width
-
- Add a reusable Webmention Form block with automatic placement after the Comments block in block themes that support Block Hooks
- Keep the classic form and its settings available when Block Hooks are unavailable or disabled, including on WordPress 6.2–6.3 and ClassicPress
- Improve form wording, explain the required backlink, and let submit buttons fit translated labels
- Prevent duplicate forms for the same post and give multiple forms unique element IDs
- Preserve RSVP styling on home and archive pages and share the front-end stylesheet with the block editor
- Fix editor script compatibility with WordPress 6.2–6.5 by bundling the JSX runtime used by the RSVP and document settings scripts
And 4 more notes.
-
- Fix the deletion of Webmentions: if the source page is gone (HTTP 404, 410 or 451), the matching comment is now really removed instead of being kept forever
- Add a webmention_http_error_codes filter to customize which HTTP status codes count as a deleted source
- Keep internal build files out of the release, so the WordPress.org plugin directory no longer lists them as blocks
- Update dependencies and add more JavaScript unit tests
-
- Add a reaction picker to the block editor link popover for marking a link as a reply, like, repost, bookmark, or tag
- Add an RSVP rich text format for marking event responses as yes, no, maybe, or interested
- Stop sending repeated Webmentions for posts that have not changed, and retry targets that failed during an earlier send
- Guard the avatar lookup against a missing upload directory to stop scandir warnings from filling the logs, props @edent
- Add JavaScript unit tests and a GitHub Actions workflow to run them
-
- Security: Fix a stored XSS reachable from unauthenticated Webmentions where parser-derived author metadata (avatar, URL) was rendered unescaped in the comment edit metabox
- Security: Sanitize Webmention comment meta on store via register_meta sanitize callbacks (esc_url_raw for URL meta, sanitize_key/sanitize_text_field for the rest) to keep the database clean
- Security: Escape remaining template output (comment edit metabox, single-comment view, endpoint message and form, reaction headings)
-
- Bump minimum required PHP version to 7.4
- Return a distinct message when a Webmention already exists and was updated, filterable via webmention_update_message
- Friendlier default success message for the Webmention endpoint
- Fix ValueError in DOMDocument::loadHTML() when the post content is empty on PHP 8.1+
-
- Fix blind SSRF vulnerability by using wp_safe_remote_get for author page and tools requests
- Fix undefined constant error in WP handler
- Fix double slash in avatar upload directory path
- Fix “Show avatars on Webmentions” setting having no effect
- Fix comment query to respect explicit type parameter
-
- Fix incorrect asset URL in admin enqueue
- Revert minimum WordPress version back to 6.2 for ClassicPress compatibility
- Bump @wordpress/components from 30.9.0 to 31.0.0
-
- Remove explicit require_once for Handler classes, rely on autoloader instead
- Add autoloader tests to verify Handler classes load correctly
-
- Fix undefined property warning in Item::__call magic method when accessing non-existent properties like category.
- Search Avatar Store if enabled for match before trying meta field. Disable updating meta field when side loading allowing for more flexibility.
- Fix editor plugin error on custom post types without custom-fields support.
- Add video/audio URL extraction as content fallback for webmentions without text content.
- Use registered comment type excerpt templates as fallback for reactions (likes, reposts, etc.).
- Fix array_merge() error when _embedded key is missing in WordPress API response.
And 8 more notes.
-
- Fix webmentions_disabled meta value not being deleted.
- Add webmention_show_facepile setting.
-
- Fix autoloader
-
- Update yoast/phpunit-polyfills requirement from ^2.0 to ^3.0
- Allow “Approve & Always Allow” only for Webmentions
- Check for missing format property
- Add single ClassicPress Unit Test
- Use readme.md as main readme
- Allow readme.md
And 5 more notes.
-
- Load CSS also if comments are closed, because Webmentions ignore that setting
- Improve version() method
-
- Several small fixes
-
- Fix fatal error
-
- Fix facepiles for FSE themes
- Fix remote Delete
- Updated Readme and Assets
-
- Fix null reference to comment_parent
-
- Comment Walker was calling regular not html5 version of comment function when falling back.
-
- Fix fatal PHP error
-
- Fix pingback fallback (and happy birthday Matt https://ma.tt/2024/01/birthday-gift/)
-
- Improve fallback handling to avoid “Anonymous” as post author
-
- Fix issue where built in comment types were rejected
-
- Do not bypass the spam filters
- Support Source Update Notifications
- Add in experimental Avatar Store
-
- Replace comment_link only for Webmentions and only in the frontend
-
- Replace comment_link only for Webmentions that have a source
-
- Fix fatal error in WP parser
-
- Allow variable to be null.
-
- Bring back overflow option for facepile this time using the details tag
- Add html link discovery for finding WordPress REST API
- Load author page to find name/photo when only the URL is provided
- Fix timezone issue where times were not properly converted into website time
- Introduce webmentions_open function which determines if webmentions are open for a post. Currently a wrapper around pings_open
- Misc minor fixes
-
- Fixed: avoid enqueuing Webmention’s CSS stylesheet when it is not needed.
- Fixed: threaded comments support.
- Added: client URL validation.
-
- Fix timezone issue causes exception
-
- Remove built-in WordPress filtering in favor of plugin filtering of incoming webmentions.
- If content is long and type is a mention, try to use the summary or name insteasd of full content as the display.
- Fix issue where meta was overriding mf2
- Improve JSON-LD handler
-
- Several Parser/Handler fixes
- Remove unnecessary loading of comments.php
- Some Tool updates
-
- Add mf2 author migration
- Include spam and trash statuses for dupe check
- Update tests and make u-url attrib optional for post-type discovery
- Update dupe check
- Set created at time only for new comments
- Allow refreshing webmentions from the Bulk Actions menu
And 2 more notes.
-
- Complete rewrite of the codebase
- Introduce PHP namespaces
- New parser which will fallback on the WordPress REST API, JSON-LD, or HTML meta tags if Microformats are not sufficient to render a comment.
- New debugger/test tool for Webmention Parsing under Tools
- Webmentions are no longer stored as comment type mention, but as custom comment types
- New simplified presentation code, providing for optional custom templating in future
-
- Fix XSS issue
-
- Add onerror handling also for srcset ( props @florianbrinkmann for testing )
-
- Re-add onerror handling for broken images ( props @snarfed )
-
- Updated requirements
-
- Remov Webmention_Notification class until proper tested/used
-
- Update dependencies
- Fix WordPress warnings
-
- Move comment approve list and auto approve to the wp_allow_comment function called by the wp_new_comment function.
- Minor fix to avatar function to account for the fact comments have an empty comment type
-
- Cache in cases where stored avatar is a gravatar
-
- Show Webmention form only if pings_open
- Show Webmention form also if comments are disabled
-
- Add settings for enabling Webmention support by public post type
- Add setting for disabling sending media links…URLs attached to image, video, or audio tags
- Switch from sending Webmentions to all URLs in post content to only ones with proper HTML markup
- Support handling avatars if stored in meta
- Support serving a local anonymous avatar if no email and cache whether there is a gravatar for a definable period of time
- Store a Webmention protocol property in comment meta
And 5 more notes.
-
- Minor bug fix
-
- Always enable Webmentions on basis that using plugin means you want Webmentions instead of using default pingback setting
- Fix auto approve based on domain
-
- Small HTML template changes
-
- Added NodeInfo(2) support
-
- Fixed default value of webmention_avatars on the settings page
-
- Fixed default value of webmention_avatars
-
- Set correct default value for the “Show comment form” setting
-
- Store vouch property
- Preliminary vouch support disabled by default. As Vouch is experimental can only be enabled by adding define( ‘WEBMENTION_VOUCH’, true )
-
- Fixed PHP issue
-
- Updated GDPR text suggestion
- Fixed old settings links
- Made Webmention comment-form text customizable (#175)
- Better handling of wp_add_privacy_policy_content call
-
- Added GDPR recommendation text
- Implemented help tab
- Form Improvements
- Domain allowlist
- Add avatar settings control
- Text improvements
-
- Added “threaded comments” support
-
- Send delete Webmentions
- Receive delete Webmentions
-
- Added nicer HTML views for non API calls
- Added german translations (thanks to @deponeWD)
- Be sure to disable the old webmention-for-comments plugin
-
- Add filter to allow setting of Webmention form text
- Move register settings to init due new default options not being set if admin only
- Add edit_webmention hook due comment array filtering
- Display Webmention Meta on Edit Comment page
-
- Added settings link
- Added link to Homepage Webmention page
- Enable pings for Homepage Webmentions
-
- Add setting for homepage mentions (thanks @dshanske)
- Remove deprecated functions due 4.8 release
-
- moved endpoint discovery to functions.php
- added missing i18n strings
- removed polyfill
-
- Enable option for page support
- Allow custom post types to declare support for Webmentions as a feature which will enable pings.
- Remove new meta properties from being added during preprocessing as these are added after Semantic Linkbacks Enhancement.
- Move new meta properties to being built into Webmention code
- Store Webmention source in comment meta but fall back to checking comment_author_url if not set.
- Store Webmention creation time in comment meta as comment time is overridden by Semantic Linkbacks allowing to determine if a comment has been modified.
-
- URLEncode/Decode source and target
- Webmention Comment Type now declares support for avatars
- Meta keys are now registered for webmention_target_url and webmention_target_fragment
- Target URL is stored instead of derived from the permalink to ensure permanance
- Target fragment is stored to support fragmentions. Can also suport comments when reply is to a comment.
-
- added page support (server and client)
- moved webmention_post_id filter to a global function (thanks @dshanske)
- fixed https://wordpress.org/support/topic/form-for-entering-manual-pings-stays-on/
- fixed some typos
-
- Show endpoint discovery on every page again, to prevent several problems.
-
- Plugin refactored to use API infrastructure.
- Visiting the endpoint in a web browser now returns a Webmention form.
- Plugin now compliant with draft specification although remains synchronous.
- Deprecation of webmention_title and webmention_content filters in favor of a single targeted Webmention comment data filter.
- webmention_post_send action now fires on all attempts to send a Webmention instead of only successful ones. Allows for logging functions to be added.
- Supports adding additional parameters when sending Webmentions
And 1 more note.
-
No notes for this release in the current readme.
-
- removed duplicate request for HTML via get_meta_tags
- refactoring
- limits to same domain
-
- add salmon/crossposting-extension support (props @singpolyma)
- disable self-pings via settings
- do not unapprove already-approved Webmention (props @singpolyma)
- some code improvements
-
- switched to WordPress Coding Standard
-
- some fixes and improvements
-
- added filter for Webmention endpoint (to add/require additional paramaters: https://github.com/pfefferle/wordpress-webmention/issues/39 or https://github.com/pfefferle/wordpress-webmention/pull/41)
-
- use error-code 403 instead of 500 if Pingbacks/Webmentions are disabled for a post (thanks @snarfed)
- added webmention_comment_parent filter
-
- nicer title and content discovery
- added post-id to webmention_links filter
- improved publish_post_hook function
- disabled flood control
- nicer response value
- some more filters/actions
And 2 more notes.
-
- prevent selfpings
- added support for https and http
- optimized some methods
-
- fixed pseudo hook
-
- fixed some warnings
-
- now ready to use in a bundle
-
- nicer feedback for the Webmention endpoint
-
- nicer title and content discovery
- added post-id to webmention_links filter
- improved publish_post_hook function
-
- small fixes
- nicer excerpt extractor
-
- initial release