Skip to:
Content

bbPress.org

Ticket #2645: 2645.5.diff

File 2645.5.diff, 2.2 KB (added by netweb, 10 years ago)
  • src/includes/core/actions.php

     
    237237add_action( 'bbp_delete_topic', 'bbp_unstick_topic' );
    238238
    239239// Update topic branch
    240 add_action( 'bbp_trashed_topic',   'bbp_update_topic_walker' );
    241 add_action( 'bbp_untrashed_topic', 'bbp_update_topic_walker' );
    242 add_action( 'bbp_deleted_topic',   'bbp_update_topic_walker' );
    243 add_action( 'bbp_spammed_topic',   'bbp_update_topic_walker' );
    244 add_action( 'bbp_unspammed_topic', 'bbp_update_topic_walker' );
     240add_action( 'bbp_trashed_topic',    'bbp_update_topic_walker' );
     241add_action( 'bbp_untrashed_topic',  'bbp_update_topic_walker' );
     242add_action( 'bbp_deleted_topic',    'bbp_update_topic_walker' );
     243add_action( 'bbp_spammed_topic',    'bbp_update_topic_walker' );
     244add_action( 'bbp_unspammed_topic',  'bbp_update_topic_walker' );
     245add_action( 'bbp_approved_topic',   'bbp_update_topic_walker' );
     246add_action( 'bbp_unapproved_topic', 'bbp_update_topic_walker' );
    245247
    246248// Update reply branch
    247 add_action( 'bbp_trashed_reply',   'bbp_update_reply_walker' );
    248 add_action( 'bbp_untrashed_reply', 'bbp_update_reply_walker' );
    249 add_action( 'bbp_deleted_reply',   'bbp_update_reply_walker' );
    250 add_action( 'bbp_spammed_reply',   'bbp_update_reply_walker' );
    251 add_action( 'bbp_unspammed_reply', 'bbp_update_reply_walker' );
     249add_action( 'bbp_trashed_reply',    'bbp_update_reply_walker' );
     250add_action( 'bbp_untrashed_reply',  'bbp_update_reply_walker' );
     251add_action( 'bbp_deleted_reply',    'bbp_update_reply_walker' );
     252add_action( 'bbp_spammed_reply',    'bbp_update_reply_walker' );
     253add_action( 'bbp_unspammed_reply',  'bbp_update_reply_walker' );
     254add_action( 'bbp_approved_reply',   'bbp_update_reply_walker' );
     255add_action( 'bbp_unapproved_reply', 'bbp_update_reply_walker' );
    252256
    253257// Users topic & reply counts
    254258add_action( 'bbp_new_topic',     'bbp_increase_user_topic_count' );
     
    332336// Maybe convert the users password
    333337add_action( 'bbp_login_form_login', 'bbp_user_maybe_convert_pass' );
    334338
    335 add_action( 'bbp_activation', 'bbp_add_activation_redirect' );
    336  No newline at end of file
     339add_action( 'bbp_activation', 'bbp_add_activation_redirect' );