Skip to:
Content

bbPress.org

Changeset 5392


Ignore:
Timestamp:
06/12/2014 05:52:50 PM (10 years ago)
Author:
johnjamesjacoby
Message:

Force integer value in bbp_has_topics() for reply position. Fixes bug when there are more than 1,000 replies. Props DrPepper75. Fixes #2615.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/replies/functions.php

    r5391 r5392  
    354354        'post_type'      => bbp_get_reply_post_type(),
    355355        'comment_status' => 'closed',
    356         'menu_order'     => bbp_get_topic_reply_count( $topic_id, false ) + 1
     356        'menu_order'     => bbp_get_topic_reply_count( $topic_id, true ) + 1
    357357    ) );
    358358
Note: See TracChangeset for help on using the changeset viewer.