Changeset 5156 for trunk/includes/core/actions.php
- Timestamp:
- 11/20/2013 07:50:55 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/includes/core/actions.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/core/actions.php
r4999 r5156 38 38 * v--WordPress Actions v--bbPress Sub-actions 39 39 */ 40 add_action( 'plugins_loaded', 'bbp_loaded', 10 );41 add_action( 'init', 'bbp_init', 0 ); // Early for bbp_register42 add_action( 'parse_query', 'bbp_parse_query', 2 ); // Early for overrides43 add_action( 'widgets_init', 'bbp_widgets_init', 10 );44 add_action( 'generate_rewrite_rules', 'bbp_generate_rewrite_rules', 10 );45 add_action( 'wp_enqueue_scripts', 'bbp_enqueue_scripts', 10 );46 add_action( 'wp_head', 'bbp_head', 10 );47 add_action( 'wp_footer', 'bbp_footer', 10 );48 add_action( 'set_current_user', 'bbp_setup_current_user', 10 );49 add_action( 'setup_theme', 'bbp_setup_theme', 10 );50 add_action( 'after_setup_theme', 'bbp_after_setup_theme', 10 );51 add_action( 'template_redirect', 'bbp_template_redirect', 8 ); // Before BuddyPress's 10 [BB2225]52 add_action( 'login_form_login', 'bbp_login_form_login', 10 );53 add_action( 'profile_update', 'bbp_profile_update', 10, 2 ); // user_id and old_user_data54 add_action( 'user_register', 'bbp_user_register', 10 );40 add_action( 'plugins_loaded', 'bbp_loaded', 10 ); 41 add_action( 'init', 'bbp_init', 0 ); // Early for bbp_register 42 add_action( 'parse_query', 'bbp_parse_query', 2 ); // Early for overrides 43 add_action( 'widgets_init', 'bbp_widgets_init', 10 ); 44 add_action( 'generate_rewrite_rules', 'bbp_generate_rewrite_rules', 10 ); 45 add_action( 'wp_enqueue_scripts', 'bbp_enqueue_scripts', 10 ); 46 add_action( 'wp_head', 'bbp_head', 10 ); 47 add_action( 'wp_footer', 'bbp_footer', 10 ); 48 add_action( 'set_current_user', 'bbp_setup_current_user', 10 ); 49 add_action( 'setup_theme', 'bbp_setup_theme', 10 ); 50 add_action( 'after_setup_theme', 'bbp_after_setup_theme', 10 ); 51 add_action( 'template_redirect', 'bbp_template_redirect', 8 ); // Before BuddyPress's 10 [BB2225] 52 add_action( 'login_form_login', 'bbp_login_form_login', 10 ); 53 add_action( 'profile_update', 'bbp_profile_update', 10, 2 ); // user_id and old_user_data 54 add_action( 'user_register', 'bbp_user_register', 10 ); 55 55 56 56 /** … … 119 119 120 120 // Autoembeds 121 add_action( 'bbp_init', 'bbp_reply_content_autoembed', 8 );122 add_action( 'bbp_init', 'bbp_topic_content_autoembed', 8 );121 add_action( 'bbp_init', 'bbp_reply_content_autoembed', 8 ); 122 add_action( 'bbp_init', 'bbp_topic_content_autoembed', 8 ); 123 123 124 124 /** … … 225 225 add_action( 'bbp_trash_topic', 'bbp_remove_topic_from_all_subscriptions' ); 226 226 add_action( 'bbp_delete_topic', 'bbp_remove_topic_from_all_subscriptions' ); 227 add_action( 'bbp_trash_forum', 'bbp_remove_forum_from_all_subscriptions' ); 228 add_action( 'bbp_delete_forum', 'bbp_remove_forum_from_all_subscriptions' ); 227 229 add_action( 'bbp_new_reply', 'bbp_notify_subscribers', 11, 5 ); 230 add_action( 'bbp_new_topic', 'bbp_notify_forum_subscribers', 11, 4 ); 228 231 229 232 // Sticky … … 298 301 299 302 // Theme-side GET requests 300 add_action( 'bbp_get_request', 'bbp_toggle_topic_handler', 1 ); 301 add_action( 'bbp_get_request', 'bbp_toggle_reply_handler', 1 ); 302 add_action( 'bbp_get_request', 'bbp_favorites_handler', 1 ); 303 add_action( 'bbp_get_request', 'bbp_subscriptions_handler', 1 ); 304 add_action( 'bbp_get_request', 'bbp_search_results_redirect', 10 ); 303 add_action( 'bbp_get_request', 'bbp_toggle_topic_handler', 1 ); 304 add_action( 'bbp_get_request', 'bbp_toggle_reply_handler', 1 ); 305 add_action( 'bbp_get_request', 'bbp_favorites_handler', 1 ); 306 add_action( 'bbp_get_request', 'bbp_subscriptions_handler', 1 ); 307 add_action( 'bbp_get_request', 'bbp_forum_subscriptions_handler', 1 ); 308 add_action( 'bbp_get_request', 'bbp_search_results_redirect', 10 ); 305 309 306 310 // Maybe convert the users password
Note: See TracChangeset
for help on using the changeset viewer.