[buddypress-trac] [BuddyPress Trac] #6453: Triansient doesn't clear in bp_core_get_active_member_count

buddypress-trac noreply at wordpress.org
Mon May 25 01:25:21 UTC 2015


#6453: Triansient doesn't clear in bp_core_get_active_member_count
---------------------------------+-----------------------------
 Reporter:  timfield             |      Owner:
     Type:  defect (bug)         |     Status:  new
 Priority:  normal               |  Milestone:  Awaiting Review
Component:  Component - Members  |    Version:  2.2.3
 Severity:  normal               |   Keywords:
---------------------------------+-----------------------------
 {{{
   function bp_core_get_active_member_count() {
 }}}

 in buddypress/bp-members/bp-members-functions.php

 has the line

 {{{
    set_transient( 'bp_active_member_count', $count);
 }}}

 It should be ( or some other sensible time-out ) otherwise this become
 inaccurate over time.

 {{{
    set_transient( 'bp_active_member_count', $count, 1 * DAY_IN_SECONDS );
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6453>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list