Make WordPress Core


Ignore:
Timestamp:
01/26/2010 06:39:12 PM (16 years ago)
Author:
ryan
Message:

Remove fix_actve_plugins(). Props hakre. fixes #11750

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugin-editor.php

    r12546 r12848  
    209209        <?php endif; ?>
    210210<?php if ( is_writeable($real_file) ) : ?>
    211     <?php if ( in_array($file, (array) get_option('active_plugins')) ) { ?>
     211    <?php if ( in_array( $file, (array) get_option( 'active_plugins', array() ) ) ) { ?>
    212212        <p><?php _e('<strong>Warning:</strong> Making changes to active plugins is not recommended.  If your changes cause a fatal error, the plugin will be automatically deactivated.'); ?></p>
    213213    <?php } ?>
Note: See TracChangeset for help on using the changeset viewer.