The MU forums have moved to WordPress.org

get_blog_list (4 posts)

  1. jwack
    Member
    Posted 12 years ago #

    I am using get_blog_list to return a list of blogs. But it doesn't return the main blog? Can I get it to include the main blog, or is there another function I should be using?

    Thanks.

  2. tdjcbe
    Member
    Posted 12 years ago #

    It shouldn't. Do you have blog #1 marked as mature or private? That's the only way it shouldn;t be listed.

    The function in question:

    http://trac.mu.wordpress.org/browser/trunk/wp-includes/wpmu-functions.php#L613

  3. jwack
    Member
    Posted 12 years ago #

    Thanks! I had a typo!

  4. tdjcbe
    Member
    Posted 12 years ago #

    Don;t you love typos? :)

    Glad you got it working.

About this Topic