Changeset 3624 for branches/plugin/bbp-includes/bbp-topic-template.php
- Timestamp:
- 11/20/2011 09:39:16 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-topic-template.php
r3621 r3624 2620 2620 * - topic_id: Topic id 2621 2621 * @uses bbp_get_topic_id() To get the topic id 2622 * @uses bbp_is_single_topic() To check if we're viewing a single topic 2622 2623 * @uses bbp_is_topic_edit() To check if it is the topic edit page 2623 2624 * @uses bbp_is_topic_super_sticky() To check if the topic is a super sticky … … 2638 2639 extract( $r ); 2639 2640 2640 // Get current topic id2641 $topic_id = bbp_get_topic_id( $topic_id );2642 2643 2641 // Edit topic 2644 if ( bbp_is_topic_edit() ) { 2642 if ( bbp_is_single_topic() || bbp_is_topic_edit() ) { 2643 2644 // Get current topic id 2645 $topic_id = bbp_get_topic_id( $topic_id ); 2645 2646 2646 2647 // Post value is passed
Note: See TracChangeset
for help on using the changeset viewer.