[buddypress-trac] [BuddyPress Trac] #5550: members loop query bug with the bp_use_legacy_user_query filter

buddypress-trac noreply at wordpress.org
Wed Apr 16 18:36:02 UTC 2014


#5550: members loop query bug with the bp_use_legacy_user_query filter
--------------------------+------------------------------
 Reporter:  DJPaul        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Members       |     Version:  1.9.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by DJPaul):

 Best way to recreate this is by adding the following to a `mu-plugins`
 helper, and then visiting the members directory:


 {{{
 <?php
 add_filter( 'bp_use_legacy_user_query', '__return_true' );
 add_filter( 'deprecated_function_trigger_error', '__return_false' );

 add_filter( 'bp_ajax_querystring', function( $retval ) {
         return 'type=alphabetical';
 }, 1000 );
 }}}

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


More information about the buddypress-trac mailing list