Skip to:
Content

BuddyPress.org

Ticket #990: fix-inconsistent-groups-members-directories-hooks.2.patch

File fix-inconsistent-groups-members-directories-hooks.2.patch, 1.5 KB (added by junsuijin, 15 years ago)

fixes wp_nonce and misplaced members content hook

  • bp-themes/bp-sn-framework/directories/groups/index.php

     
    133133
    134134        </div>
    135135
     136        <?php do_action( 'bp_after_directory_groups_sidebar' ) ?>
     137
    136138<?php get_footer() ?>
     139 No newline at end of file
  • bp-themes/bp-sn-framework/directories/members/index.php

     
    4545                                                <?php locate_template( array( 'directories/members/members-loop.php' ), true ) ?>
    4646                                        </div>
    4747
    48                                         <?php do_action( 'bp_directory_members_content' ) ?>
    4948                                </div>
    50                
     49
     50                                <?php do_action( 'bp_directory_members_content' ) ?>
     51
     52                                <?php wp_nonce_field( 'directory_members', '_wpnonce-member-filter' ) ?>
     53
    5154                        </form>
    5255       
    5356                </div>
     
    5962
    6063        <div id="sidebar" class="directory-sidebar">
    6164
     65        <?php do_action( 'bp_before_directory_members_search' ) ?>
     66
    6267                <div id="members-directory-search" class="directory-widget">
    6368                        <h3><?php _e( 'Find Members', 'buddypress' ) ?></h3>
    6469
     
    115120
    116121        </div>
    117122
     123        <?php do_action( 'bp_after_directory_members_sidebar' ) ?>
     124
    118125<?php get_footer() ?>
     126 No newline at end of file