Skip to content

Commit aa9db81

Browse files
committed
Fix core auto updates plugin and theme check in older versions
1 parent 408cfd6 commit aa9db81

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugin/assets/src/settings/utils/promises.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ export const updateIcons = () => {
5959
} );
6060
};
6161

62-
export const isCoreUpdate = type =>
63-
[ UPDATERS.PLUGIN.type, UPDATERS.THEME.type ].includes( type );
62+
export const isCoreUpdate = type => [ 'PLUGIN', 'THEME' ].includes( type );
6463

6564
/**
6665
* Save API Key in database

0 commit comments

Comments
 (0)