[wp-trac] [WordPress Trac] #16134: Check capabilities/role before adding comment links to email
WordPress Trac
noreply at wordpress.org
Thu Sep 24 17:43:03 UTC 2015
#16134: Check capabilities/role before adding comment links to email
-------------------------------------+---------------------
Reporter: GaryJ | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.1
Component: Comments | Version: 3.0.4
Severity: normal | Resolution: fixed
Keywords: has-patch needs-refresh | Focuses:
-------------------------------------+---------------------
Changes (by wonderboymusic):
* status: new => closed
* resolution: => fixed
* milestone: Future Release => 3.1
Comment:
Since [16223], the `post_author` doesn't even get the email if they don't
pass `user_can( $user->ID, 'edit_comment', $comment_id )` - which is the
same check the proposed patch suggests.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16134#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list