[wp-trac] [WordPress Trac] #20152: Multisite simplify option name to user_roles
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 13 18:43:15 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 | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+------------------------------
Changes (by wonderboymusic):
* keywords: needs-patch => has-patch dev-feedback
Comment:
Introduce {{{_WP_User_Roles}}} class. {{{_WP_User_Roles::init()}}} can
regenerate the roles option on the fly. You can delete the option, no
probs. Currently, if you delete the option you are completely screwed
(code is in the schema.php). Schema now calls {{{_WP_User_Roles::init()}}}
which swallows up all of the populate_* functions and deprecates
{{{wp_user_roles}}} option for each blog.
(Be Gentle.)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20152#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list