Skip to:
Content

BuddyPress.org

Changeset 2389 for trunk/bp-blogs.php


Ignore:
Timestamp:
01/21/2010 11:19:32 AM (15 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.php

    r2383 r2389  
    117117 * @package BuddyPress Blogs
    118118 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()
    119  * @uses bp_is_home() Checks to see if the current user being viewed is the logged in user
     119 * @uses bp_is_my_profile() Checks to see if the current user being viewed is the logged in user
    120120 */
    121121function bp_blogs_setup_nav() {
     
    139139    /* Set up the component options navigation for Blog */
    140140    if ( 'blogs' == $bp->current_component ) {
    141         if ( bp_is_home() ) {
     141        if ( bp_is_my_profile() ) {
    142142            if ( function_exists('xprofile_setup_nav') ) {
    143143                $bp->bp_options_title = __('My Blogs', 'buddypress');
Note: See TracChangeset for help on using the changeset viewer.