Automattic / Automattic/co-authors-plus
Plugin shows that author has posts when all posts are in trash
- Dominant language
- PHP
- Stars
- 322
- Forks
- 216
- Avg merge
- 7h 50m
- Merged PRs (30d)
- 65
Description
I’m not sure if that is related to https://github.com/Automattic/Co-Authors-Plus/issues/583, but I experienced the following: After deleting all posts from an author, the plugin displays one remaining (or two on a local copy of the site) post for this user. Removing the posts from trash fixes that.
This does not happen for every user, just for one (it has the admin role, but it works for other authors with the admin role), and after fixing the behavior onece via removing the posts from trash, the issue does not appear again if I create a new post with the author and delete it.
Contributor guide
Research direction
No files, tests, or entry points are named. First reproduce the author post-count behavior with all posts in trash and compare the symptoms with issue 583; done means authors with only trashed posts no longer show remaining posts, including the reported admin case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100