3.0 Upgrade did not upgrade user_roles option for existing sites
-
Hi,
We recently did an auto-upgrade of our 2.9.2 WPMU instance to 3.0.1. Love the new version! Thanks so much. Just found one thing to be confusing. Administrators for blogs that were upgraded no longer have the ability to view the Users of their blog. In fact they don’t even have the ‘Users’ menu.
If we create new blogs, the Administrators of them can see the ‘Users’ menu. I think this is because new blogs have additional capabilities assigned to Admins in the wp_**_option table. Below is a comparison of capabilities to an upgraded site (wp29) and a newly created site (wp30). (To get these capabilities we run the query select * from wp_xxx_options where option_name = ‘wp_xxx_user_roles’)
You can see that admins on new blogs have the ‘list_users’ capability which apparently is necessary to get the ‘Users’ menu.
So, is this the intended behavior? If it is, is there a way to change older blogs so they have the same roles as new blogs? We are working on writing documentation for our users and it is difficult because they will need to do things differently depending upon when their blog was created.
Thanks so much for your help!
— wp29_admin 2010-10-27 07:43:41.000000000 -0400
+++ wp30_admin 2010-10-27 07:43:15.000000000 -0400
@@ -15,7 +15,6 @@
[manage_links] => 1
[upload_files] => 1
[import] => 1
– [unfiltered_html] => 1
[edit_posts] => 1
[edit_others_posts] => 1
[edit_published_posts] => 1
@@ -50,20 +49,7 @@
[read_private_pages] => 1
[delete_users] => 1
[create_users] => 1
– [unfiltered_upload] => 1
[edit_dashboard] => 1
– [update_plugins] => 1
– [delete_plugins] => 1
– [install_plugins] => 1
– [update_themes] => 1
– [install_themes] => 1
– [update_core] => 1
– [list_users] => 1
– [remove_users] => 1
– [add_users] => 1
– [promote_users] => 1
– [edit_theme_options] => 1
– [delete_themes] => 1
– [export] => 1
)
+
)
- The topic ‘3.0 Upgrade did not upgrade user_roles option for existing sites’ is closed to new replies.