Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/01/2013 04:10:19 AM (12 years ago)
Author:
r-a-y
Message:

Audit home_url() vs. site_url() usage. Fixes #2549.

Also replace instances of site_url() concatenation with native BP functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-blogs/bp-blogs-actions.php

    r6342 r6975  
    2727    if ( is_multisite() ) {
    2828        $blog = bp_blogs_get_random_blogs( 1, 1 );
    29         bp_core_redirect( get_site_url( $blog['blogs'][0]->blog_id ) );
     29        bp_core_redirect( get_home_url( $blog['blogs'][0]->blog_id ) );
    3030
    3131    // No multisite and still called, always redirect to root
Note: See TracChangeset for help on using the changeset viewer.