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-members/classes/class-bp-members-admin.php

    r12591 r12668  
    984984        if ( ! empty( $notice ) ) : ?>
    985985
    986             <div <?php if ( 'updated' === $notice['class'] ) : ?>id="message" <?php endif; ?>class="<?php echo esc_attr( $notice['class'] ); ?>">
     986            <div <?php if ( 'updated' === $notice['class'] ) : ?>id="message" <?php endif; ?>class="<?php echo esc_attr( $notice['class'] ); ?>  notice is-dismissible">
    987987
    988988                <p><?php echo esc_html( $notice['message'] ); ?></p>
     
    19871987            if ( 'updated' === $notice['class'] ) : ?>
    19881988
    1989                 <div id="message" class="<?php echo esc_attr( $notice['class'] ); ?>">
     1989                <div id="message" class="<?php echo esc_attr( $notice['class'] ); ?> notice is-dismissible">
    19901990
    19911991            <?php else: ?>
    19921992
    1993                 <div class="<?php echo esc_attr( $notice['class'] ); ?>">
     1993                <div class="<?php echo esc_attr( $notice['class'] ); ?> notice is-dismissible">
    19941994
    19951995            <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.