PluginProbe
Extendify / 3.2.1
Extendify v3.2.1
3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 All 127 releases
← All changes | src/Recommendations/components/RecommendationCard.jsx +2 -6 3.1.23.2.1 View file →
@@ -1,8 +1,5 @@
1 -import {
2 - getRecommendation,
3 - recordActivity,
4 -} from '@recommendations/utils/record-activity';
1 +import { recordActivity } from '@recommendations/utils/record-activity';
5 2 import { recordPluginActivity } from '@shared/api/DataApi';
6 3 import { activatePlugin, installPlugin } from '@shared/api/wp';
7 4 import { retryOperation, sleep } from '@shared/lib/utils';
8 5 import { Button } from '@wordpress/components';
@@ -154,11 +151,10 @@
154 151 setStatus('error');
155 152 return;
156 153 }
157 154
158 - const recommendation = getRecommendation({ product });
159 155 recordPluginActivity({
160 - slug: recommendation || product,
156 + slug: ctaPluginSlug,
161 157 source: 'search-recommendation-card',
162 158 });
163 159
164 160 try {