admin管理员组文章数量:1296467
When i use the wp_get_current_user function to display all informations about my user (subscriber), it shows that i can edit comment :
I tried to display an edit comment button next to each comment that belongs to my user. However, in the edit_comment_link func there is this condition that checks if the user can edit comment :
And it turns out that this condition doesn't pass. I don't get how this could be true on one side and false on the other side...
I disable all my plugins and the problem is still here so i don't think it comes from this... i can't find any answer helpful, nothing works so far...
Does anyone have any idea? :(
本文标签: user rolesMy subscriber has the quotedit commentquot capability but can39t edit comment
版权声明:本文标题:user roles - My subscriber has the "edit comment" capability but can't edit comment 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741636964a2389693.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论