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-tools.php

    r12622 r12668  
    423423    }
    424424
    425     $message = '<div id="message" class="' . esc_attr( $class ) . '">' . $message . '</div>';
     425    $message = '<div id="message" class="' . esc_attr( $class ) . ' notice is-dismissible">' . $message . '</div>';
    426426    $message = str_replace( "'", "\'", $message );
    427427    $lambda  = function() use ( $message ) { echo $message; };
Note: See TracChangeset for help on using the changeset viewer.