Skip to content

Commit

Permalink
Also filter out VIP sites from the site selector
Browse files Browse the repository at this point in the history
  • Loading branch information
gwwar committed Jan 27, 2020
1 parent 707e440 commit 233fa8c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/my-sites/sites/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ class Sites extends Component {
return true;
}

// Supported on Simple and Atomic Sites
if ( /^\/home/.test( path ) ) {
return ! site.is_vip && ! ( site.jetpack && ! site.options.is_automated_transfer );
}

return site;
};

Expand Down

0 comments on commit 233fa8c

Please sign in to comment.