WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugins.php

    r8500 r8218  
    166166require_once('admin-header.php');
    167167
    168 $invalid = validate_active_plugins();
    169 if( !empty($invalid) )
    170     foreach($invalid as $plugin_file => $error)
    171         echo '<div id="message" class="error"><p>' . sprintf(__('The plugin <code>%s</code> has been <strong>deactivated</strong> due to an error: %s'), wp_specialchars($plugin_file), $error->get_error_message()) . '</p></div>';
     168validate_active_plugins();
     169
    172170?>
    173171
Note: See TracChangeset for help on using the changeset viewer.