Changeset 2820
- Timestamp:
- 03/08/2010 04:04:42 PM (15 years ago)
- Location:
- branches/1.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-blogs/bp-blogs-templatetags.php
r2702 r2820 468 468 469 469 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>' ); 471 471 } 472 472 } -
branches/1.2/bp-core/bp-core-templatetags.php
r2741 r2820 1693 1693 global $bp; 1694 1694 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 ) 1696 1696 return true; 1697 1697
Note: See TracChangeset
for help on using the changeset viewer.