[buddypress-trac] [BuddyPress Trac] #7093: Group Members search broken on non-ajax sites as it's providing 'members_search' on $_REQUEST but system looks for 's'

buddypress-trac noreply at wordpress.org
Thu May 26 21:47:38 UTC 2016


#7093: Group Members search broken on non-ajax sites as it's providing
'members_search' on $_REQUEST but system looks for 's'
---------------------------------+------------------------------
 Reporter:  garrett-eclipse      |       Owner:
     Type:  defect (bug)         |      Status:  new
 Priority:  normal               |   Milestone:  Awaiting Review
Component:  Component - Members  |     Version:  2.5.0
 Severity:  normal               |  Resolution:
 Keywords:                       |
---------------------------------+------------------------------

Comment (by garrett-eclipse):

 This seems to only affect group members and not general members as the
 search query arg there is set as follows;
 {{{#!php
 <?php
     $search_terms_default = null;
     $search_query_arg = bp_core_get_component_search_query_arg( 'members'
 );
     if ( ! empty( $_REQUEST[ $search_query_arg ] ) ) {
         $search_terms_default = stripslashes( $_REQUEST[ $search_query_arg
 ] );
     }
 }}}

 So can safely focus on Members loops that are contained within Groups such
 as the Group Members loop and the Admin Group Members loop.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7093#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list