Skip to:
Content

BuddyPress.org

Changeset 3389


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

Fix missing $bp global in bp_get_profile_field_data (trunk)

File:
1 edited

Legend:

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

    r3383 r3389  
    561561}
    562562    function bp_get_profile_field_data( $args = '' ) {
     563        global $bp;
     564
    563565        $defaults = array(
    564             'field' => false, // Field name or ID.
     566            'field'   => false, // Field name or ID.
    565567            'user_id' => $bp->displayed_user->id
    566             );
     568        );
    567569
    568570        $r = wp_parse_args( $args, $defaults );
Note: See TracChangeset for help on using the changeset viewer.