Changeset 6627
- Timestamp:
- 01/16/2008 04:46:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugins.php
r6626 r6627 17 17 if ( is_wp_error($valid) ) 18 18 wp_die($valid); 19 error_reporting( E_ALL ^ E_NOTICE ); 20 @ini_set('display_errors', true); //Ensure that Fatal errors are displayed. 19 21 include(ABSPATH . PLUGINDIR . '/' . $plugin); 20 22 } elseif ( 'deactivate' == $_GET['action'] ) { … … 46 48 <?php 47 49 $plugin = trim($_GET['plugin']); 48 if ( wp_verify_nonce($_GET['_error_nonce'], 'plugin-activation-error_' . $plugin) && 1 == strtolower(ini_get('display_errors'))) { ?>50 if ( wp_verify_nonce($_GET['_error_nonce'], 'plugin-activation-error_' . $plugin) ) { ?> 49 51 <iframe style="border:0" width="100%" height="70px" src="<?php bloginfo('wpurl'); ?>/wp-admin/plugins.php?action=error_scrape&plugin=<?php echo attribute_escape($plugin); ?>&_wpnonce=<?php echo attribute_escape($_GET['_error_nonce']); ?>"></iframe> 50 52 <?php
Note: See TracChangeset
for help on using the changeset viewer.