Changeset 4918
- Timestamp:
- 05/19/2013 05:01:10 AM (12 years ago)
- Location:
- trunk/includes/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/core/actions.php
r4826 r4918 75 75 * Attach various initialization actions to the init action. 76 76 * The load order helps to execute code at the correct time. 77 * v---Load order 78 */ 79 add_action( 'bbp_init', 'bbp_load_textdomain', 0 ); 80 add_action( 'bbp_init', 'bbp_register', 0 ); 81 add_action( 'bbp_init', 'bbp_add_rewrite_tags', 20 ); 82 add_action( 'bbp_init', 'bbp_ready', 999 ); 77 * v---Load order 78 */ 79 add_action( 'bbp_init', 'bbp_load_textdomain', 0 ); 80 add_action( 'bbp_init', 'bbp_register', 0 ); 81 add_action( 'bbp_init', 'bbp_add_rewrite_tags', 20 ); 82 add_action( 'bbp_init', 'bbp_add_rewrite_rules', 30 ); 83 add_action( 'bbp_init', 'bbp_add_permastructs', 40 ); 84 add_action( 'bbp_init', 'bbp_ready', 999 ); 83 85 84 86 /** -
trunk/includes/core/sub-actions.php
r4791 r4918 234 234 235 235 /** 236 * Add the bbPress-specific rewrite rules 237 * 238 * @since bbPress (r4918) 239 * @uses do_action() Calls 'bbp_add_rewrite_rules' 240 */ 241 function bbp_add_rewrite_rules() { 242 do_action( 'bbp_add_rewrite_rules' ); 243 } 244 245 /** 246 * Add the bbPress-specific permalink structures 247 * 248 * @since bbPress (r4918) 249 * @uses do_action() Calls 'bbp_add_permastructs' 250 */ 251 function bbp_add_permastructs() { 252 do_action( 'bbp_add_permastructs' ); 253 } 254 255 /** 236 256 * Add the bbPress-specific login forum action 237 257 * … … 406 426 * 407 427 * @since bbPress (r2688) 428 * @deprecated since bbPress (rxxxx) 408 429 * @param WP_Rewrite $wp_rewrite 409 430 * @uses do_action() Calls 'bbp_generate_rewrite_rules' with {@link WP_Rewrite}
Note: See TracChangeset
for help on using the changeset viewer.