Skip to:
Content

bbPress.org

Changeset 4897


Ignore:
Timestamp:
05/11/2013 06:11:14 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Delete the correct 'bbpress_users' cache group for subscriptions and favorites. See #2331.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/users/functions.php

    r4848 r4897  
    678678        update_user_option( $user_id, '_bbp_subscriptions', $subscriptions );
    679679
    680         wp_cache_delete( 'bbp_get_topic_subscribers_' . $topic_id, 'bbpress' );
     680        wp_cache_delete( 'bbp_get_topic_subscribers_' . $topic_id, 'bbpress_users' );
    681681    }
    682682
     
    722722        }
    723723
    724         wp_cache_delete( 'bbp_get_topic_subscribers_' . $topic_id, 'bbpress' );
     724        wp_cache_delete( 'bbp_get_topic_subscribers_' . $topic_id, 'bbpress_users' );
    725725    }
    726726
Note: See TracChangeset for help on using the changeset viewer.