Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/12/2021 08:43:39 PM (4 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-core/classes/class-bp-embed.php

    r12745 r13108  
    8181
    8282        $rawattr = $attr;
    83         $attr = wp_parse_args( $attr, wp_embed_defaults() );
     83        $attr    = bp_parse_args(
     84            $attr,
     85            wp_embed_defaults()
     86        );
    8487
    8588        // Use kses to convert & into & and we need to undo this
Note: See TracChangeset for help on using the changeset viewer.