Skip to:
Content
Pages
Categories
Search
Top
Bottom

logic of assigning an id to a forum topic


  • haddlyapis
    Participant

    @haddlyapis

    Hi there,
    is there any logic to how the 5-digit id is assigned to a bbpress topic? Furthermore, is there any logic as to how the id of any sub-topics created within that topic are associated with the forum topic?
    thx
    Daniel

Viewing 2 replies - 1 through 2 (of 2 total)

  • Robin W
    Moderator

    @robin-w

    WordPress creates a unique sequential number for every post, page, custom post type (which bbpress has as forums, topics and replies), every revision of the above, and many other plugins also use this mechanism.

    so if a topic is created as 15623 it means there are 15622 pre-existing entries of the above in the database.

    replies to topics are associated by another entry in the database giving the post’s ‘parent’

    so numbers are entirely irrelevant in the scheme of bbpress.


    haddlyapis
    Participant

    @haddlyapis

    ok, thx for that explanation.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar