Skip to:
Content

bbPress.org

Ticket #3653: 3653.01.diff

File 3653.01.diff, 677 bytes (added by emaralive, 6 months ago)

Initial patch

  • src/includes/core/actions.php

     
    143143add_action( 'bbp_ready',  'bbp_setup_akismet',    2  ); // Spam prevention for topics and replies
    144144
    145145// Setup BuddyPress using its own hook
    146 add_action( 'bp_include', 'bbp_setup_buddypress', 10 ); // Social network integration
     146add_action( 'init', 'bbp_setup_buddypress', 10 ); // Social network integration
    147147
    148148// Try to load the bbpress-functions.php file from the active themes
    149149add_action( 'bbp_after_setup_theme', 'bbp_load_theme_functions', 10 );