I create a new role and assign to it the capabilities moderate_comments and edit_posts (this one is needed to enable the comments moderation cap.). This new role can't see all the comments published on the website. For example, the website has 20 comments but, when the user with the new role open the Comments panel in the wp-admin, the comments list is empty. The counter notify that there are 20 comments, but they are not listed. However, I found that the capability activate_plugins gives to the new role the possibility to see all the comments. In other words, when the new role has the cap. activate_plugins all the 20 comments are listed in the wp-admin comments moderation page. The same happens with posts and pages.

Why this happens? And, is there a way to see all the comments, the posts and the pages from the new role without enabling the superflous cap. activate_plugins? Thank you all.

  • this sounds like a problem with the plugins you use. the activate_pluginscapability should not have any impact on the comments – Mark Kaplun Oct 30 '16 at 11:55
  • In fact this is so strange... – BlackOut Oct 30 '16 at 12:02
  • Ok, fantastic... found the plugin that is causing all my wordpress-related problems. – BlackOut Oct 30 '16 at 12:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.