[wp-trac] [WordPress Trac] #64012: Avoid counting post editor admin inline comments alongside user comments
WordPress Trac
noreply at wordpress.org
Fri Sep 19 19:57:05 UTC 2025
#64012: Avoid counting post editor admin inline comments alongside user comments
--------------------------+-----------------------------
Reporter: JeffPaul | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
The new Inline Comments feature currently causes admin/editor inline
comments to be included in the overall user comment count on the All Posts
screen. This inflates the visible count and mixes editorial feedback with
actual user-submitted comments, which can confuse site admins and editors.
This was first identified in Gutenberg
([https://github.com/WordPress/gutenberg/issues/71621 issue#71621]) and a
PR was opened in wordpress-develop to address it
([https://github.com/WordPress/wordpress-develop/pull/9869 PR#9869]).
As @adamsilverstein [https://github.com/WordPress/wordpress-
develop/pull/9869#issuecomment-3309846279 noted], this should be properly
tracked in Core (and thus a Trac ticket here).
Steps to Reproduce:
1. Enable Inline Comments.
2. Add one or more inline comments in the block editor.
3. Visit WP Admin → Posts → All Posts.
4. Observe that the comment count for the post includes both user-
submitted comments and editor/admin inline comments.
Expected Behavior:
* The comment count on the All Posts screen should reflect user comments
only.
* Inline editorial/admin comments should not be included in this count.
Actual Behavior:
Inline editorial/admin comments are included in the count, leading to
inflated and misleading numbers.
Proposed Fix:
Adjust the query/count logic to exclude inline editorial/admin comments
from the standard comment count displayed in the admin UI.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64012>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list