Skip to:
Content

BuddyPress.org

Ticket #8315: 8315.patch

File 8315.patch, 2.1 KB (added by immeet94, 4 years ago)
  • src/bp-activity/bp-activity-admin.php

     
    11711171
    11721172                <?php // If the user has just made a change to an activity item, display the status messages. ?>
    11731173                <?php if ( !empty( $messages ) ) : ?>
    1174                         <div id="moderated" class="<?php echo ( ! empty( $_REQUEST['error'] ) ) ? 'error' : 'updated'; ?>"><p><?php echo implode( "<br/>\n", $messages ); ?></p></div>
     1174                        <div id="moderated" class="<?php echo ( ! empty( $_REQUEST['error'] ) ) ? 'error' : 'updated'; ?> notice is-dismissible"><p><?php echo implode( "<br/>\n", $messages ); ?></p></div>
    11751175                <?php endif; ?>
    11761176
    11771177                <?php // Display each activity on its own row. ?>
  • src/bp-groups/bp-groups-admin.php

     
    606606
    607607                <?php // If the user has just made a change to an group, display the status messages. ?>
    608608                <?php if ( !empty( $messages ) ) : ?>
    609                         <div id="moderated" class="<?php echo ( $is_error ) ? 'error' : 'updated'; ?>"><p><?php echo implode( "</p><p>", $messages ); ?></p></div>
     609                        <div id="moderated" class="<?php echo ( $is_error ) ? 'error' : 'updated'; ?> notice is-dismissible"><p><?php echo implode( "</p><p>", $messages ); ?></p></div>
    610610                <?php endif; ?>
    611611
    612612                <?php if ( $group->id ) : ?>
     
    801801
    802802                <?php // If the user has just made a change to an group, display the status messages. ?>
    803803                <?php if ( !empty( $messages ) ) : ?>
    804                         <div id="moderated" class="<?php echo ( ! empty( $_REQUEST['error'] ) ) ? 'error' : 'updated'; ?>"><p><?php echo implode( "<br/>\n", $messages ); ?></p></div>
     804                        <div id="moderated" class="<?php echo ( ! empty( $_REQUEST['error'] ) ) ? 'error' : 'updated'; ?> notice is-dismissible"><p><?php echo implode( "<br/>\n", $messages ); ?></p></div>
    805805                <?php endif; ?>
    806806
    807807                <?php // Display each group on its own row. ?>