Make WordPress Core

Ticket #26494: 26494.diff

File 26494.diff, 815 bytes (added by dd32, 11 years ago)
  • src/wp-admin/plugins.php

     
    375375        else
    376376                $errmsg = __('Plugin could not be activated because it triggered a <strong>fatal error</strong>.');
    377377        ?>
    378         <div id="message" class="updated"><p><?php echo $errmsg; ?></p>
     378        <div id="message" class="error"><p><?php echo $errmsg; ?></p>
    379379        <?php
    380380                if ( !isset( $_GET['main'] ) && !isset($_GET['charsout']) && wp_verify_nonce($_GET['_error_nonce'], 'plugin-activation-error_' . $plugin) ) { ?>
    381381        <iframe style="border:0" width="100%" height="70px" src="<?php echo 'plugins.php?action=error_scrape&amp;plugin=' . esc_attr($plugin) . '&amp;_wpnonce=' . esc_attr($_GET['_error_nonce']); ?>"></iframe>