Skip to:
Content

bbPress.org

Ticket #2414: 2414.diff

File 2414.diff, 494 bytes (added by boonebgorges, 6 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 ) { 
    19311931        global $wpdb;
    19321932
    19331933        $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' );
    19351935
    19361936        if ( false === $reply_id ) {
    19371937