Make WordPress Core


Ignore:
Timestamp:
09/24/2009 04:15:37 AM (15 years ago)
Author:
markjaquith
Message:

Active plugin filter, plugin deactivation array_splice() protection. props apeatling. fixes #10839

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r11943 r11966  
    553553}
    554554
    555 $current_plugins = get_option('active_plugins');
     555$current_plugins = apply_filters( 'active_plugins', get_option( 'active_plugins' ) );
    556556if ( is_array($current_plugins) && !defined('WP_INSTALLING') ) {
    557557    foreach ( $current_plugins as $plugin ) {
Note: See TracChangeset for help on using the changeset viewer.