Changeset 7430 for trunk/bp-templates/bp-legacy/buddypress-functions.php
- Timestamp:
- 10/15/2013 06:28:53 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-templates/bp-legacy/buddypress-functions.php
r7347 r7430 122 122 /** Notices ***********************************************************/ 123 123 124 if ( bp_is_active( 'messages' ) ) { 124 // Only hook the 'sitewide_notices' overlay if the Sitewide 125 // Notices widget is not in use (to avoid duplicate content). 126 if ( bp_is_active( 'messages' ) && ! is_active_widget( false, false, 'bp_messages_sitewide_notices_widget', true ) ) { 125 127 add_action( 'wp_footer', array( $this, 'sitewide_notices' ), 9999 ); 126 128 }
Note: See TracChangeset
for help on using the changeset viewer.