Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/11/2010 05:41:38 AM (10 years ago)
Author:
johnjamesjacoby
Message:

Fix missing $bp global in bp_get_profile_field_data (branch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-xprofile/bp-xprofile-templatetags.php

    r3378 r3388  
    553553}
    554554    function bp_get_profile_field_data( $args = '' ) {
     555        global $bp;
     556
    555557        $defaults = array(
    556             'field' => false, // Field name or ID.
     558            'field'   => false, // Field name or ID.
    557559            'user_id' => $bp->displayed_user->id
    558             );
     560        );
    559561
    560562        $r = wp_parse_args( $args, $defaults );
Note: See TracChangeset for help on using the changeset viewer.