Code style cleanups

git-svn-id: http://svn.automattic.com/wordpress/trunk@12899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-01-29 18:53:32 +00:00
parent 7cf294e0e1
commit 4e9de8d231
1 changed files with 11 additions and 12 deletions

View File

@ -212,10 +212,9 @@ function wp_update_themes( ) {
$themes[$theme['Stylesheet']] = array();
$checked[$theme['Stylesheet']] = $theme['Version'];
foreach( (array) $theme as $key => $value ) {
foreach ( (array) $theme as $key => $value )
$themes[$theme['Stylesheet']][$key] = $value;
}
}
$theme_changed = false;
foreach ( $checked as $slug => $v ) {