Skip to:
Content

bbPress.org

Opened 7 years ago

Last modified 6 years ago

#2931 new defect (bug)

Various conditional tags returning `true` when they should be `false` — at Version 2

Reported by: netweb's profile netweb Owned by:
Milestone: 2.7 Priority: normal
Severity: normal Version: 2.0
Component: General - Performance Keywords: has-patch 2nd-opinion
Cc:

Description (last modified by netweb)

Each of the cases below return true and should not:

Forum root: http://src.wordpress-develop.dev/forums/

  • bbp_is_forum_open()
  • bbp_is_forum_public()
  • bbp_is_reply_anonymous()
  • bbp_is_topic_anonymous()
  • bbp_is_reply_published()
  • bbp_is_topic_published()

Single Forum: http://src.wordpress-develop.dev/forums/forum/bbp-public-forum/

  • bbp_is_reply_published()
  • bbp_is_topic_published()

BuddyPress Group Single Forum: http://src.wordpress-develop.dev/groups/bp-public-group/forum/

  • bbp_is_reply_anonymous()
  • bbp_is_topic_anonymous()
  • bbp_is_reply_published()
  • bbp_is_topic_published()

BuddyPress Group Single Topic: http://src.wordpress-develop.dev/groups/bp-public-group/forum/topic/test-topic/

  • bbp_is_reply_anonymous()
  • bbp_is_reply_published()
  • bbp_is_topic_published()

Single Topic: http://src.wordpress-develop.dev/forums/topic/bbp-public-topic/

  • bbp_is_reply_published()

Fun Fact: My entire dev site doesn't have any replies whatsoever

Change History (2)

#1 @netweb
7 years ago

  • Description modified (diff)
  • Summary changed from `bbp_is_reply_published()` returns `true` on topics without any replies to `bbp_is_reply_published()` returns `true` on forums and topics without any replies

#2 @netweb
7 years ago

  • Description modified (diff)
  • Summary changed from `bbp_is_reply_published()` returns `true` on forums and topics without any replies to Various conditional tags returning `true` when they should be `false`
Note: See TracTickets for help on using tickets.