Skip to:
Content

BuddyPress.org

Changeset 3343 for trunk/bp-core.php


Ignore:
Timestamp:
11/03/2010 07:34:25 PM (11 years ago)
Author:
djpaul
Message:

Add https support to bp_core_get_root_domain(). Fixes #1948.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core.php

    r3331 r3343  
    615615
    616616    if ( defined( 'BP_ENABLE_MULTIBLOG' ) )
    617         $domain = get_blog_option( $current_blog->blog_id, 'home' );
     617        $domain = get_home_url( $current_blog->blog_id );
    618618    else
    619         $domain = get_blog_option( BP_ROOT_BLOG, 'home' );
     619        $domain = get_home_url( BP_ROOT_BLOG );
    620620
    621621    return apply_filters( 'bp_core_get_root_domain', $domain );
Note: See TracChangeset for help on using the changeset viewer.