Check capabilities/role before adding comment links to email
|Reported by:||GaryJ||Owned by:|
Currently the Trash it, Delete it, Spam it are added to comment notifcation emails, which are sent to the author.
However, the author may have had their role changed down to a lower-role (or had capability removed) since they wrote the post, and no longer would have permissions to use the links added to the email.
It may also be the case that a subscriber user was assigned as the Post Author (perhaps as a sort of Guest Author) for a post, and never had the permissions to use those links.
Can some sort of check be added, before these links be added to the email?
Change History (12)
- Keywords 3.2-early added
- Milestone changed from Awaiting Review to Future Release