Support » Themes and Templates » Problem with subscriber role

  • Resolved Zoutesnor


    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 ‘Problem with subscriber role’ is closed to new replies.