Skip to content

Commit

Permalink
fix: Limit v5 conversion to site with VideoPress
Browse files Browse the repository at this point in the history
  • Loading branch information
Siobhan committed Feb 19, 2024
1 parent 00401bf commit 2e02fe2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ public static boolean supportsVideoPressFeature(SiteModel site) {
}

public static boolean supportsVideoPressV5Feature(SiteModel site) {
return site != null && site.isWPCom() || site.isWPComAtomic();
return site != null && site.isWPCom() || (site.isWPComAtomic() && site.isVideoPressSupported());
}

public static boolean supportsEmbedVariationFeature(SiteModel site, String minimalJetpackVersion) {
Expand Down

0 comments on commit 2e02fe2

Please sign in to comment.