Skip to:
Content

BuddyPress.org

Changeset 2820


Ignore:
Timestamp:
03/08/2010 04:04:42 PM (15 years ago)
Author:
apeatling
Message:

Fixes #2115

Location:
branches/1.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-blogs/bp-blogs-templatetags.php

    r2702 r2820  
    468468
    469469    if ( bp_is_my_profile() )   {
    470         echo apply_filters( 'bp_create_blog_link', '<a href="' . $bp->loggedin_user->domain . $bp->blogs->slug . '/create-a-blog">' . __('Create a Blog', 'buddypress') . '</a>' );
     470        echo apply_filters( 'bp_create_blog_link', '<a href="' . $bp->root_domain . '/' . $bp->blogs->slug . '/create">' . __('Create a Blog', 'buddypress') . '</a>' );
    471471    }
    472472}
  • branches/1.2/bp-core/bp-core-templatetags.php

    r2741 r2820  
    16931693    global $bp;
    16941694
    1695     if ( BP_BLOGS_SLUG == $bp->current_component && 'create-a-blog' == $bp->current_action )
     1695    if ( BP_BLOGS_SLUG == $bp->current_component && 'create' == $bp->current_action )
    16961696        return true;
    16971697
Note: See TracChangeset for help on using the changeset viewer.