Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/18/2014 02:09:33 AM (11 years ago)
Author:
r-a-y
Message:

Replace wp_parse_args() with bp_parse_args() for all template loops.

bp_parse_args() allows developers to filter the template arguments
before the loop is rendered. This will allow for greater
flexibility to manipulate template loops in plugins.

See #5306

File:
1 edited

Legend:

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

    r8116 r8142  
    343343    );
    344344
    345     $r = wp_parse_args( $args, $defaults );
     345    $r = bp_parse_args( $args, $defaults, 'has_groups' );
    346346
    347347    $groups_template = new BP_Groups_Template( array(
Note: See TracChangeset for help on using the changeset viewer.