Skip to:
Content

BuddyPress.org

Changeset 5638


Ignore:
Timestamp:
01/17/2012 08:28:59 PM (12 years ago)
Author:
djpaul
Message:

Correct activity link in directory when logged out. Fixes #3933

File:
1 edited

Legend:

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

    r5087 r5638  
    3939                    <?php do_action( 'bp_before_activity_type_tab_all' ); ?>
    4040
    41                     <li class="selected" id="activity-all"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/'; ?>" title="<?php _e( 'The public activity for everyone on this site.', 'buddypress' ); ?>"><?php printf( __( 'All Members <span>%s</span>', 'buddypress' ), bp_get_total_site_member_count() ); ?></a></li>
     41                    <li class="selected" id="activity-all"><a href="<?php echo trailingslashit( bp_get_root_domain() . '/' . bp_get_activity_slug() ); ?>" title="<?php _e( 'The public activity for everyone on this site.', 'buddypress' ); ?>"><?php printf( __( 'All Members <span>%s</span>', 'buddypress' ), bp_get_total_site_member_count() ); ?></a></li>
    4242
    4343                    <?php if ( is_user_logged_in() ) : ?>
Note: See TracChangeset for help on using the changeset viewer.