Make WordPress Core


Ignore:
Timestamp:
08/10/2004 07:24:31 PM (21 years ago)
Author:
saxmatt
Message:

Slightly nicer upgrade.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/upgrade-functions.php

    r1522 r1529  
    926926
    927927    if ( !is_array( get_settings('active_plugins') ) ) {
    928         $plugins = explode("\n", get_settings('active_plugins') );
     928        $plugins = explode("\n", trim(get_settings('active_plugins')) );
    929929        update_option('active_plugins', $plugins);
    930930    }
Note: See TracChangeset for help on using the changeset viewer.