* Fixed: The Comment Statistic date filter on the wpDiscuz dashboard now closes when you choose a date range or click outside the menu.
* Changed: The Addons Store notice now uses wpDiscuz greens for its leading border, storefront icon, and the text and border of the Browse All button.
* Changed: The wpDiscuz menu now shows » Addons and » News. The gvectors_license_menu_title and gvectors_news_menu_title filters set the submenu labels for wpDiscuz.
* Added: The Addons Store announcement shows where to buy, install and manage wpDiscuz addons from the WordPress dashboard. Administrators can dismiss it for their own account.
* Added: A preview of one more addon in wpDiscuz settings. It stays hidden until the addon's release date, so the settings never advertise an addon that can't be bought yet.
* Added: When wpForo 3.2.0 through 3.2.5 loads its license module first, wpDiscuz pauses its Addons Store and the updates it provides. Administrators see a notice to update wpForo to version 3.2.6 or later.
* Changed: wpDiscuz now requires PHP 8.1 or newer. If your site runs PHP 8.0, upgrade PHP before you update wpDiscuz.
* Added: WpdiscuzHelper::isPostParticipant($userId, $postId) tells whether a member took part in a post: an approved comment or a confirmed subscription with their account address. On a password-protected post only those made with its current password count, so these posts start with no participants after the update. BuddyPress Integration, User Comment Mentioning and User Notifications use it to choose whom to notify.
* Changed: The title of ain a comment is printed as plain text (markup in it is dropped); before, it was printed as HTML.
* Added: WpdiscuzHelper::getProvenGuestEmail() returns the address a guest browser has proven, a verified mailbox or the comment_author_email cookie confirmed by the guest comment secret, for addons that must not trust the address cookie alone (Online Users).
* Fixed: Security. Block editor notes (WordPress 6.9+) are meant for editors only, but wpDiscuz showed their text to visitors in live updates, "Read more", single comment links, the hottest thread and the most reacted comment, let visitors vote on them, and e-mailed resolved notes to subscribers. WpdiscuzHelper::getHiddenCommentTypes() and the wpdiscuz_hidden_comment_types filter list the comment types wpDiscuz now leaves out.
* Fixed: Security. A post author could pin or close a comment on another post.
* Fixed: Security. wpDiscuz requests and WpdiscuzHelper::canCurrentUserAccessPost() now check the post type: posts of non-public types without a wpDiscuz form, such as reusable blocks and menus, or of unregistered types, are open only to users who can edit them. Types and posts with a wpDiscuz form keep working. The new wpdiscuz_is_post_type_served filter and WpdiscuzHelper::isPostTypeServed() cover sites loading wpDiscuz another way.
* Fixed: Security. Comment file uploads now refuse HTML, script, SVG, XML, server-script and executable files, including .py, .rb, .pl, .sh and .inc, whatever the allowed file types list says. Older Media Uploader versions added the administrator's own types, HTML and JavaScript included, to that list, which let a guest upload a page served from the site's own address.
* Fixed: A comment file that could not be moved into the uploads folder (full disk, wrong permissions) was dropped without a trace; the failure is now written to the PHP error log.
* Changed: New installations keep a guest's name, e-mail and website cookies for 365 days instead of practically for good (-1). Existing sites keep the value they have; the option description now explains what -1 means.
* Added: An Addons Store for buying, installing and updating addons, plus optional News & Emails. The wpdiscuz_gvectors_admin_menu action passes the parent menu slug to modules registering these pages.
* Fixed: Security. On WordPress VIP and similar hosts, wpDiscuz could get stuck cleaning up old cache files that may contain emails, IP addresses or password hashes. Cleanup now resumes after interruptions. Ask your host to remove remaining legacy files and purge any cached copies. Reported by an external security researcher.
* Changed: wpDiscuz turns off its file cache when uploads use a remote PHP stream wrapper.
* Fixed: Security. A custom Text Area form field could show its value as live HTML and run JavaScript for visitors and moderators viewing the comment, and depending on the field settings a guest could fill it in. Field values are now shown as plain text, and the bundled lightbox opens only inline elements referenced by id. Reported through Wordfence.
* Fixed: Security. Comment spans no longer accept id, title or contenteditable. Reserved classes are stripped from decoded markup using wpdiscuz_reserved_class_prefixes and wpdiscuz_allowed_content_classes. Comment IDs are validated, and the user-settings window opens directly. Reported through Wordfence.
* Fixed: Security. With the Media Uploader lightbox on (the default), a guest could add span markup that the lightbox treated as an attachment and whose title it printed as HTML, running JavaScript for anyone who clicked it. The lightbox now opens only wpDiscuz's own attachment images and prints no title. Reported through Wordfence.
* Fixed: Editing a comment from the comment list, pinning it, or running the closed-comments regeneration tool stripped paragraphs, lists, underlines, code blocks, line breaks and emoji from comments by guests and by users without the unfiltered_html capability. These updates now keep the tags wpDiscuz allows when a comment is saved.
* Fixed: Saving a comment from the edit form without changing its text marked it as edited when the text contained quotes or a backslash, as every comment with an emoji or a code block does.
* Fixed: Security. Unrestricted comment shortcodes require a saved revision from a writer and author with permission to post unfiltered HTML. Other comments, including older ones, expand only shortcodes enabled through wpdiscuz_comment_shortcodes, with filtered output. Reported through Wordfence.
* Fixed: Security. Anyone who knew a guest's email address and shared their IP address, for example on the same office network, could overwrite the guest's comment through the edit form. Editing a guest comment now needs a secret kept in an HttpOnly cookie in the guest's browser, so older guest comments can't be edited by their authors. Reported through Wordfence.
* Fixed: Security. Guest Activity in My Content and Settings shows only comments saved with the browser's comment token. Guests confirm their email address to view subscriptions or request deletion links. Existing unsubscribe links still work.
* Fixed: Security. A logged-in user could set a display name that, when another user @mentioned them in a comment containing a link, ran JavaScript for moderators and visitors viewing the comment. User mentions are now escaped and are no longer expanded inside HTML markup. Reported through Patchstack.
* Fixed: A user mention inside a link's text no longer produces a link inside the link, and @ann no longer breaks a longer mention such as @anna or @annabel.
* Fixed: A user mention directly followed by a line break, a quotation mark, an apostrophe or another HTML entity (for example "@ann" or @ann at the end of a line) was not linked and the mentioned user was not notified.
* Fixed: Image URL Conversion now previews bare image URLs containing apostrophes or followed by a literal greater-than sign. A link labeled with an image URL shows the preview inside the original link. For these links, wpdiscuz_source_to_image_conversion receives the updated link as its first argument and the image URL as its second.
* Changed: wpDiscuz now requires PHP 8.0 or newer. PHP 7.4 has not received security fixes since November 2022, and WordPress will not offer this or later versions of wpDiscuz to sites still running PHP 7.
* Changed: wpDiscuz now requires WordPress 6.4 or newer, because its editor blocks now use features that older versions do not have.
* Fixed: Security. A specially crafted comment could run JavaScript for moderators viewing it while pending, and for every visitor once it was approved. The "Image URL Conversion" feature no longer converts links inside HTML markup. Reported through Patchstack.
* Fixed: "Convert links to images" removed the character just before each image link it converted, usually the space after the previous word, and never converted an image link that followed a | character.
* Fixed: Saving a post in the block editor could fail with "Updating failed. The response is not a valid JSON response." when the post contained an inline feedback question. Posts already affected by this save normally again.
* Fixed: The wpDiscuz editor blocks and the inline feedback button are updated for the WordPress 7.0 block editor, which shows the editor in an iframe. The button's dialog no longer uses React functions that React 18 deprecated.
* Fixed: On PHP 8.4 and 8.5, the bundled Google reCAPTCHA client filled the debug log with deprecation notices on every verified comment, and on PHP 8.1 and later it added another notice whenever a check failed.
* Fixed: The "Delete all my comments", "Cancel subscriptions" and "Unfollow" links from the "Bulk management via email" message, as well as the subscription confirmation and unsubscribe pages, opened the blog page instead of the wpDiscuz page on sites where a page builder such as Elementor Pro Theme Builder provides the archive template.
* Fixed: The links in the "Bulk management via email" message pointed to a wrong address when WordPress is installed in a subdirectory.
* Fixed: Security. On some server setups, the comment cache files could be opened directly in a browser. The cache is now stored securely, and old cache files are cleaned up automatically after the update.
* Fixed: When moving a comment to another post, the post search could show no results right after the page loaded. Other addon actions that cancel a request in progress work again too.
* Fixed: Security. A commenter whose name contained a placeholder such as {TEXT} could make their comment run JavaScript for moderators viewing it while pending, and for every visitor once it was approved. Names with braces are now shown as plain text. Reported by Patchstack.
* Fixed: The Facebook login button signed a visitor in through a client-side flow that trusted a Facebook user ID sent with the request, which was not tied to the access token it arrived with. Because an account's Facebook ID doubles as its user name and the account's email address was derived from that ID when Facebook returned none, this could sign a request in as another visitor's account. Facebook login now always uses the server-side OAuth2 flow, which reads the account from the token's own owner, and social accounts are matched by their verified provider user ID rather than by an email address built from it. The legacy flow and the "Use Facebook OAuth2" setting have been removed. Sites that used the legacy flow must add their site's OAuth redirect URI, wp-admin/admin-ajax.php?action=wpd_login_callback&provider=facebook, to the Valid OAuth Redirect URIs of their Facebook app for the button to keep working.
* Improved: On the settings page, the preview of an addon that isn't installed described its rating structured data and one shortcode attribute as they used to work. It now matches the current addon.
* Fixed: A comment whose image was refused for its width or height was saved anyway, and the error message was empty. The `wpdiscuz_mu_preupload` action now fires before the comment is saved, so a file it refuses stops the comment.
* Fixed: The on/off switches on the settings page showed their state by color alone and could not be used from the keyboard. They now show a cross when off and a check mark when on, and can be reached with Tab and toggled with Space. Switches in addon settings tabs get the same fix.
* Fixed: The comment bubble and the live comment update never showed comments posted without an email address to visitors who have no email address themselves, visitors who have not commented yet and guests who comment anonymously. A visitor's own new comments are left out of these updates by their email address, and an empty address matched every comment posted without one, so anonymous commenters were hidden from each other and from everyone who has not commented. The email address is now only used when the visitor has one, a guest commenting anonymously keeps their own comments out of the update through the ones already on their screen.
* Fixed: The new comment message of the comment bubble described the newest comment of the post, even when the bubble was not notifying about that comment, the visitor's own comment or one already on their screen. It now describes the newest comment the visitor is being notified about, and is left out of the response when that comment cannot be read, a private comment an addon keeps from the visitor for instance, where it used to be built from nothing.
* Fixed: The Cookies Consent and Agreement checkbox labels were printed on the comment form, and on the comment edit form, without being escaped. The labels are cleaned when the form is saved, but that only applies to what is saved from then on, so a label stored before v7.6.13 kept whatever markup it was given and was still printed as markup to every visitor. The labels are now filtered where they are printed, the agreement label by the same rules its own save path allows and the cookies consent label by a narrow set that keeps links and inline formatting, so a label that still holds script no longer runs it. The field name is escaped in the wrapper class of the cookies consent and text area fields as well, as it already was in the other field types.
* Fixed: The info icon of the "powered by wpDiscuz" line below the comments carried its behaviour in an inline onclick attribute, which a Content Security Policy that forbids inline script blocks outright, leaving the icon unresponsive with nothing to explain why. It also reached the link through fixed element ids, so a page showing more than one comment form always toggled the first one, and it could not be reached from the keyboard at all. The icon is now handled from wpdiscuz.js, is operable by keyboard, toggles the block it belongs to, and moves focus to the link it reveals.
* Fixed: The minimal theme carried none of the styles for the "powered by wpDiscuz" line. That stylesheet loads instead of the default theme one rather than alongside it, so the wpDiscuz link was shown permanently and unstyled, and the info icon beside it toggled nothing a reader would notice.
* Fixed: The HTML field printed its markup on the comment form without being filtered. The markup is cleaned when the form is saved, but that only applies to what is saved from then on, so an HTML field stored before v7.6.13 kept whatever markup it was given and was still printed as markup to every visitor, and cloning a form or importing one copies such a value across untouched. It is now filtered where it is printed, by the same rules its own save path allows, so a field that still holds script no longer runs it. Its code is shown as plain text until the field is cleared. The number field description is escaped where it is printed as well, as it already was in the other field types.
* Fixed: The titles of the comment editor toolbar buttons were passed through the translation function a second time where they are printed, against wpDiscuz's own text domain. The titles are already translated by that point, so the title of a button added by an addon was looked up in a text domain it does not belong to, and a title the addon had already escaped was escaped a second time, which shows the escape sequence itself to the reader in any title holding an apostrophe or an ampersand. The titles are now only escaped where they are printed.
* Fixed: The icon height and the tab title of each card on the settings dashboard, and the icon class of the file attachment button on the comment form, were printed without being escaped. All three are supplied through settings arrays and filters an addon can extend, so a value holding a quote or a tag was printed as markup rather than as the value it was meant to be. They are now escaped where they are printed, as the values beside them already were.
* Fixed: Replies from guests were rejected as spam on sites where an anti-spam plugin fills in its own hidden fields with JavaScript once the page loads, La Sentinelle for instance, while the first comment posted through the main form went through. A reply form is built by copying the markup of a hidden form on the page, and markup carries the values the page was served with rather than the ones those scripts set, so every reply went out with an untouched honeypot and timer. A second comment from the main form was rejected the same way, because the form is cleared after a comment is posted and clearing it put those fields back to the values the page was served with. The values the scripts set are now carried into every reply form, and kept when the form is cleared.
* Fixed: Every comment a guest posted was rejected while "Detect spambots posting comments" is enabled in All In One Security, stored as spam or discarded depending on its settings. That option rejects a guest comment that arrives without its hidden antibot keys, and it adds those keys only to the comment form WordPress prints itself. wpDiscuz now prints them in its comment, reply and inline feedback forms whenever the option is on. As with the WordPress comment form, a page served from a full-page cache can still carry keys that have expired since, and does not set the cookies its optional cookie check needs.
* Fixed: Inline feedback comments were sent without the fields anti-spam plugins add to comment forms. The feedback form is loaded after the page, and those plugins only add their fields to the comment form, so a plugin that treats a missing field as spam, La Sentinelle for instance, rejected every feedback comment from a guest. A feedback comment is now sent with the Akismet and La Sentinelle fields of the comment form on the same page. The new `wpdiscuz_antispam_field_prefixes` filter adds the input and textarea fields of other plugins by the start of their names, and the same list decides which fields keep their values when a comment form is cleared.
* Fixed: Sending a comment again after it was stored as spam showed WordPress's "Duplicate comment detected" error instead of wpDiscuz's message for a rejected comment. WordPress refuses a comment identical to one it has already stored, spam included, and that refusal was passed on to the commenter as it was. The retry now gets the rejected comment message, "Your comment was not published." by default, and nothing new is stored. The `wpdiscuz_comment_rejected_response` filter runs for the retry as well, with the earlier comment and a new fourth argument set to true, so a plugin that explained the first rejection can tell the retry apart. A comment that repeats a published one, or one awaiting approval, still shows the duplicate error.
* Fixed: Vote buttons showed guests the wrong state and tooltip when "Allow Guests to Vote for Comments" is disabled (buttons looked active, or blamed the visitor's IP address, then clicking answered "You Must Be Logged In To Vote").
* Fixed: Guests whose IP address is removed by a privacy plugin or a `pre_comment_user_ip` filter all shared a single post-rating identity. The first such guest locked the rating for every other one, or overwrote it when "Enable rate editing" is enabled, and they were all counted as one rating in the post average and rating count. Guest rating now requires a usable IP address, the same way comment voting has since 7.6.67.
* Fixed: The "Enable rate editing" form setting never reached the front-end script, so the confirmation before changing an existing rating was never asked. The form settings were read one line before they were loaded.
* Added: The `wpdiscuz_post_rating()` template tag prints the standalone Article Rating anywhere in a theme or page builder template, and `wpdiscuz_get_post_rating()` returns the same HTML. Pass a post ID to display that post's rating with its own form settings, or pass false as the second argument for read-only output. WooCommerce products continue to use WooCommerce's own rating.
* Added: The `[wpdiscuz_post_rating]` shortcode provides the same output for page builders and content editors, with `post_id`, `can_rate`, and `page_rating` attributes. Disable unneeded built-in Article Rating positions to avoid displaying the rating more than once.
* Fixed: Pages displaying more than one Article Rating repeated the `wpd-post-rating` id and sent every rating click to the post of the page. Each rating is now a `.wpd-post-rating` element carrying its own post ID, so any eligible post can be rated wherever the wpDiscuz script is loaded. The legacy id remains on the page's own rating at the first checked built-in position, or on a manual placement when no position is checked.
* Fixed: The Article Rating schema was repeated whenever the page's own rating appeared more than once. It now follows the rating that owns the legacy id. The template tag's third argument and the shortcode's `page_rating` attribute can explicitly give or deny a manual placement that ownership when the settings cannot determine it.
* Fixed: "Display ratings on non-singular pages" loaded a stylesheet that did not style the Article Rating block. The standalone rating styles now cover it and use the configured star colours, allowing template-tag and shortcode ratings to display read-only on archives, listings, and other pages where the wpDiscuz script is not loaded when that option is enabled.
* Fixed: Selecting comment attachments more than once replaced the files already selected. New selections now accumulate up to the configured limit, and duplicate files are ignored.
* Fixed: Logging in with X (Twitter) ended on a blank page showing "0" instead of signing the visitor in. The callback URL and the requested scopes were placed in the authorization request without being URL-encoded.
* Fixed: The Stick and Close actions under a comment on the WordPress Comments page never completed. The requests carried no wpDiscuz nonce, so they were rejected with "Nonce is invalid." and the button spinner kept turning. Both buttons also restore their icon now when a request fails, instead of spinning forever.
* Improved: The Google social login button now uses the official multicolor Google "G" logo.
* Added: The `wpdiscuz_comment_rejected_response` filter lets moderation plugins provide a clear explanation when a new comment is stored as spam or trash.
* Fixed: Main and inline comment forms now show a moderation plugin's rejection explanation while keeping the standard wpDiscuz spam or trash phrase when no plugin provides one.
* Fixed: Inline comments stored as spam or trash no longer create subscription records or send mention notifications.
* Fixed: Comment insertion failures, including duplicate-comment and flood checks, now return a valid AJAX error instead of terminating the request with an unusable response.
* Fixed: Plus signs and encoded data are preserved in inline commenter names and email addresses, the comment-author email cookie, and submitted website URLs.
* Improved: The Phrases screen now identifies the spam and trash rejection fields separately.
* Improved: Voting buttons now stay visible in a disabled state for visitors who cannot vote on a comment, instead of being hidden. Hiding them left visitors unaware that the site has voting at all. The buttons carry a `wpd-vote-disabled` class and a tooltip with the reason, and clicking one still shows the existing message.
* Added: The `wpdiscuz_hide_readonly_vote_buttons` filter hides those buttons again, restoring the `wpd-vote-readonly` markup used before this release.
* Security: The Google Client Secret is no longer included in the front-end JavaScript settings.