Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/10/2015 12:12:52 AM (9 years ago)
Author:
johnjamesjacoby
Message:

Replace all references to bp_get_root_domain() . '/' . bp_get_members_root_slug() with bp_get_members_directory_permalink(), ensuring all usages and filters are applied uniformly. See #4954.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/deprecated/2.1.php

    r9466 r9467  
    340340        <a href="#"><?php _e( 'Visit', 'buddypress' ) ?></a>
    341341        <ul class="random-list">
    342             <li><a href="<?php echo trailingslashit( bp_get_root_domain() . '/' . bp_get_members_root_slug() ) . '?random-member' ?>" rel="nofollow"><?php _e( 'Random Member', 'buddypress' ) ?></a></li>
     342            <li><a href="<?php bp_members_directory_permalink(); ?>?random-member" rel="nofollow"><?php _e( 'Random Member', 'buddypress' ) ?></a></li>
    343343
    344344            <?php if ( bp_is_active( 'groups' ) ) : ?>
Note: See TracChangeset for help on using the changeset viewer.