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-xprofile/classes/class-bp-xprofile-field-type.php

    r12697 r13108  
    530530    protected function get_edit_field_html_elements( array $properties = array() ) {
    531531
    532         $r = bp_parse_args( $properties, array(
    533             'id'   => bp_get_the_profile_field_input_name(),
    534             'name' => bp_get_the_profile_field_input_name(),
    535         ) );
     532        $r = bp_parse_args(
     533            $properties,
     534            array(
     535                'id'   => bp_get_the_profile_field_input_name(),
     536                'name' => bp_get_the_profile_field_input_name(),
     537            )
     538        );
    536539
    537540        if ( bp_get_the_profile_field_is_required() ) {
Note: See TracChangeset for help on using the changeset viewer.