Changeset 13452
- Timestamp:
- 02/27/2010 07:24:41 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugins.php
r13311 r13452 156 156 157 157 @ini_set('display_errors', true); //Ensure that Fatal errors are displayed. 158 include(WP_PLUGIN_DIR . '/' . $plugin); 158 // Go back to "sandbox" scope so we get the same errors as before 159 function plugin_sandbox_scrape( $plugin ) { 160 include( WP_PLUGIN_DIR . '/' . $plugin ); 161 } 162 plugin_sandbox_scrape( $plugin ); 159 163 do_action('activate_' . $plugin); 160 164 exit;
Note: See TracChangeset
for help on using the changeset viewer.