diff --git a/client/state/themes/actions/request-themes.js b/client/state/themes/actions/request-themes.js index 9fe828763dc8f..c40c67abd174b 100644 --- a/client/state/themes/actions/request-themes.js +++ b/client/state/themes/actions/request-themes.js @@ -57,19 +57,11 @@ export function requestThemes( siteId, query = {}, locale ) { // https://github.com/Automattic/wp-calypso/issues/71911#issuecomment-1381284172 // User can be redirected to PatternAssembler flow using the PatternAssemblerCTA on theme-list include_blankcanvas_theme: null, - ...( query.search && !! query.search.length - ? { - // Include retired themes when searching. This is useful when a theme exists in both wpcom and wporg. - // The theme will show up in the theme listing as wporg, but it cannot be activated - // since it's a retired wpcom theme (take precedence). - // See: https://github.com/Automattic/wp-calypso/pull/78231 - retired: true, - // Include delisted themes when searching. This solves an issue where some themes - // are mistakenly displayed as 3rd-party themes requiring an upgrade. - // See: https://github.com/Automattic/wp-calypso/issues/94310#issuecomment-2370899172 - delisted: true, - } - : null ), + // Include retired themes when searching. This is useful when a theme exists in both wpcom and wporg. + // The theme will show up in the theme listing as wporg, but it cannot be activated + // since it's a retired wpcom theme (take precedence). + // See: https://github.com/Automattic/wp-calypso/pull/78231 + ...( query.search && !! query.search.length ? { retired: true } : null ), }, locale ? { locale } : null )