• Resolved af.

    (@af-1)


    I’ve been using this code:
    if (is_user_logged_in() && !current_user_can('subscriber')) { [...] }
    … fine for a while now to show something only to users logged in above the level of subscribers (authors, admins, etc).

    Recently I upgraded my install of WordPress to use the Multisite feature and ever since this bit of code has not worked.

    Has anyone else had problems with current_user_can and Multisite?

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘current_user_can broken using multisite’ is closed to new replies.