Skip to:
Content

BuddyPress.org

Changeset 3534


Ignore:
Timestamp:
12/17/2010 09:23:39 PM (14 years ago)
Author:
djpaul
Message:

Use home_url in navigation item, not site_url. Fixes #2954, props r-a-y

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/functions.php

    r3527 r3534  
    436436    <ul id="nav">
    437437        <li<?php if ( is_front_page() ) : ?> class="selected"<?php endif; ?>>
    438             <a href="<?php echo site_url() ?>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php _e( 'Home', 'buddypress' ) ?></a>
     438            <a href="<?php echo home_url() ?>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php _e( 'Home', 'buddypress' ) ?></a>
    439439        </li>
    440440
Note: See TracChangeset for help on using the changeset viewer.