Issues with Roles and Caps with Admin on Sub Blog
-
I am trying to figure out why my administrator of a sub blog does not have the right to manage options on that sub blog.
I removed the user and the re added the user as an administrator to make sure the users capabilities havent been modified by anything I might have done while tinkering with roles and capabilities.
The ID of the sub blog is 2686 and under edit site >> user there only user listed is the administrator ID 7093
Here are some of my results:
current_user_can('manage_options') bool(false) $current_user->ID: int(7093) $current_user->cap_key: string(20) "wp_2686_capabilities" $current_user->roles: array(1) { [0]=> string(13) "administrator" } $current_user->caps: array(1) { ["administrator"]=> string(1) "1" } $current_user->allcaps: There are 65 of them mostly capabilities added by an events plugin (no manage_options capability)
Thanks,
Jesse
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Issues with Roles and Caps with Admin on Sub Blog’ is closed to new replies.