Fix plugin version compare. Props mdawaffe. fixes #5978

git-svn-id: http://svn.automattic.com/wordpress/trunk@7076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-02-27 23:43:22 +00:00
parent 363ddd3b4f
commit efd7c23c87

View File

@ -62,7 +62,7 @@ function wp_update_plugins() {
continue;
}
if ( $current->checked[ $file ] != $p['Version'] )
if ( strval($current->checked[ $file ]) !== strval($p['Version']) )
$plugin_changed = true;
}