Skip to:
Content

bbPress.org

Changeset 7816


Ignore:
Timestamp:
10/04/2026 05:05:50 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 trunk, for 2.7.

See #3695.

Location:
trunk/src/includes
Files:
2 edited

Legend:

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

    r7807 r7816  
    101101 *
    102102 * @since 2.6.0 bbPress (r6036)
     103 * @deprecated 2.6.20 bbPress. Counts are updated on post-status transitions.
     104 *                    Retained for compatibility; unused internally since 2.6.16.
    103105 *
    104106 * @param int $reply_id The reply id.
  • trunk/src/includes/topics/functions.php

    r7765 r7816  
    26332633 *
    26342634 * @since 2.6.0 bbPress (r6036)
     2635 * @deprecated 2.6.20 bbPress. Counts are updated on post-status transitions.
     2636 *                    Retained for compatibility; unused internally since 2.6.16.
    26352637 *
    26362638 * @param int $topic_id The topic id.
Note: See TracChangeset for help on using the changeset viewer.