Skip to:
Content

bbPress.org

Opened 16 years ago

Closed 16 years ago

#1415 closed defect (bug) (fixed)

Introduce bbp_get_forum, _topic, _reply

Reported by: GautamGupta Owned by:
Priority: high Milestone: 2.0
Component: Back-end Version:
Severity: critical Keywords:
Cc:

Description

We should not only just use get_post, we should also check if the post type is the one for which the function is called (forum, topic, reply), otherwise return false.

Change History (1)

#1 @johnjamesjacoby
16 years ago

  • Resolution → fixed
  • Status new → closed

(In [2787]) Introduce _get_ functions for forums, topics, and replies. Fixes #1415. Props GautamGupta via Google Code-in

Note: See TracTickets for help on using tickets.