=== Comments - wpDiscuz === Contributors: gVectors Team Tags: ajax comments, comment form, live comments, comment system, inline comments Requires at least: 6.4 Tested up to: 7.2 Stable tag: 7.8.0 Requires PHP: 8.1 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html WordPress comments plugin with AJAX live comments, comment voting, inline feedback, social login, custom comment forms and WooCommerce reviews. == Description == wpDiscuz transforms the native WordPress comment system into a fast, modern, and interactive discussion experience while keeping your comments and data in your own WordPress database. Add AJAX comments, live comments, threaded comments, comment voting and rating, inline comments, comment subscriptions, social login, custom comment forms, lazy loading, and modern engagement features without moving your community to an external commenting service. wpDiscuz is a powerful Disqus alternative for WordPress and is designed for blogs, news websites, magazines, communities, membership sites, and WooCommerce stores. * wpDiscuz Demo: [https://wpdiscuz.com/](https://wpdiscuz.com/) * Documentation: [https://wpdiscuz.com/docs/](https://wpdiscuz.com/docs/) * Support Forum: [https://wpdiscuz.com/community/](https://wpdiscuz.com/community/) * GDPR Information: [https://wpdiscuz.com/gdpr/](https://wpdiscuz.com/gdpr/) * wpDiscuz Add-ons: [https://wpdiscuz.com/addons/](https://wpdiscuz.com/addons/) = AJAX Comments = Enable fast AJAX-powered WordPress comments with instant comment posting, smooth interactions, and updates without unnecessary page reloads. = Live Comments = Create a more dynamic discussion experience with live comment updates, live notifications, and real-time comment bubble updates. = Threaded Comments and Replies = Organize discussions with multi-level threaded comments, nested replies, and reply controls that make long conversations easier to follow. = Comment Voting and Rating = Increase community interaction with positive and negative comment voting, comment rating, and post rating features. = Inline Comments and Feedback = Let visitors comment directly on post content and provide inline feedback without relying only on the main comment form. = Comment Subscriptions and Notifications = Allow users to subscribe to comments and discussion updates and receive notifications about new activity, replies, and approved comments. = Custom WordPress Comment Forms = Create custom comment forms and custom fields for different post types, products, pages, communities, and discussions. = Social Login and Social Comments = Allow visitors to comment using supported social login providers for a faster and more convenient commenting experience. = WooCommerce Comments and Reviews = Improve WooCommerce product discussions with AJAX-powered product comments, ratings, and engagement features. Advanced WooCommerce review and rating functionality is available with the [wpDiscuz - Reviews](https://gvectors.com/product/wpdiscuz-reviews/) add-on. = Performance and Lazy Loading = wpDiscuz is optimized for performance with lazy-loaded comments, built-in caching, AJAX posting, Gravatar caching, and a performance-focused architecture. = Disqus Alternative for WordPress = Replace Disqus, Jetpack Comments, and other third-party comment systems while keeping full ownership of your comments and storing them in the native WordPress comment database. = More wpDiscuz Features = * Three modern WordPress comment layouts * Comment sorting by newest, oldest, and most voted comments * Comment editing for logged-in users and guests * Automatic URL and image embedding in comments * Long comment collapsing with "Read More" button * WordPress date format integration * Quick Tags support for comments * Highlighting new comments since last visit * Comment access control by user roles * Option to load all comments on first page load * Built-in Gravatar caching * Sticky comments support * Closed comment threads support * User follow functionality * Built-in comment and author caching system * Responsive interface for desktop and mobile devices = wpDiscuz Add-ons = Extend wpDiscuz with optional add-ons for advanced reviews and ratings, media uploads, user notifications, front-end moderation, subscriptions, comment search, private comments, BuddyPress integration, GIPHY integration, voice commenting, and more. * [Browse wpDiscuz Add-ons](https://wpdiscuz.com/addons/) * [wpDiscuz Add-ons Bundle](https://gvectors.com/product/wpdiscuz-addons-bundle/) == Installation == = Important = If you use a cache plugin or CDN, clear all caches after installing or updating wpDiscuz so the latest plugin assets are loaded. = Installation = 1. Upload the plugin folder to the `/wp-content/plugins/` directory. 2. Activate the plugin through the **Plugins** menu in WordPress. 3. Open the **wpDiscuz** menu item in your WordPress admin dashboard to configure your comment system. = Updating to wpDiscuz 7 = Please read the update documentation: [https://wpdiscuz.com/docs/wpdiscuz-7/plugin-installation/update-to-wpdiscuz-7/](https://wpdiscuz.com/docs/wpdiscuz-7/plugin-installation/update-to-wpdiscuz-7/) == Frequently Asked Questions == = What is wpDiscuz? = wpDiscuz is a WordPress comments plugin that enhances the native WordPress comment system with a modern, interactive commenting experience while keeping comments in your own database. = What is the best WordPress comments plugin? = wpDiscuz is one of the most popular WordPress comments plugins, combining AJAX comments, live commenting, inline comments, comment voting, subscriptions, custom comment forms, social login, and other engagement tools while keeping comments in the native WordPress database. = How do I enable AJAX comments in WordPress? = Install and activate wpDiscuz to add AJAX-powered comment posting and interactive comment loading without requiring visitors to reload the page after every action. = How do I replace Disqus with WordPress comments? = wpDiscuz is a Disqus alternative that uses the native WordPress comment system, allowing you to keep comments stored in your own WordPress database rather than relying on an external commenting service. = What happens to my existing WordPress comments? = Existing comments remain in the WordPress database and are displayed automatically by wpDiscuz. Uninstalling wpDiscuz does not remove your existing WordPress comments. = Where are wpDiscuz comments stored? = Comments are stored locally in your own WordPress database using the native WordPress comment system. = Does wpDiscuz support threaded comments and nested replies? = Yes. wpDiscuz supports multi-level threaded comments and nested replies to keep long discussions organized and easier to follow. = Can users subscribe to comments and replies? = Yes. wpDiscuz includes comment subscription and notification options so users can follow discussions and receive updates about new activity. = Can I create a custom WordPress comment form? = Yes. wpDiscuz supports custom WordPress comment forms and custom fields for different post types, products, pages, communities, and discussions. = Does wpDiscuz support inline comments? = Yes. wpDiscuz supports inline commenting and inline feedback, allowing visitors to interact directly with content inside a post. = Does wpDiscuz work with WooCommerce? = Yes. wpDiscuz can improve WooCommerce product discussions with AJAX-powered comments, ratings, and engagement features. Advanced WooCommerce review and rating functionality is available through the [wpDiscuz - Reviews](https://gvectors.com/product/wpdiscuz-reviews/) add-on. = Does wpDiscuz lazy load comments? = Yes. wpDiscuz can lazy load comments on scroll and also provides AJAX-based loading options to reduce the amount of comment content loaded during the initial page request. = Is wpDiscuz GDPR compliant? = wpDiscuz provides GDPR-related tools and guidance for site owners. See the [wpDiscuz GDPR documentation](https://wpdiscuz.com/gdpr/) for configuration details and information relevant to your site. = What should I do if I use a caching plugin or CDN? = After installing or updating wpDiscuz, clear your WordPress cache and purge your CDN cache so the latest plugin assets are loaded. = How do I protect WordPress comments from spam? = wpDiscuz includes built-in anti-spam features and works with WordPress comment moderation. It can also be used alongside Akismet and compatible CAPTCHA solutions for additional protection. = Does wpDiscuz affect site performance? = wpDiscuz includes AJAX comment loading, lazy-loading options, built-in comment and author caching, Gravatar caching, and other performance-focused features. Actual performance depends on factors such as traffic, comment volume, hosting, caching configuration, and enabled features. = Does wpDiscuz work with Gutenberg and the WordPress block editor? = Yes. wpDiscuz provides a Comments block for the WordPress block editor, so you can add wpDiscuz comments to Gutenberg-based content. == Use of 3rd Party Services == **gVectors Addons Store** (store.gvectors.com) wpDiscuz connects to store.gvectors.com only when the site uses the gVectors store, that is when one of the following is true: * An addon license has been activated on the site, or an addon purchase was started from it * A wpDiscuz addon from the gVectors store is installed * An administrator is using the wpDiscuz > Addons page (browsing addons, purchasing, managing licenses) A site that uses none of these sends nothing to the store. In the cases above the plugin verifies addon licenses and delivers addon updates through the WordPress Dashboard. The requests include your site address, an anonymous site identifier (a code created on your site and stored in its database), the WordPress, PHP and wpDiscuz versions, the slugs of the installed gVectors addons and, where a license is involved, the license key. [Terms of Service](https://gvectors.com/terms-and-conditions/) [Privacy Policy](https://gvectors.com/privacy-policy/) **gVectors Addons News & License Reminders** (store.gvectors.com) If the site administrator explicitly enables the addon news service (it is disabled by default and requires opt-in), wpDiscuz connects to store.gvectors.com once per day to: * Fetch news about new addons, new features and announcements (endpoint: /news) — this request sends no site-specific data beyond standard HTTP request information * Check for addon licenses that are close to expiration (endpoint: /at-risk-licenses) — this request sends your site address, an anonymous site identifier (a code created on your site and stored in its database), and the slugs and installed versions of your gVectors addons No personal data, no email addresses, and no comment content is ever sent to this service. News notifications are shown as dismissible messages in the WordPress admin, and summary emails are sent by your own site (via your own mail server) to site administrators. The service can be disabled at any time from the wpDiscuz Addons page, which stops all outbound requests immediately. [Terms of Service](https://gvectors.com/terms-and-conditions/) [Privacy Policy](https://gvectors.com/privacy-policy/) == Screenshots == 1. Live AJAX WordPress Comments | Screenshot #1 2. WordPress Comment Form | Screenshot #2 3. Modern WordPress Comment Layout | Screenshot #3 4. Responsive Comments on Mobile Devices | Screenshot #4 5. Inline Comment Form for WordPress | Screenshot #5 6. Inline Feedback and Commenting | Screenshot #6 7. Comment Voting and Post Rating | Screenshot #7 8. Live Comment Notifications | Screenshot #8 9. Social Login for WordPress Comments | Screenshot #9 10. WordPress Comment Statistics | Screenshot #10 11. wpDiscuz Settings Panel | Screenshot #11 12. Advanced Comment Settings | Screenshot #12 == Changelog == **IMPORTANT!** Please remember to delete all caches and purge CDN after the update. = Comments - wpDiscuz v7.8.0 - 04.12.2026 = * 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 a [spoiler] in 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. [See the changelog for all versions](https://plugins.svn.wordpress.org/wpdiscuz/trunk/changelog.txt)