[wp-trac] [WordPress Trac] #16134: Check capabilities/role before adding comment links to email

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 7 10:23:06 UTC 2011


#16134: Check capabilities/role before adding comment links to email
--------------------------+-----------------------------
 Reporter:  GaryJ         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Comments      |    Version:  3.0.4
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-----------------------------
 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?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16134>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list