Remove unused variable in wp_update_themes(). props duck_. fixes #20831.
git-svn-id: https://develop.svn.wordpress.org/trunk@21089 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
38bc915f96
commit
fc24fec6e0
@ -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…
x
Reference in New Issue
Block a user