Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/16/2020 05:02:44 AM (4 years ago)
Author:
imath
Message:

Administration: make all remaining admin notices dismissible

props immeet94

Fixes #8315

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/admin/bp-core-admin-functions.php

    r12538 r12668  
    152152    foreach ( $notice_types as $type ) {
    153153        $notices = wp_list_filter( buddypress()->admin->notices, array( 'type' => $type ) );
    154         printf( '<div id="message" class="fade %s">', sanitize_html_class( $type ) );
     154        printf( '<div id="message" class="fade %s notice is-dismissible">', sanitize_html_class( $type ) );
    155155
    156156        foreach ( $notices as $notice ) {
Note: See TracChangeset for help on using the changeset viewer.