[buddypress-trac] [BuddyPress Trac] #6012: Cache: Invalid usage of `! $count`

buddypress-trac noreply at wordpress.org
Sat Nov 29 01:05:50 UTC 2014


#6012: Cache: Invalid usage of `! $count`
------------------------------+------------------
 Reporter:  r-a-y             |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  2.2
Component:  All Components    |     Version:  1.2
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by boonebgorges):

 [attachment:6012.unit-tests.2.patch] adds a test for the members function.
 Since the main purpose of the test is to check whether we're respecting
 the cached value, we can just force that value, even if it's not accurate.
 Could also do the same for the other tests, but it doesn't matter too much
 (those tests effectively just cast a slightly broader net). Feel free to
 change the group names to be consistent.

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


More information about the buddypress-trac mailing list