Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/21/2010 11:19:32 AM (16 years ago)
Author:
apeatling
Message:

Fixed issues with the listing of hidden groups when you are logged in. Switched all references of bp_is_home() to the more appropriate bp_is_my_profile().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-blogs/bp-blogs-templatetags.php

    r2375 r2389  
    11531153    global $bp;
    11541154
    1155     if ( bp_is_home() ) {
     1155    if ( bp_is_my_profile() )   {
    11561156        echo apply_filters( 'bp_create_blog_link', '<a href="' . $bp->loggedin_user->domain . $bp->blogs->slug . '/create-a-blog">' . __('Create a Blog', 'buddypress') . '</a>' );
    11571157    }
     
    11621162
    11631163    // Don't show these tabs on a user's own profile
    1164     if ( bp_is_home() )
     1164    if ( bp_is_my_profile() )
    11651165        return false;
    11661166
Note: See TracChangeset for help on using the changeset viewer.