Make WordPress Core


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

Remove fix_actve_plugins(). Props hakre. fixes #11750

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/update.php

    r12673 r12848  
    113113
    114114    $plugins = get_plugins();
    115     $active  = get_option( 'active_plugins' );
     115    $active  = get_option( 'active_plugins', array() );
    116116    $current = get_site_transient( 'update_plugins' );
    117117    if ( ! is_object($current) )
     
    148148    set_site_transient( 'update_plugins', $current );
    149149
    150     $to_send = (object)compact('plugins', 'active');
     150    $to_send = (object) compact('plugins', 'active');
    151151
    152152    $options = array(
Note: See TracChangeset for help on using the changeset viewer.