Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/11/2012 03:21:00 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Replace direct references to $bp user fullname and user_login with their functional equivalents, and kill off some $bp global usage in the process. See #3994, #3989.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-messages/bp-messages-loader.php

    r5704 r5705  
    9292     */
    9393    function setup_nav() {
    94         global $bp;
    9594
    9695        $sub_nav = array();
     
    248247                    'alt'     => sprintf( __( 'Profile picture of %s', 'buddypress' ), bp_get_displayed_user_fullname() )
    249248                ) );
    250                 $bp->bp_options_title = $bp->displayed_user->fullname;
     249                $bp->bp_options_title = bp_get_displayed_user_fullname();
    251250            }
    252251        }
Note: See TracChangeset for help on using the changeset viewer.