Slightly nicer upgrade.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a63103125e
commit
baec4b25a7
|
@ -925,7 +925,7 @@ function upgrade_130() {
|
|||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue