[buddypress-trac] [BuddyPress Trac] #6193: Displaying member types within members loop fails

buddypress-trac noreply at wordpress.org
Sat Feb 7 20:32:01 UTC 2015


#6193: Displaying member types within members loop fails
---------------------------------+--------------------
 Reporter:  imath                |       Owner:
     Type:  defect (bug)         |      Status:  new
 Priority:  normal               |   Milestone:  2.2.1
Component:  Component - Members  |     Version:  2.2
 Severity:  normal               |  Resolution:
 Keywords:  has-patch            |
---------------------------------+--------------------

Comment (by boonebgorges):

 Thanks, imath. Just to clarify a bit for posterity's sake: The 2.2
 implementation of member type caches was meant to store arrays of member
 types; see `bp_get_member_type()` for an example. However, the `prefetch`
 function (and its unit test) was mistakenly written to cache string
 values.

 I'm going to rewrite the logic here to be just a little bit less opaque,
 and fix it in trunk and on the branch.

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


More information about the buddypress-trac mailing list