[buddypress-trac] [BuddyPress Trac] #6889: Remove usage of deprecated BP_Core_User::get_users()

buddypress-trac noreply at wordpress.org
Tue Nov 29 07:25:56 UTC 2016


#6889: Remove usage of deprecated BP_Core_User::get_users()
-------------------------------------------------+-------------------------
 Reporter:  tw2113                               |       Owner:  tw2113
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:  2.8
Component:  Friends                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-patch needs-      |
  unit-tests                                     |
-------------------------------------------------+-------------------------

Comment (by tw2113):

 Note to self:

 Add tests to following functions:

 1. friends_get_recently_active
 2. friends_get_alphabetically
 3. friends_get_newest

 1. Need to set 3 users, make 2 of them friends with the 3rd, current user.
 Mark first two of them as recently active. Confirm return value of other
 2.

 2. Need to set 3 users, make 2 of them friends with the third, current
 user. Set users first/last names. Confirm they are alphabetical.

 3. Need to set 3 users, make 2 of them friends with the third, current
 user. Confirm that returned value is the most recently added friend.

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


More information about the buddypress-trac mailing list