[wpmu-trac] [WordPress MU Trac] #788: User levels do not match roles

WordPress MU Trac wpmu-trac at lists.automattic.com
Thu Nov 6 19:03:32 GMT 2008


#788: User levels do not match roles
------------------------+---------------------------------------------------
 Reporter:  mdgross     |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  high        |   Milestone:          
Component:  component1  |     Version:          
 Severity:  major       |    Keywords:          
------------------------+---------------------------------------------------
 When I create a new blog from the "Site Admin > Blogs > Add A Blog"
 feature it creates the following user meta....

 {{{
 21708   5079    wp_89_capabilities      a:1:{s:13:"administrator";b:1;}
 21709   5079    wp_89_user_level                10
 }}}

 When I navigate to the "Site Admin > Blogs > Edit (blog 89)" and set the
 newly created admin user to editor the user meta looks like

 {{{
 21708   5079    wp_89_capabilities      a:1:{s:6:"editor";b:1;}
 21709   5079    wp_89_user_level                10
 }}}

 Apparently even though the user's role was changed to Editor, the user
 level stays at 10. According to
 http://codex.wordpress.org/Roles_and_Capabilities#Editor the editor should
 only receive 7 access.

 User levels are around for backward compatibility with plug-ins, but to my
 knowledge do not affect the core WordPress functionality anymore.

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/788>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list