[buddypress-trac] [BuddyPress] #2286: misplaced action call on forums/index.php theme?

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Apr 4 13:34:38 UTC 2010


#2286: misplaced action call on forums/index.php theme?
--------------------+-------------------------------------------------------
 Reporter:  nuprn1  |       Owner:       
     Type:  defect  |      Status:  new  
 Priority:  minor   |   Milestone:  1.2.4
Component:  Forums  |    Keywords:       
--------------------+-------------------------------------------------------
 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' ) ?>
 }}}

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2286>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list