Skip to content

Commit

Permalink
Remove plugin update cards from settings and dashboard (#17003)
Browse files Browse the repository at this point in the history
  • Loading branch information
allilevine authored Sep 1, 2020
1 parent c95f9a0 commit cb462a7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 202 deletions.
2 changes: 0 additions & 2 deletions _inc/client/at-a-glance/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import DashMonitor from './monitor';
import DashScan from './scan';
import DashAkismet from './akismet';
import DashBackups from './backups';
import DashPluginUpdates from './plugins';
import DashPhoton from './photon';
import DashSearch from './search';
import DashConnections from './connections';
Expand Down Expand Up @@ -96,7 +95,6 @@ class AtAGlance extends Component {
);
}
securityCards.push( <DashAkismet { ...urls } /> );
securityCards.push( <DashPluginUpdates { ...settingsProps } { ...urls } /> );

if ( 'inactive' !== this.props.getModuleOverride( 'protect' ) ) {
securityCards.push( <DashProtect { ...settingsProps } /> );
Expand Down
124 changes: 0 additions & 124 deletions _inc/client/at-a-glance/plugins.jsx

This file was deleted.

4 changes: 0 additions & 4 deletions _inc/client/security/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@ import QuerySite from 'components/data/query-site';
import QueryAkismetKeyCheck from 'components/data/query-akismet-key-check';
import { getPlanClass } from 'lib/plans/constants';
import { getActiveSitePurchases, getSitePlan } from 'state/site';
import { isAtomicSite } from 'state/initial-state';
import BackupsScan from './backups-scan';
import Antispam from './antispam';
import { JetpackBackup } from './jetpack-backup';
import { ManagePlugins } from './manage-plugins';
import { Monitor } from './monitor';
import { Protect } from './protect';
import { SSO } from './sso';
Expand Down Expand Up @@ -129,7 +127,6 @@ export class Security extends Component {
<QueryAkismetKeyCheck />
</>
) }
{ ! this.props.isAtomicSite && ! isSearchTerm && <ManagePlugins { ...commonProps } /> }
{ foundProtect && <Protect { ...commonProps } /> }
{ foundSso && <SSO { ...commonProps } /> }
</div>
Expand All @@ -149,6 +146,5 @@ export default connect( state => {
isPluginActive: plugin_slug => isPluginActive( state, plugin_slug ),
isPluginInstalled: plugin_slug => isPluginInstalled( state, plugin_slug ),
vaultPressData: getVaultPressData( state ),
isAtomicSite: isAtomicSite( state ),
};
} )( Security );
72 changes: 0 additions & 72 deletions _inc/client/security/manage-plugins.jsx

This file was deleted.

0 comments on commit cb462a7

Please sign in to comment.