[Bb-trac] [bbPress] #704: get_forum_name returns wrong forum name if
sub-forums listed on same page
bbPress
bb-trac at lists.bbpress.org
Sun Jul 22 17:05:44 GMT 2007
#704: get_forum_name returns wrong forum name if sub-forums listed on same page
----------------------+-----------------------------------------------------
Reporter: _ck_ | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 0.8.3 & XML-RPC
Component: Back-end | Version: 0.8.2.1
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
get_forum_name() will return the name of the last sub-forum shown on a
page, instead of the current forum being displayed when used outside
(below) the loop on a template (ie. forum.php)
To get the correct result I had to use get_forum_name($forum_id)but that
should not be necessary in theory, after the loop the internal counter
should be reset back to the current forum?
--
Ticket URL: <http://trac.bbpress.org/ticket/704>
bbPress <http://bbpress.org/>
Innovative forum development
More information about the Bb-trac
mailing list