Skip to:
Content

bbPress.org

Changeset 7817


Ignore:
Timestamp:
10/04/2026 05:06:28 PM (5 weeks ago)
Author:
johnjamesjacoby
Message:

Topics/Replies: Document unused count helpers.

Mark the insert count update helpers as deprecated in documentation. They remain callable for extensions, while count updates continue through post-status transitions.

In branches/2.6, for 2.6.20.

See #3695.

Location:
branches/2.6/src/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.6/src/includes/replies/functions.php

    r7808 r7817  
    9999 *
    100100 * @since 2.6.0 bbPress (r6036)
     101 * @deprecated 2.6.20 bbPress. Counts are updated on post-status transitions.
     102 *                    Retained for compatibility; unused internally since 2.6.16.
    101103 *
    102104 * @param int $reply_id The reply id.
  • branches/2.6/src/includes/topics/functions.php

    r7814 r7817  
    26022602 *
    26032603 * @since 2.6.0 bbPress (r6036)
     2604 * @deprecated 2.6.20 bbPress. Counts are updated on post-status transitions.
     2605 *                    Retained for compatibility; unused internally since 2.6.16.
    26042606 *
    26052607 * @param int $topic_id The topic id.
Note: See TracChangeset for help on using the changeset viewer.