[Resolved] "My Sites" no longer lists all my sites
Which menu? The one from the drop down on the toolbar or…?
Yes, the one from the drop down on the toolbar.
I BELIEVE that only lists sites you’re added to as an admin.
That is not the issue, I am listed as an admin on many of the sites. I’ve just confirmed with some of those sites that I am an Administrator but they are not showing in the list.
Did you replace wp-config.php file when you upgraded? If so, you have to re-add the Multi-site lines from your previous file or the network won’t display. If you used the automatic upgrade option, that shouldn’t be a problem, but it still might be worth checking.
I did the automatic upgrade but I’ll look into that just in case. Thanks for the suggestion.
This seems to be somewhat related to this problem. If you comment out lines 699 and 700 of wp-includes/user.php (the same place that other problem occurs), you get all of your blogs back in that menu. I’m not sure what the rationale was for adding that, but it seems that little section needs some more attention 🙂
I tried both commenting those lines out and doing as suggested in the other problem of changing line 699 from:
if ( 0 !== strpos( $key, $wpdb->base_prefix ) )
if ( strlen($wp->base_prefix) && 0 !== strpos( $key, $wpdb->base_prefix ) )
Both approaches were successful.
An empty database prefix is not supported.
Hmmm, this hasn’t solved the problem for me here – running Multisite on 3.3.1 and coming here to try and find a solution!
If anyone else still has the problem despite trying to above fixes and works out how to fix – please post here 🙂
I’ve worked out my problem and it’s NOT a technical problem, but will possibly help others too —
I’m EXPECTING to see a list of all sites in the My Sites dropdown, when I’m logged in as the main Admin user … so I think WordPress is working correctly … it’s just not as I really expected! 🙂
I’ve just added the admin user to a site I wasn’t seeing in the list, and sure enough, I can now see the site in the My Sites dropdown – I just expected Admin to be a super-set of all other users – therefore, show all sites!
Thanks Marky_uk – adding my superadmin to the other site worked perfectly!
Worked for me as well. Does anyone know how to add the Super Admin to a new site by default when it’s created?
There’s a hook for adding a new site. You can add an action there that will assign the super-admin to sites as they are added.
However, this is a bad idea when your network starts to have lots of sites. The drop-down becomes pretty useless when there are more than 10-20 sites.
- The topic ‘[Resolved] "My Sites" no longer lists all my sites’ is closed to new replies.