Skip to:
Content

BuddyPress.org

Opened 3 years ago

Closed 3 years ago

#8564 closed enhancement (fixed)

Update references from wp_parse_args to bp_parse_args

Reported by: espellcaste's profile espellcaste Owned by: espellcaste's profile espellcaste
Milestone: 10.0.0 Priority: normal
Severity: normal Version: 2.0
Component: Core Keywords:
Cc:

Description

As titled. Mainly for consistency. Review if certain bp_parse_args requires a filter key.

Attachments (1)

8564-1.diff (47.7 KB) - added by espellcaste 3 years ago.

Download all attachments as: .zip

Change History (4)

#1 @espellcaste
3 years ago

  • Summary changed from Update references to wp_parse_args to bp_parse_args to Update references from wp_parse_args to bp_parse_args

@espellcaste
3 years ago

#2 @imath
3 years ago

Patch looks good, I'd probably take this opportunity to do so some WPCS cleanup eg:

$r = bp_parse_args(
	$args,
	array(

instead of
$r = bp_parse_args( $args, array(

#3 @espellcaste
3 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 13108:

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

Note: See TracTickets for help on using tickets.