[wp-trac] [WordPress Trac] #20152: Multisite simplify option name to user_roles

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 13 18:58:25 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  |
------------------------------------+------------------------------

Comment (by wonderboymusic):

 That all sounds good. My only fear was someone deleting the option (or
 both, old and new) and then not being able to get them back. Also,
 currently the generation of the roles calls update_option on every
 add_role and add_cap invocation, rather than once per role or (like
 _WP_User_Roles::init) once only for all default roles.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20152#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list