Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/21/2018 01:14:05 AM (8 years ago)
Author:
djpaul
Message:

Templates, Nouveau: use bp_parse_args instead of wp_parse_args.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/includes/template-tags.php

    r12104 r12107  
    709709    $bp_nouveau = bp_nouveau();
    710710
    711     $n = wp_parse_args( $args, array(
    712         'type'                    => 'primary',
    713         'object'                  => '',
    714         'user_has_access'         => true,
    715         'show_for_displayed_user' => true,
    716     ) );
     711    $n = bp_parse_args(
     712        $args,
     713        array(
     714            'type'                    => 'primary',
     715            'object'                  => '',
     716            'user_has_access'         => true,
     717            'show_for_displayed_user' => true,
     718        ),
     719        'nouveau_has_nav'
     720    );
    717721
    718722    if ( empty( $n['type'] ) ) {
Note: See TracChangeset for help on using the changeset viewer.