The MU forums have moved to WordPress.org

get_blog_list() missing a blog (2 posts)

  1. mdgross
    Member
    Posted 15 years ago #

    foreach(get_blog_list(0, 'all') as $blog)
    		{
    			var_dump($blog);
    			echo '<br /><br />';
    		}

    For some reason it doesn't show blog 57. This is bizarre... any ideas?

  2. dsader
    Member
    Posted 15 years ago #

    get_blog_list(0, 'all') from wpmu-functions.php pulls "all" blogs that meet these conditions.

    AND public = '1' AND archived = '0' AND mature = '0' AND spam = '0' AND deleted = '0'

    A blog user can switch their "public" with the privacy selector. Dashboard-->Settings-->Privacy.

About this Topic