Remove unused variable in wp_update_themes(). props duck_. fixes #20831.
git-svn-id: http://core.svn.wordpress.org/trunk@21089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
222425a917
commit
0511b153a3
|
@ -278,8 +278,6 @@ function wp_update_themes() {
|
|||
if ( $time_not_changed ) {
|
||||
$theme_changed = false;
|
||||
foreach ( $checked as $slug => $v ) {
|
||||
$update_request->checked[ $slug ] = $v;
|
||||
|
||||
if ( !isset( $last_update->checked[ $slug ] ) || strval($last_update->checked[ $slug ]) !== strval($v) )
|
||||
$theme_changed = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue