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-friends/classes/class-bp-core-friends-widget.php

    r13105 r13108  
    185185        );
    186186
    187         $instance       = wp_parse_args( (array) $instance, $defaults );
     187        $instance = bp_parse_args(
     188            (array) $instance,
     189            $defaults
     190        );
     191
    188192        $max_friends    = $instance['max_friends'];
    189193        $friend_default = $instance['friend_default'];
Note: See TracChangeset for help on using the changeset viewer.