Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/12/2021 08:43:39 PM (3 years ago)
Author:
espellcaste
Message:

Update all references from wp_parse_args to bp_parse_args.

Also, add WPCS improvements to align bp_parse_args correctly.

Props imath
Fixes #8564

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/classes/class-bp-core-members-template.php

    r13105 r13108  
    174174            'xprofile_query'      => false,
    175175        );
    176         $r = wp_parse_args( $args, $defaults );
     176
     177        $r = bp_parse_args(
     178            $args,
     179            $defaults
     180        );
    177181
    178182        $this->pag_arg  = sanitize_key( $r['page_arg'] );
Note: See TracChangeset for help on using the changeset viewer.