Remove a duplicate semicolon that snuck in. Props JustinSainton. See #18200
git-svn-id: https://develop.svn.wordpress.org/trunk@25822 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0edc7a4087
commit
d0bd68cf5f
|
@ -1623,7 +1623,7 @@ class WP_Automatic_Upgrader {
|
||||||
// Next up, do we actually have it enabled for this type of update?
|
// Next up, do we actually have it enabled for this type of update?
|
||||||
switch ( $type ) {
|
switch ( $type ) {
|
||||||
case 'language':
|
case 'language':
|
||||||
$upgrade = ! empty( $item->autoupdate );;
|
$upgrade = ! empty( $item->autoupdate );
|
||||||
break;
|
break;
|
||||||
case 'core':
|
case 'core':
|
||||||
$upgrade = Core_Upgrader::should_upgrade_to_version( $item->current );
|
$upgrade = Core_Upgrader::should_upgrade_to_version( $item->current );
|
||||||
|
|
Loading…
Reference in New Issue