Changeset 3982 for trunk/bp-core/bp-core-buddybar.php
- Timestamp:
- 02/01/2011 07:46:50 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-buddybar.php
r3952 r3982 323 323 global $bp; 324 324 325 echo '<a href="' . $bp->root_domain. '" id="admin-bar-logo">' . get_blog_option( BP_ROOT_BLOG, 'blogname' ) . '</a>';325 echo '<a href="' . bp_get_root_domain() . '" id="admin-bar-logo">' . get_blog_option( BP_ROOT_BLOG, 'blogname' ) . '</a>'; 326 326 } 327 327 … … 333 333 return false; 334 334 335 echo '<li class="bp-login no-arrow"><a href="' . $bp->root_domain . '/wp-login.php?redirect_to=' . urlencode( $bp->root_domain) . '">' . __( 'Log In', 'buddypress' ) . '</a></li>';335 echo '<li class="bp-login no-arrow"><a href="' . bp_get_root_domain() . '/wp-login.php?redirect_to=' . urlencode( bp_get_root_domain() ) . '">' . __( 'Log In', 'buddypress' ) . '</a></li>'; 336 336 337 337 // Show "Sign Up" link if user registrations are allowed … … 422 422 <a href="#"><?php _e( 'Visit', 'buddypress' ) ?></a> 423 423 <ul class="random-list"> 424 <li><a href="<?php echo trailingslashit( $bp->root_domain. '/' . $bp->members->root_slug ) . '?random-member' ?>"><?php _e( 'Random Member', 'buddypress' ) ?></a></li>424 <li><a href="<?php echo trailingslashit( bp_get_root_domain() . '/' . $bp->members->root_slug ) . '?random-member' ?>"><?php _e( 'Random Member', 'buddypress' ) ?></a></li> 425 425 426 426 <?php if ( bp_is_active( 'groups' ) ) : ?> 427 427 428 <li class="alt"><a href="<?php echo trailingslashit( $bp->root_domain. '/' . $bp->groups->root_slug ) . '?random-group' ?>"><?php _e( 'Random Group', 'buddypress' ) ?></a></li>428 <li class="alt"><a href="<?php echo trailingslashit( bp_get_root_domain() . '/' . $bp->groups->root_slug ) . '?random-group' ?>"><?php _e( 'Random Group', 'buddypress' ) ?></a></li> 429 429 430 430 <?php endif; ?> … … 432 432 <?php if ( is_multisite() && bp_is_active( 'blogs' ) ) : ?> 433 433 434 <li><a href="<?php echo trailingslashit( $bp->root_domain. '/' . $bp->blogs->root_slug ) . '?random-blog' ?>"><?php _e( 'Random Blog', 'buddypress' ) ?></a></li>434 <li><a href="<?php echo trailingslashit( bp_get_root_domain() . '/' . $bp->blogs->root_slug ) . '?random-blog' ?>"><?php _e( 'Random Blog', 'buddypress' ) ?></a></li> 435 435 436 436 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.