Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/09/2011 07:32:28 PM (14 years ago)
Author:
djpaul
Message:

Correct handling of default value of the profile field loop's hide_empty_fields.
Also correct potential PHP warnings.
Fixes #3447

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-classes.php

    r4911 r4958  
    255255        global $wpdb, $bp;
    256256
    257         extract( $args );
    258 
    259257        $defaults = array(
    260258            'id'                => false,
     
    270268            'hide_sitewide'     => false
    271269        );
     270        $params = wp_parse_args( $args, $defaults );
     271        extract( $params );
    272272
    273273        $where_args = false;
Note: See TracChangeset for help on using the changeset viewer.