WordPress.org

Support

Support » Themes and Templates » [Resolved] Problem with subscriber role

[Resolved] Problem with subscriber role

  • In my theme I run a conditional statement wich checks if a user has the “read” capability, a capability every logged-in user should have, to decide wether certain content should be displayed or not. Recently someone pointed out to me, that subscribers could not see this content anymore, while contributors could. I tested this on an older wordpress install (version 2.0.5), and it worked fine there.

    So, to summarize my question: Does anybody know why the command
    if (current_user_can(read))
    returns a false if the user has the role of subscriber?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Problem with subscriber role’ is closed to new replies.
Skip to toolbar