Skip to:
Content

bbPress.org


Ignore:
Timestamp:
08/08/2015 05:28:04 AM (10 years ago)
Author:
netweb
Message:

Replies: Clarify inline doc surrounding bbp_show_lead_topic() in bbp_get_reply_position()

This changest clarify's the docs on how bbp_show_lead_topic() affects a reply's menu order in a topics reply loop and determining the correct pagination of reply URL's.

Includes unit tests for bbp_reply_position() and bbp_get_reply_url()

Fixes #2845

File:
1 edited

Legend:

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

    r5829 r5894  
    18181818        }
    18191819
    1820         // Bump the position by one if the lead topic is in the replies loop
     1820        // Bump the position by one if the topic is included in the reply loop
    18211821        if ( ! bbp_show_lead_topic() ) {
    18221822            $reply_position++;
Note: See TracChangeset for help on using the changeset viewer.