Changeset 4303
- Timestamp:
- 11/02/2012 07:28:43 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/core/actions.php
r4276 r4303 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_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', 10 ); 52 add_action( 'login_form_login', 'bbp_login_form_login', 10 ); 53 add_action( 'edit_user_profile_update', 'bbp_edit_user_profile_update', 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', 10 ); 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 ); 54 55 55 56 /** … … 77 78 */ 78 79 add_action( 'bbp_init', 'bbp_register', 0 ); 80 add_action( 'bbp_init', 'bbp_add_forums_roles', 1 ); 79 81 add_action( 'bbp_init', 'bbp_add_rewrite_tags', 20 ); 80 82 add_action( 'bbp_init', 'bbp_ready', 999 ); … … 224 226 225 227 // User capabilities 226 add_action( 'bbp_ edit_user_profile_update', 'bbp_edit_user_profile_update_capabilities' );228 add_action( 'bbp_profile_update', 'bbp_profile_update_capabilities' ); 227 229 228 230 // Hook WordPress admin actions to bbPress profiles on save
Note: See TracChangeset
for help on using the changeset viewer.