Skip to:
Content

BuddyPress.org

Ticket #1515: ticket-1515.diff

File ticket-1515.diff, 1.7 KB (added by DJPaul, 15 years ago)
  • bp-core/bp-core-adminbar.php

     
    161161
    162162        if ( bp_blog_signup_enabled() ) {
    163163                echo '<li' . $alt . '>';
    164                 echo '<a href="' . $bp->loggedin_user->domain . $bp->blogs->slug . '/create-a-blog">' . __('Create a Blog!', 'buddypress') . '</a>';
     164                echo '<a href="' . $bp->loggedin_user->domain . $bp->blogs->slug . '/create">' . __('Create a Blog!', 'buddypress') . '</a>';
    165165                echo '</li>';
    166166        }
    167167
  • bp-core/bp-core-templatetags.php

     
    16141614function bp_is_create_blog() {
    16151615        global $bp;
    16161616
    1617         if ( BP_BLOGS_SLUG == $bp->current_component && 'create-a-blog' == $bp->current_action )
     1617        if ( BP_BLOGS_SLUG == $bp->current_component && 'create' == $bp->current_action )
    16181618                return true;
    16191619
    16201620        return false;
  • bp-blogs/bp-blogs-templatetags.php

     
    11561156        global $bp;
    11571157
    11581158        if ( bp_is_home() )     {
    1159                 echo apply_filters( 'bp_create_blog_link', '<a href="' . $bp->loggedin_user->domain . $bp->blogs->slug . '/create-a-blog">' . __('Create a Blog', 'buddypress') . '</a>' );
     1159                echo apply_filters( 'bp_create_blog_link', '<a href="' . $bp->loggedin_user->domain . $bp->blogs->slug . '/create">' . __('Create a Blog', 'buddypress') . '</a>' );
    11601160        }
    11611161}