- Timestamp:
- 04/24/2023 02:32:27 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/messages/loader.php
r13414 r13461 4 4 * 5 5 * @since 3.0.0 6 * @version 1 0.0.06 * @version 12.0.0 7 7 */ 8 8 … … 67 67 */ 68 68 protected function setup_actions() { 69 add_action( 'bp_init', 'bp_nouveau_register_messages_ajax_actions' ); 70 69 71 // Notices 70 72 add_action( 'widgets_init', 'bp_nouveau_unregister_notices_widget' ); 71 add_action( 'bp_init', 'bp_nouveau_push_sitewide_notices', 99 ); 73 74 $hook = 'bp_parse_query'; 75 if ( 'rewrites' !== bp_core_get_query_parser() ) { 76 $hook = 'bp_init'; 77 } 78 79 add_action( $hook, 'bp_nouveau_push_sitewide_notices', 99 ); 72 80 73 81 // Messages
Note: See TracChangeset
for help on using the changeset viewer.