Skip to:
Content

bbPress.org

Changeset 5500


Ignore:
Timestamp:
09/11/2014 02:35:00 PM (10 years ago)
Author:
johnjamesjacoby
Message:

Clean up core actions.php. Props netweb. See #2645.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/core/actions.php

    r5466 r5500  
    156156add_action( 'bbp_template_notices', 'bbp_notice_edit_user_is_super_admin', 2 );
    157157
    158 // Before Delete/Trash/Untrash Topic
     158// Before Delete/Trash/Untrash Forum
    159159add_action( 'wp_trash_post', 'bbp_trash_forum'   );
    160160add_action( 'trash_post',    'bbp_trash_forum'   );
     
    162162add_action( 'delete_post',   'bbp_delete_forum'  );
    163163
    164 // After Deleted/Trashed/Untrashed Topic
     164// After Deleted/Trashed/Untrashed Forum
    165165add_action( 'trashed_post',   'bbp_trashed_forum'   );
    166166add_action( 'untrashed_post', 'bbp_untrashed_forum' );
     
    268268add_action( 'bbp_delete_topic',  'bbp_delete_topic_replies'  );
    269269add_action( 'bbp_spam_topic',    'bbp_spam_topic_replies'    );
    270 add_action( 'bbp_unspam_topic', ' bbp_unspam_topic_replies'  );
     270add_action( 'bbp_unspam_topic',  'bbp_unspam_topic_replies'  );
    271271
    272272// User status
Note: See TracChangeset for help on using the changeset viewer.