Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/25/2014 10:01:45 PM (11 years ago)
Author:
imath
Message:

On members directory, make sure search terms containing spaces are well transported in pagination links.

When a profile field output containing spaces was clicked, the member search functionality wasn't creating consistent pagination links. This behavior was introduced by r8928. Patch is fixing the issue and also includes a unit test.

props boonebgorges

Fixes #5898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/bp-members-template.php

    r8998 r9045  
    276276
    277277            if ( ! empty( $search_terms ) ) {
    278                 $pag_args['s'] = $search_terms;
     278                $pag_args['s'] = urlencode( $search_terms );
    279279            }
    280280
Note: See TracChangeset for help on using the changeset viewer.