[wp-trac] [WordPress Trac] #23136: Do not notify the post author about comments if they are no longer a member of the blog
WordPress Trac
noreply at wordpress.org
Tue Jan 8 17:34:40 UTC 2013
#23136: Do not notify the post author about comments if they are no longer a member
of the blog
--------------------------+--------------------------
Reporter: ryan | Owner: markjaquith
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.6
Component: Comments | Version: 3.5
Severity: normal | Resolution:
Keywords: dev-feedback |
--------------------------+--------------------------
Comment (by nacin):
When you remove a user from a site, he remains an author of existing
posts. Unless you delete the author entirely, there is no reassignment
mechanism. The user still exists on the network and is still a valid user
for the blog in terms of post_author and comment user_id. If there was a
way to "shut off" a user account across a network (say, closing down a
staff account for someone who left staff, but wrote lots of posts), then I
could understand a desire to shut off a site.
As it stands, [23294] would break posts by a super admin, which I imagine
is not uncommon. While a super admin *should* probably add themselves to
individual sites, they might not.
This is for wp_notify_postauthor(), which is only sent on published
comments. As long as the author can still read the post — and a cap check
exists for that — they should still receive the notification. Why not?
They still authored the post, and they can still reply, after all.
The user should only see trash/spam/delete links if they cannot
edit_comment, of course. (If demoted to a subscriber, they can still read
but won't be able to edit, for example. Not sure whether contributors can
touch comments on their own posts.)
If we're going to silence these notifications once the author is removed
from the blog, then maybe what we're looking for is a cap check like read
or edit_comment?
I'm not saying there should be *no* change here. Clearly, something is
needed. [23294] could even stay if that is consensus. But that still does
not carve out an exception for super admins, nor does it block moderation
links for users who can't moderate said comment.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23136#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list