Skip to:
Content

bbPress.org


Ignore:
Timestamp:
07/15/2015 09:12:51 PM (10 years ago)
Author:
johnjamesjacoby
Message:

IDs: Some reply functions still default to their topics if no replies are present. This functionality has slowly been removed over time and built into respective functions. In this changeset, we remove those leftover assignments and update a few phpdoc descriptions as needed.

Hat-tip netweb. See #2806.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/forums/template.php

    r5841 r5842  
    10901090        $reply_id = get_post_meta( $forum_id, '_bbp_last_reply_id', true );
    10911091
    1092         if ( empty( $reply_id ) ) {
    1093             $reply_id = bbp_get_forum_last_topic_id( $forum_id );
    1094         }
    1095 
    10961092        return (int) apply_filters( 'bbp_get_forum_last_reply_id', (int) $reply_id, $forum_id );
    10971093    }
Note: See TracChangeset for help on using the changeset viewer.