mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
Code style cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@12899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7cf294e0e1
commit
4e9de8d231
@ -212,10 +212,9 @@ function wp_update_themes( ) {
|
|||||||
$themes[$theme['Stylesheet']] = array();
|
$themes[$theme['Stylesheet']] = array();
|
||||||
$checked[$theme['Stylesheet']] = $theme['Version'];
|
$checked[$theme['Stylesheet']] = $theme['Version'];
|
||||||
|
|
||||||
foreach( (array) $theme as $key => $value ) {
|
foreach ( (array) $theme as $key => $value )
|
||||||
$themes[$theme['Stylesheet']][$key] = $value;
|
$themes[$theme['Stylesheet']][$key] = $value;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
$theme_changed = false;
|
$theme_changed = false;
|
||||||
foreach ( $checked as $slug => $v ) {
|
foreach ( $checked as $slug => $v ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user