Opened 16 years ago
Closed 16 years ago
#2286 closed defect (bug) (fixed)
misplaced action call on forums/index.php theme?
| Reported by: | nuprn1 | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.5 |
| Component: | Forums | Version: | |
| Severity: | Keywords: | ||
| Cc: |
Description
currently index.php theme file is setup as
<div id="forums-dir-list" class="forums dir-list"> <?php locate_template( array( 'forums/forums-loop.php' ), true ) ?> </div> <?php do_action( 'bp_directory_forums_content' ) ?> <?php wp_nonce_field( 'directory_forums', '_wpnonce-forums-filter' ) ?> <?php do_action( 'bp_after_directory_forums_content' ) ?>
does it need to be, where do_action( 'bp_directory_forums_content' ) is above the forums-loop call?
<?php do_action( 'bp_directory_forums_content' ) ?> <div id="forums-dir-list" class="forums dir-list"> <?php locate_template( array( 'forums/forums-loop.php' ), true ) ?> </div> <?php wp_nonce_field( 'directory_forums', '_wpnonce-forums-filter' ) ?> <?php do_action( 'bp_after_directory_forums_content' ) ?>
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Right now it works like this in all of the directory components, with the _content action called after the loop.