[wp-trac] [WordPress Trac] #20152: Multisite simplify option name to user_roles
WordPress Trac
wp-trac at lists.automattic.com
Thu Mar 1 21:44:28 UTC 2012
#20152: Multisite simplify option name to user_roles
--------------------------+-----------------------------
Reporter: colind | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Multisite | Version: 3.3.1
Severity: normal | Keywords:
--------------------------+-----------------------------
Currently each blog in a MS install of WP stores an array of user roles in
it's [prefix]_[$blog_id]_options table as an entry with the key
[prefix]_[$blog_id]_user_roles
This makes it much harder to migrate MS install of WP to a different db
prefix, etc. because not only do you need to change the table prefixes you
need to go into each blog's options table and then properly update that
option's key.
Because the table itself is sufficiently unique there isn't a need for
this. The user roles array could be stored in an option called
"user_roles" for each blog.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20152>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list