Skip to:
Content

BuddyPress.org

Changeset 7985


Ignore:
Timestamp:
02/25/2014 02:53:46 PM (10 years ago)
Author:
boonebgorges
Message:

Save a variable when parsing default arguments in bp_group_has_invites()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-template.php

    r7983 r7985  
    31503150    global $invites_template, $group_id;
    31513151
    3152     $defaults = array(
     3152    $r = wp_parse_args( $args, array(
    31533153        'group_id' => false,
    31543154        'user_id' => bp_loggedin_user_id()
    3155     );
    3156 
    3157     $r = wp_parse_args( $args, $defaults );
     3155    ) );
    31583156
    31593157    if ( empty( $r['group_id'] ) ) {
Note: See TracChangeset for help on using the changeset viewer.