Ticket #1515: ticket-1515.diff
File ticket-1515.diff, 1.7 KB (added by , 15 years ago) |
---|
-
bp-core/bp-core-adminbar.php
161 161 162 162 if ( bp_blog_signup_enabled() ) { 163 163 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>'; 165 165 echo '</li>'; 166 166 } 167 167 -
bp-core/bp-core-templatetags.php
1614 1614 function bp_is_create_blog() { 1615 1615 global $bp; 1616 1616 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 ) 1618 1618 return true; 1619 1619 1620 1620 return false; -
bp-blogs/bp-blogs-templatetags.php
1156 1156 global $bp; 1157 1157 1158 1158 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>' ); 1160 1160 } 1161 1161 }