Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/01/2011 07:46:50 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Use bp_get_root_domain() in place of $bp->root_domain global

File:
1 edited

Legend:

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

    r3937 r3982  
    222222
    223223        if ( empty( $blogs_template->blog->domain ) )
    224             $permalink = $bp->root_domain . $blogs_template->blog->path;
     224            $permalink = bp_get_root_domain() . $blogs_template->blog->path;
    225225        else {
    226226            $protocol = 'http://';
     
    482482
    483483    if ( bp_is_my_profile() )
    484         echo apply_filters( 'bp_create_blog_link', '<a href="' . $bp->root_domain . '/' . $bp->blogs->root_slug . '/create/">' . __( 'Create a Blog', 'buddypress' ) . '</a>' );
     484        echo apply_filters( 'bp_create_blog_link', '<a href="' . bp_get_root_domain() . '/' . $bp->blogs->root_slug . '/create/">' . __( 'Create a Blog', 'buddypress' ) . '</a>' );
    485485}
    486486
Note: See TracChangeset for help on using the changeset viewer.