Ticket #26494: 26494.diff
File 26494.diff, 815 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/plugins.php
375 375 else 376 376 $errmsg = __('Plugin could not be activated because it triggered a <strong>fatal error</strong>.'); 377 377 ?> 378 <div id="message" class=" updated"><p><?php echo $errmsg; ?></p>378 <div id="message" class="error"><p><?php echo $errmsg; ?></p> 379 379 <?php 380 380 if ( !isset( $_GET['main'] ) && !isset($_GET['charsout']) && wp_verify_nonce($_GET['_error_nonce'], 'plugin-activation-error_' . $plugin) ) { ?> 381 381 <iframe style="border:0" width="100%" height="70px" src="<?php echo 'plugins.php?action=error_scrape&plugin=' . esc_attr($plugin) . '&_wpnonce=' . esc_attr($_GET['_error_nonce']); ?>"></iframe>