Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/25/2014 05:02:08 PM (10 years ago)
Author:
boonebgorges
Message:

Use stripslashes_deep() rather than wp_unslash() in bp-members-admin.php

The functions do the same thing, but wp_unslash() was not available prior to
WP 3.6.

See #5197

Props lenasterg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-admin.php

    r7937 r7990  
    225225
    226226        if ( ! empty( $_REQUEST['wp_http_referer'] ) ) {
    227             $query_args['wp_http_referer'] = urlencode( wp_unslash( $_REQUEST['wp_http_referer'] ) );
     227            $query_args['wp_http_referer'] = urlencode( stripslashes_deep( $_REQUEST['wp_http_referer'] ) );
    228228        }
    229229
Note: See TracChangeset for help on using the changeset viewer.