Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/28/2018 07:25:21 PM (9 years ago)
Author:
dcavins
Message:

Move Notices Admin from Nouveau to Messages component.

As part of Nouveau template development, a nice interface
for managing site-wide notifications was created. This commit
moves that interface into BuddyPress proper so it is available
for use with any template.

Props imath, hnla, djpaul, dcavins.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-messages/classes/class-bp-messages-component.php

    r11578 r11868  
    7373                if ( bp_is_active( $this->id, 'star' ) ) {
    7474                        $includes[] = 'star';
     75                }
     76                if ( is_admin() ) {
     77                        $includes[] = 'admin';
    7578                }
    7679
Note: See TracChangeset for help on using the changeset viewer.