Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/19/2013 05:01:10 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Add sub-actions for rewrite rules and permastructs. See #2336.

File:
1 edited

Legend:

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

    r4826 r4918  
    7575 * Attach various initialization actions to the init action.
    7676 * 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 */
     79add_action( 'bbp_init', 'bbp_load_textdomain',   0   );
     80add_action( 'bbp_init', 'bbp_register',          0   );
     81add_action( 'bbp_init', 'bbp_add_rewrite_tags',  20  );
     82add_action( 'bbp_init', 'bbp_add_rewrite_rules', 30  );
     83add_action( 'bbp_init', 'bbp_add_permastructs',  40  );
     84add_action( 'bbp_init', 'bbp_ready',             999 );
    8385
    8486/**
Note: See TracChangeset for help on using the changeset viewer.