Changeset 5841 for trunk/src/includes/forums/template.php
- Timestamp:
- 07/15/2015 06:18:28 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/forums/template.php
r5838 r5841 492 492 } elseif ( bbp_is_single_forum() || bbp_is_forum_edit() ) { 493 493 494 $forum_id = get_the_ID(); 494 // Get the forum ID 495 $forum_id = bbp_get_forum_id( get_the_ID() ); 495 496 496 497 // Forum exists 497 498 if ( ! empty( $forum_id ) ) { 498 $new_terms = bbp_get_forum_mod_names( $forum_id ); 499 500 // Define local variable(s) 501 } else { 502 $new_terms = ''; 499 $forum_mods = bbp_get_forum_mod_names( $forum_id ); 503 500 } 504 505 // Set the return value506 $forum_mods = ( ! empty( $new_terms ) ) ? implode( ', ', $new_terms ) : '';507 501 508 502 // No data
Note: See TracChangeset
for help on using the changeset viewer.