Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/12/2021 08:43:39 PM (5 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-templates/bp-legacy/buddypress-functions.php

    r13005 r13108  
    701701        // Set up the cookies passed on this AJAX request. Store a local var to avoid conflicts.
    702702        if ( ! empty( $_POST['cookie'] ) ) {
    703                 $_BP_COOKIE = wp_parse_args( str_replace( '; ', '&', urldecode( $_POST['cookie'] ) ) );
     703                $_BP_COOKIE = bp_parse_args(
     704                        str_replace( '; ', '&', urldecode( $_POST['cookie'] ) )
     705                );
    704706        } else {
    705707                $_BP_COOKIE = &$_COOKIE;
Note: See TracChangeset for help on using the changeset viewer.