Skip to:
Content

BuddyPress.org

Changeset 2246


Ignore:
Timestamp:
01/02/2010 08:25:35 PM (17 years ago)
Author:
apeatling
Message:

Changing site_url() to use $bp->root_domain so the link will work on any blog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-adminbar.php

    r2245 r2246  
    162162        if ( bp_blog_signup_enabled() ) {
    163163                echo '<li' . $alt . '>';
    164                 echo '<a href="' . site_url( $bp->blogs->slug . '/create/' ) . '">' . __('Create a Blog!', 'buddypress') . '</a>';
     164                echo '<a href="' . $bp->root_domain . '/' . $bp->blogs->slug . '/create/">' . __('Create a Blog!', 'buddypress') . '</a>';
    165165                echo '</li>';
    166166        }
Note: See TracChangeset for help on using the changeset viewer.