Slightly nicer upgrade.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-08-10 19:24:31 +00:00
parent a63103125e
commit baec4b25a7
1 changed files with 1 additions and 1 deletions

View File

@ -925,7 +925,7 @@ function upgrade_130() {
} }
if ( !is_array( get_settings('active_plugins') ) ) { if ( !is_array( get_settings('active_plugins') ) ) {
$plugins = explode("\n", get_settings('active_plugins') ); $plugins = explode("\n", trim(get_settings('active_plugins')) );
update_option('active_plugins', $plugins); update_option('active_plugins', $plugins);
} }
} }