Ticket #2414: 2414.diff
| File 2414.diff, 494 bytes (added by , 10 years ago) |
|---|
-
includes/forums/functions.php
diff --git includes/forums/functions.php includes/forums/functions.php index 050791d..6b713b5 100644
function bbp_forum_query_last_reply_id( $forum_id, $topic_ids = 0 ) { 1931 1931 global $wpdb; 1932 1932 1933 1933 $cache_id = 'bbp_get_forum_' . $forum_id . '_reply_id'; 1934 $reply_id = (int)wp_cache_get( $cache_id, 'bbpress_posts' );1934 $reply_id = wp_cache_get( $cache_id, 'bbpress_posts' ); 1935 1935 1936 1936 if ( false === $reply_id ) { 1937 1937