[wpmu-trac] [WordPress MU Trac] #1051: Some users not able to see My Blogs page

WordPress MU Trac wpmu-trac at lists.automattic.com
Tue Jul 14 17:50:35 UTC 2009


#1051: Some users not able to see My Blogs page
----------------------------+-----------------------------------------------
 Reporter:  axelseaa        |       Owner:  somebody
     Type:  defect          |      Status:  new     
 Priority:  normal          |   Milestone:          
Component:  Administration  |     Version:  2.8.1   
 Severity:  normal          |    Keywords:          
----------------------------+-----------------------------------------------
 I discovered some users on my testing instance were not able to see the My
 Blogs page.  I tracked down the problem to the add_submenu_page call in
 includes/mu.php in the blogs_page_init function.

 The original call was:
 add_submenu_page( 'index.php', $title, $title, 'subscriber', 'myblogs',
 'blogs_listing' );

 This was not working for a handful of users. I modified the call to be:
 add_submenu_page( 'index.php', $title, $title, '0', 'myblogs',
 'blogs_listing' );

 This corrected the problem.  Is there something weird going on here?  Or
 does the add submenu page function simply prefer the numeric value over
 the string value?

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


More information about the wpmu-trac mailing list