Skip to:
Content

bbPress.org

#3652 closed enhancement (fixed)

"This topic is empty" shown when created by an anonymous user

Reported by: johnjamesjacoby's profile johnjamesjacoby Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: 2.7 Priority: normal
Severity: normal Version: 2.0
Component: Appearance - Theme Compatibility Keywords: commit
Cc:

Description

When anonymous posting is enabled and an anonymous user creates a new topic, the bbp_get_single_topic_description() function reports back an incorrect/unexpected string:

"This topic is empty."

Attachments (3)

3652.diff (963 bytes) - added by johnjamesjacoby 10 months ago.
Add missing condition where voice count is 0 but last-activity exists
jjj-2025-08-13-at-22-16-25-UTC@2x.png (82.5 KB) - added by johnjamesjacoby 10 months ago.
3652-2.diff (1.4 KB) - added by johnjamesjacoby 10 months ago.
Rev 2 - a bit cleaner, with more docs

Download all attachments as: .zip

Change History (4)

@johnjamesjacoby
10 months ago

Add missing condition where voice count is 0 but last-activity exists

@johnjamesjacoby
10 months ago

Rev 2 - a bit cleaner, with more docs

#1 @johnjamesjacoby
10 months ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 7349:

Topics - Template: Add missing output condition where voice count is 0 but last-activity exists.

This change fixes a bug where topics created by anonymous users would show the "This topic is empty" fallback text in the topic description, when the topic was obviously not empty.

In trunk, for 2.7.

Fixes #3652.

Note: See TracTickets for help on using tickets.